From 718a6d802dc2e5d7efdd27ece709622f76d2e926 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 2 Apr 2008 16:53:47 -0500 Subject: 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 --- makechrootpkg | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-70-g09d2