[SCM] debian-live branch, master, updated. 1.0_a47-1-19-g2505291
Chris Lamb
chris at chris-lamb.co.uk
Sat Jun 14 16:42:41 UTC 2008
The following commit has been merged in the master branch:
commit 7918534bc5d2cfa4916830d5b8f69987a43838af
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date: Sat Jun 14 16:41:58 2008 +0100
Rename USE_NETBOOT_DI to DI_IMAGE_TYPE
Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index e5d0bc1..4c4c2b8 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -95,27 +95,27 @@ esac
# Setting remote d-i directories
case "${LH_BINARY_IMAGES}" in
net)
- USE_NETBOOT_DI="yes"
+ DI_IMAGE_TYPE="netboot"
;;
*)
case "${LH_DEBIAN_INSTALLER}" in
businesscard|netboot)
- USE_NETBOOT_DI="yes"
+ DI_IMAGE_TYPE="netboot"
;;
*)
- USE_NETBOOT_DI="no"
+ DI_IMAGE_TYPE="cdrom"
;;
esac
;;
esac
-case "${USE_NETBOOT_DI}" in
- yes)
+case "${DI_IMAGE_TYPE}" in
+ netboot)
DI_REMOTE_BASE="netboot/debian-installer/${LH_ARCHITECTURE}"
DI_REMOTE_BASE_GTK="netboot/gtk/debian-installer/${LH_ARCHITECTURE}"
DI_REMOTE_KERNEL="linux"
;;
- no)
+ cdrom)
DI_REMOTE_BASE="cdrom"
DI_REMOTE_BASE_GTK="cdrom/gtk"
DI_REMOTE_KERNEL="vmlinuz"
@@ -253,7 +253,7 @@ then
fi
# Only download additional packages if appropriate
-if [ "${USE_NETBOOT_DI}" = "no" ]
+if [ "${DI_IMAGE_TYPE}" != "netboot" ]
then
# Downloading additional packages
mkdir -p chroot/binary.deb/archives/partial
@@ -482,7 +482,7 @@ Repack_initrd()
}
# Preseed d-i by repacking the initrd in certain situations
-if [ "${USE_NETBOOT_DI}" = "yes" ] && [ -e config/binary_debian-installer/preseed.cfg ]
+if [ "${DI_IMAGE_TYPE}" = "netboot" ] && [ -e config/binary_debian-installer/preseed.cfg ]
then
Repack_initrd "${DESTDIR}"/"${INITRD_DI}"
--
debian-live
More information about the debian-live-changes
mailing list