summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_manifest
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-10-28 16:44:06 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:43 +0100
commit1c1e7db6c44d639fd51ee23061087c7d14b6ef6b (patch)
treee20b0cfa3a45140a39be0cadf45410eab5cc22e7 /helpers/lh_binary_manifest
parent6696b019fe03a371d69c50a1ef82223e4bb364a7 (diff)
downloadvyos-live-build-1c1e7db6c44d639fd51ee23061087c7d14b6ef6b.tar.gz
vyos-live-build-1c1e7db6c44d639fd51ee23061087c7d14b6ef6b.zip
Generalizing internal Chroot(); by requiring its first argument to be the chroot directory.
Diffstat (limited to 'helpers/lh_binary_manifest')
-rwxr-xr-xhelpers/lh_binary_manifest4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_binary_manifest b/helpers/lh_binary_manifest
index 7b6481ea1..b403dc508 100755
--- a/helpers/lh_binary_manifest
+++ b/helpers/lh_binary_manifest
@@ -45,7 +45,7 @@ Create_lockfile .lock
if [ "${LH_INITRAMFS}" = "casper" ]
then
# Add filesystem.manifest
- Chroot "dpkg --get-selections" | awk '{ print $1 }' | sort -u > binary/casper/filesystem.manifest
+ Chroot chroot "dpkg --get-selections" | awk '{ print $1 }' | sort -u > binary/casper/filesystem.manifest
fi
# Add packages.list
@@ -55,7 +55,7 @@ This file contains the list of all packages installed in this live system.
EOF
-Chroot "dpkg -l" >> binary/packages.txt
+Chroot chroot "dpkg -l" >> binary/packages.txt
cp binary/packages.txt binary.packages