summaryrefslogtreecommitdiffstats
path: root/makechrootpkg
diff options
context:
space:
mode:
Diffstat (limited to 'makechrootpkg')
-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"