diff options
author | Daniel Baumann <daniel@debian.org> | 2010-05-21 07:27:44 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:10 +0100 |
commit | 1f701d41775cbdb0378a595683f77202766ed9bd (patch) | |
tree | 5192212f4b0cb26a3a1b857cc4084ea586a1a840 | |
parent | 5e8fa3000ff844856664a8957a8e5b2e07c8d497 (diff) | |
download | live-build-1f701d41775cbdb0378a595683f77202766ed9bd.zip live-build-1f701d41775cbdb0378a595683f77202766ed9bd.tar.gz |
Renaming manifest files to packages on debian.
-rwxr-xr-x | helpers/binary_manifest | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/helpers/binary_manifest b/helpers/binary_manifest index 4ec95eb..2777ada 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 |