summaryrefslogtreecommitdiff
path: root/helpers/lh_source_debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:16 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:26 +0100
commitc68c0a270832ca340429878ce6a0ab606d435b06 (patch)
tree8f9a4286b138ca2768a724594ad4219bf30f6167 /helpers/lh_source_debian
parentf314791fa2fa3e6a557ca50ecb4a0cf7798fee79 (diff)
downloadvyos-live-build-c68c0a270832ca340429878ce6a0ab606d435b06.tar.gz
vyos-live-build-c68c0a270832ca340429878ce6a0ab606d435b06.zip
Adding live-helper 1.0~a21-1.
Diffstat (limited to 'helpers/lh_source_debian')
-rwxr-xr-xhelpers/lh_source_debian15
1 files changed, 14 insertions, 1 deletions
diff --git a/helpers/lh_source_debian b/helpers/lh_source_debian
index 4ec0a56bc..09ddd43d4 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