diff options
author | Travis Willard <travis@archlinux.org> | 2008-04-14 11:19:33 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-04-14 11:19:33 -0500 |
commit | f71a0fabb7770eb4319b33704f71b729142ed1fc (patch) | |
tree | e10815612d0b644fe637019286b35464ab4e4b94 | |
parent | 718a6d802dc2e5d7efdd27ece709622f76d2e926 (diff) |
Copy ChangeLog into chroot too.
Signed-off-by: Travis Willard <travis@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-x | makechrootpkg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/makechrootpkg b/makechrootpkg index 1bd6caf..89ef5ba 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -168,6 +168,10 @@ if [ "$install" != "" -a -f "$install" ]; then cp "$install" "$uniondir/build/" fi +if [ -f "ChangeLog" ]; then + cp ChangeLog "$uniondir/build/" +fi + if ! grep "^nobody" "$uniondir/etc/sudoers" >/dev/null 2>&1; then echo "allowing 'nobody' sudo rights in the chroot" touch "$uniondir/etc/sudoers" |