summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-21 07:27:44 +0200
committerDaniel Baumann <daniel@debian.org>2010-05-30 09:41:53 +0200
commit00952ca545cf670d00c149ac9ac0ea72d277a853 (patch)
tree5192212f4b0cb26a3a1b857cc4084ea586a1a840 /helpers
parent7a18eec60a547a60dbefce74410a38d91649c2d4 (diff)
downloadvyos-live-build-00952ca545cf670d00c149ac9ac0ea72d277a853.tar.gz
vyos-live-build-00952ca545cf670d00c149ac9ac0ea72d277a853.zip
Renaming manifest files to packages on debian.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/binary_manifest11
1 files changed, 7 insertions, 4 deletions
diff --git a/helpers/binary_manifest b/helpers/binary_manifest
index 4ec95eba0..2777adaf1 100755
--- a/helpers/binary_manifest
+++ b/helpers/binary_manifest
@@ -45,17 +45,20 @@ Create_lockfile .lock
case "${LH_INITRAMFS}" in
casper)
INITFS="casper"
+ SUFFIX="manifest"
;;
live-initramfs)
INITFS="live"
+ SUFFIX="packages"
;;
esac
-# Add filesystem.manifest
-Chroot chroot "dpkg-query -W" > binary/"${INITFS}"/filesystem.manifest
-# Copy filesystem.manifest in image to binary.manifest as build output.
-cp binary/"${INITFS}"/filesystem.manifest binary.manifest
+# Add filesystem.packages
+Chroot chroot "dpkg-query -W" > binary/"${INITFS}"/filesystem.${SUFFIX}
+
+# Copy manifest as build output.
+cp binary/"${INITFS}"/filesystem.${SUFFIX} binary.${SUFFIX}
# Creating stage file
Create_stagefile .stage/binary_manifest