[Debian-live-changes] r1188 - dists/trunk/live-helper/helpers

Daniel Baumann daniel at alioth.debian.org
Thu Apr 26 12:57:16 UTC 2007


Author: daniel
Date: 2007-04-26 12:57:16 +0000 (Thu, 26 Apr 2007)
New Revision: 1188

Modified:
   dists/trunk/live-helper/helpers/lh_binary_debian-installer
Log:


Modified: dists/trunk/live-helper/helpers/lh_binary_debian-installer
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_debian-installer	2007-04-26 12:31:53 UTC (rev 1187)
+++ dists/trunk/live-helper/helpers/lh_binary_debian-installer	2007-04-26 12:57:16 UTC (rev 1188)
@@ -108,5 +108,22 @@
 	wget --no-clobber -O "${DESTDIR}"/gtk/initrd.gz "${LIVE_MIRROR_BUILD}"/dists/"${LIVE_DISTRIBUTION}"/main/installer-"${LIVE_ARCHITECTURE}"/current/images/"${DESTDIR_INSTALLER}"/gtk/initrd.gz
 fi
 
+# Downloading udebs
+wget "${LIVE_MIRROR_BUILD}"/dists/"${LIVE_DISTRIBUTION}"/main/debian-installer/binary-"${LIVE_ARCHITECTURE}"/Packages.gz
+gunzip Packages
+
+DEBS="`awk '/Filename: / { print $2 }' Packages`"
+UDEBS="`echo ${DEBS} | grep '.*.udeb'`"
+
+cd binary
+
+for UDEB in ${UDEBS}
+do
+	mkdir -p `dirname ${UDEB}`
+	cd `dirname ${UDEB}`
+	wget "${LIVE_MIRROR_BUILD}"/${UDEB}
+	cd -
+done
+
 # Creating stage file
 Create_stagefile .stage/binary_debian-installer




More information about the Debian-live-changes mailing list