diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:52 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:18:29 +0100 |
commit | bd1a5ddc8203907eb40135303bea5488397ec5d0 (patch) | |
tree | e1cdc0adec3e4799f5db5ad1a8b34800e28a9439 /helpers/lh_binary_manifest | |
parent | 8a4a50fdb6b206fbff62fd3043ed388f25a0ffb1 (diff) | |
download | vyos-live-build-bd1a5ddc8203907eb40135303bea5488397ec5d0.tar.gz vyos-live-build-bd1a5ddc8203907eb40135303bea5488397ec5d0.zip |
Adding live-helper 1.0~a8-1.
Diffstat (limited to 'helpers/lh_binary_manifest')
-rwxr-xr-x | helpers/lh_binary_manifest | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/helpers/lh_binary_manifest b/helpers/lh_binary_manifest index f8c389909..87883c32f 100755 --- a/helpers/lh_binary_manifest +++ b/helpers/lh_binary_manifest @@ -25,10 +25,11 @@ Arguments "${@}" Echo_debug "Init ${PROGRAM}" # Reading configuration files +Read_conffile config/common Read_conffile config/bootstrap Read_conffile config/chroot -Read_conffile config/common -Read_conffile config/image +Read_conffile config/binary +Read_conffile config/source Set_defaults Breakpoint "binary_manifest: Init" @@ -45,8 +46,18 @@ Check_lockfile .lock # Creating lock file Create_lockfile .lock +case "${LH_INITRAMFS}" in + casper) + INITFS="casper" + ;; + + live-initramfs) + INITFS="live" + ;; +esac + # 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/${INITFS}/filesystem.manifest # Add packages.list Chroot "dpkg -l" > packages.txt |