Copy ChangeLog into chroot too.

Signed-off-by: Travis Willard <travis@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
Travis Willard 2008-04-14 11:19:33 -05:00 committed by Aaron Griffin
parent 718a6d802d
commit f71a0fabb7
1 changed files with 4 additions and 0 deletions

View File

@ -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"