diff options
Diffstat (limited to 'helpers/lh_source_debian')
-rwxr-xr-x | helpers/lh_source_debian | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/helpers/lh_source_debian b/helpers/lh_source_debian index 4ec0a56..09ddd43 100755 --- a/helpers/lh_source_debian +++ b/helpers/lh_source_debian @@ -60,7 +60,20 @@ fi # Download sources Chroot "dpkg --get-selections" | awk '{ print $1 }' > chroot/root/dpkg-selection.txt echo "${LIVE_BOOTLOADER}" >> chroot/root/dpkg-selection.txt -#echo "live-helper" >> 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 + amd64|i386) + echo -e "${LIVE_MEMTEST}\nmtools\nsyslinux\ngrub" >> chroot/root/dpkg-selection.txt + ;; + + powerpc) + echo -e "yaboot" >> chroot/root/dpkg-selection.txt + ;; +esac + Chroot "xargs --arg-file=/root/dpkg-selection.txt apt-get source --download-only" rm -f chroot/root/dpkg-selection.txt |