[Debian-live-changes] r2099 - dists/trunk/live-helper/helpers
daniel at alioth.debian.org
daniel at alioth.debian.org
Fri Jun 15 10:53:47 UTC 2007
Author: daniel
Date: 2007-06-15 10:53:47 +0000 (Fri, 15 Jun 2007)
New Revision: 2099
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-06-15 10:48:36 UTC (rev 2098)
+++ dists/trunk/live-helper/helpers/lh_binary_debian-installer 2007-06-15 10:53:47 UTC (rev 2099)
@@ -140,7 +140,22 @@
mkdir -p chroot/binary.deb/archives/partial
mv chroot/var/lib/dpkg/status chroot/var/lib/dpkg/status.tmp
touch chroot/var/lib/dpkg/status
-Chroot "apt-get -o Dir::Cache=/binary.deb --download-only install --yes linux-image-2.6-486 linux-image-2.6-686 lilo grub"
+
+case "${LIVE_ARCHITECTURE}" in
+ amd64)
+ DI_PACKAGES="linux-image-2.6-amd64 lilo grub"
+ ;;
+
+ i386)
+ DI_PACKAGES="linux-image-2.6-486 linux-image-2.6-686 lilo grub"
+ ;;
+
+ powerpc)
+ DI_PACKAGES="linux-image-2.6-powerpc linux-image-2.6-powerpc64 linux-image-2.6-powerpc-smp linux-image-2.6-prep" # FIXME
+ ;;
+esac
+
+Chroot "apt-get -o Dir::Cache=/binary.deb --download-only install --yes ${DI_PACKAGES}"
mv chroot/binary.deb ./
mv chroot/var/lib/dpkg/status.tmp chroot/var/lib/dpkg/status
More information about the Debian-live-changes
mailing list