Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-04-02 16:53:47 -0500
committerAaron Griffin <aaronmgriffin@gmail.com>2008-04-14 11:18:09 -0500
commit718a6d802dc2e5d7efdd27ece709622f76d2e926 (patch)
tree617f7b764f04bb3a361e393633a1d9c04e4928c9
parentbd6a5df0ab7f8756c7b379d37cceb1a17efb361d (diff)
Temporary workaround for unionfs issues
The latest incarnations of unionfs have issues appending text via shell redirection, so to work around it, we can touch the file before-hand to move it to the RW portion of the union. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xmakechrootpkg1
1 files changed, 1 insertions, 0 deletions
diff --git a/makechrootpkg b/makechrootpkg
index 58983e3..1bd6caf 100755
--- a/makechrootpkg
+++ b/makechrootpkg
@@ -170,6 +170,7 @@ fi
if ! grep "^nobody" "$uniondir/etc/sudoers" >/dev/null 2>&1; then
echo "allowing 'nobody' sudo rights in the chroot"
+ touch "$uniondir/etc/sudoers"
echo "nobody ALL=(ALL) NOPASSWD: ALL" >> "$uniondir/etc/sudoers"
chmod 440 "$uniondir/etc/sudoers"
fi