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:
parent
718a6d802d
commit
f71a0fabb7
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue