diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:17 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:26 +0100 |
commit | 0d0de885e32ff67d57bb7def451b62d75b8920ab (patch) | |
tree | cd4a159a86207401dbd5990bc0fa3c28825ab6f8 /helpers/lh_source_debian | |
parent | c68c0a270832ca340429878ce6a0ab606d435b06 (diff) | |
download | live-build-0d0de885e32ff67d57bb7def451b62d75b8920ab.zip live-build-0d0de885e32ff67d57bb7def451b62d75b8920ab.tar.gz |
Adding live-helper 1.0~a22-1.
Diffstat (limited to 'helpers/lh_source_debian')
-rwxr-xr-x | helpers/lh_source_debian | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/helpers/lh_source_debian b/helpers/lh_source_debian index 09ddd43..b15f093 100755 --- a/helpers/lh_source_debian +++ b/helpers/lh_source_debian @@ -32,7 +32,7 @@ Read_conffile config/binary Read_conffile config/source Set_defaults -if [ "${LIVE_SOURCE}" != "enabled" ] +if [ "${LH_SOURCE}" != "enabled" ] then exit 0 fi @@ -59,18 +59,32 @@ fi # Download sources Chroot "dpkg --get-selections" | awk '{ print $1 }' > chroot/root/dpkg-selection.txt -echo "${LIVE_BOOTLOADER}" >> chroot/root/dpkg-selection.txt -echo -e "live-helper\n${LH_INITRAMFS}" >> chroot/root/dpkg-selection.txt -echo -e "dosfstools\n${LH_GENISOIMAGE}\nparted\nsquashfs-tools\ngenext2fs" >> chroot/root/dpkg-selection.txt - -case "${LIVE_ARCHITECTURE}" in +cat >> chroot/root/dpkg-selection.txt << EOF +${LH_BOOTLOADER} +live-helper +${LH_INITRAMFS} +dosfstools +${LH_GENISOIMAGE} +parted +squashfs-tools +genext2fs +EOF + +case "${LH_ARCHITECTURE}" in amd64|i386) - echo -e "${LIVE_MEMTEST}\nmtools\nsyslinux\ngrub" >> chroot/root/dpkg-selection.txt + +cat >> chroot/root/dpkg-selection.txt << EOF +${LH_MEMTEST} +mtools +syslinux +grub +EOF + ;; powerpc) - echo -e "yaboot" >> chroot/root/dpkg-selection.txt + echo "yaboot" >> chroot/root/dpkg-selection.txt ;; esac |