summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_manifest
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:13 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:05:13 +0200
commitae5c245c5d0b910b9fde27f99668c46f64f9bcc2 (patch)
tree3bc1bcdbff4ec3bd5a82ae34d9efed47b157e3e0 /helpers/lh_binary_manifest
parentb88a20b5ddd2c64c9b1f072905dce8eb9e09fc0d (diff)
downloadvyos-live-build-ae5c245c5d0b910b9fde27f99668c46f64f9bcc2.tar.gz
vyos-live-build-ae5c245c5d0b910b9fde27f99668c46f64f9bcc2.zip
Adding live-helper 1.0~a17-1.
Diffstat (limited to 'helpers/lh_binary_manifest')
-rwxr-xr-xhelpers/lh_binary_manifest19
1 files changed, 11 insertions, 8 deletions
diff --git a/helpers/lh_binary_manifest b/helpers/lh_binary_manifest
index 0ff6fa60c..779d2ed3f 100755
--- a/helpers/lh_binary_manifest
+++ b/helpers/lh_binary_manifest
@@ -48,19 +48,22 @@ Create_lockfile .lock
case "${LH_INITRAMFS}" in
casper)
- INITFS="casper"
+ # Add filesystem.manifest
+ Chroot "dpkg --get-selections" | awk '{ print $1 }' | sort -u > binary/casper/filesystem.manifest
;;
live-initramfs)
- INITFS="live"
- ;;
-esac
+ # Add packages.list
+
+cat > binary/packages.txt << EOF
+This file contains the list of all packages installed in this live system.
-# Add filesystem.manifest
-Chroot "dpkg --get-selections" | awk '{ print $1 }' | sort -u > binary/${INITFS}/filesystem.manifest
-# Add packages.list
-Chroot "dpkg -l" > binary/packages.txt
+EOF
+
+ Chroot "dpkg -l" >> binary/packages.txt
+ ;;
+esac
# Creating stage file
Create_stagefile .stage/binary_manifest