From f71a0fabb7770eb4319b33704f71b729142ed1fc Mon Sep 17 00:00:00 2001 From: Travis Willard Date: Mon, 14 Apr 2008 11:19:33 -0500 Subject: Copy ChangeLog into chroot too. Signed-off-by: Travis Willard Signed-off-by: Aaron Griffin --- makechrootpkg | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'makechrootpkg') 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" -- cgit v1.2.3-24-g4f1b