diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-04-02 23:53:47 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-04-14 18:18:09 +0200 |
commit | 718a6d802dc2e5d7efdd27ece709622f76d2e926 (patch) | |
tree | 617f7b764f04bb3a361e393633a1d9c04e4928c9 /makechrootpkg | |
parent | bd6a5df0ab7f8756c7b379d37cceb1a17efb361d (diff) | |
download | devtools-718a6d802dc2e5d7efdd27ece709622f76d2e926.tar.gz devtools-718a6d802dc2e5d7efdd27ece709622f76d2e926.tar.xz |
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>
Diffstat (limited to 'makechrootpkg')
-rwxr-xr-x | makechrootpkg | 1 |
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 |