[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] Fix for Ubuntu netboot image builds with d-i enabled



Hello,

Please accept this patch to fix an issue with the formation of the URL used fetch d-i files for Ubuntu netboot build.

Cheers,

--
Cody A.W. Somerville
Software Systems Release Engineer
Foundations Team
Custom Engineering Solutions Group
Canonical OEM Services
Phone: +1-781-850-2087
Cell: +1-506-471-8402
Email: cody.somerville@canonical.com
diff -Nru live-helper-1.0.5/helpers/lh_binary_debian-installer live-helper-1.0.5/helpers/lh_binary_debian-installer
--- live-helper-1.0.5/helpers/lh_binary_debian-installer	2009-09-07 13:51:58.000000000 -0300
+++ live-helper-1.0.5/helpers/lh_binary_debian-installer	2009-09-09 14:32:51.000000000 -0300
@@ -80,7 +80,15 @@
 # Setting destination directory
 case "${LH_BINARY_IMAGES}" in
 	net)
-		DESTDIR="tftpboot/debian-install/${LH_ARCHITECTURE}"
+		case "${LH_MODE}" in
+			ubuntu)
+				DESTDIR="tftpboot/ubuntu-install/${LH_ARCHITECTURE}"
+				;;
+		
+			*)
+				DESTDIR="tftpboot/debian-install/${LH_ARCHITECTURE}"
+				;;
+		esac
 		;;
 
 	tar|usb-hdd)

Reply to: