Also adding a packages.txt when building etch images, although there is a casper/filesystem.manifest already.

This commit is contained in:
Daniel Baumann 2008-04-11 18:18:04 +02:00
parent 49d27a086d
commit 9d4ea53717
1 changed files with 7 additions and 11 deletions

View File

@ -42,24 +42,20 @@ Check_lockfile .lock
# Creating lock file # Creating lock file
Create_lockfile .lock Create_lockfile .lock
case "${LH_INITRAMFS}" in if [ "${LH_INITRAMFS}" = "casper" ]
casper) then
# Add filesystem.manifest # Add filesystem.manifest
Chroot "dpkg --get-selections" | awk '{ print $1 }' | sort -u > binary/casper/filesystem.manifest Chroot "dpkg --get-selections" | awk '{ print $1 }' | sort -u > binary/casper/filesystem.manifest
;; fi
live-initramfs)
# Add packages.list
# Add packages.list
cat > binary/packages.txt << EOF cat > binary/packages.txt << EOF
This file contains the list of all packages installed in this live system. This file contains the list of all packages installed in this live system.
EOF EOF
Chroot "dpkg -l" >> binary/packages.txt Chroot "dpkg -l" >> binary/packages.txt
;;
esac
# Creating stage file # Creating stage file
Create_stagefile .stage/binary_manifest Create_stagefile .stage/binary_manifest