Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Willard <travis@archlinux.org>2008-04-14 11:19:33 -0500
committerAaron Griffin <aaronmgriffin@gmail.com>2008-04-14 11:19:33 -0500
commitf71a0fabb7770eb4319b33704f71b729142ed1fc (patch)
treee10815612d0b644fe637019286b35464ab4e4b94
parent718a6d802dc2e5d7efdd27ece709622f76d2e926 (diff)
Copy ChangeLog into chroot too.
Signed-off-by: Travis Willard <travis@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xmakechrootpkg4
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"