From 0d0de885e32ff67d57bb7def451b62d75b8920ab Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:05:17 +0200 Subject: Adding live-helper 1.0~a22-1. --- helpers/lh_source_debian | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'helpers/lh_source_debian') diff --git a/helpers/lh_source_debian b/helpers/lh_source_debian index 09ddd43d4..b15f0938b 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 -- cgit v1.2.3