Renaming manifest files to packages on debian.

This commit is contained in:
Daniel Baumann 2010-05-21 07:27:44 +02:00
parent 7a18eec60a
commit 00952ca545
1 changed files with 7 additions and 4 deletions

View File

@ -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