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

[PATCH] Fix path to remote debian-installer images for armel architecture



Hello,

 Please accept this patch which updates lb_binary_debian-installer to generate the correct paths to the remote debian-installer images for the armel architecture using the default (ie. first) kernel flavour specified.

Cheers,

--
Cody A.W. Somerville
Release Engineer
Foundations Team
Custom Engineering Solutions Group
Canonical OEM Services
Phone: +1 781 850 2087
Cell: +1 613 401 5141
Fax: +1 613 687 7368
Email: cody.somerville@canonical.com
=== modified file 'scripts/build/lb_binary_debian-installer'
--- scripts/build/lb_binary_debian-installer	2011-05-12 10:19:12 +0000
+++ scripts/build/lb_binary_debian-installer	2011-07-21 15:36:52 +0000
@@ -113,6 +113,22 @@
 
 # Set architecture-specific variables
 case "${LB_ARCHITECTURES}" in
+	armel)
+		DEFAULT_FLAVOUR="$(echo ${LH_LINUX_FLAVOURS} | awk '{ print $1 }')"
+		case "${DI_IMAGE_TYPE}" in
+			cdrom)
+				DI_REMOTE_BASE="${DEFAULT_FLAVOUR}/cdrom"
+				;;
+
+			netboot)
+				DI_REMOTE_BASE="${DEFAULT_FLAVOUR}/netboot"
+				;;
+		esac
+
+		DI_REMOTE_KERNEL="vmlinuz"
+		DI_REMOTE_BASE_GTK="${DI_REMOTE_BASE}/gtk"
+		;;
+
 	powerpc)
 		case "${DI_IMAGE_TYPE}" in
 			cdrom)


Reply to: