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

[PATCH] Fix title for Ubuntu in binary/.disk/info



Hello,

 Please accept this patch which updates the binary_disk-info helper to correctly set the title field for Ubuntu in the binary/.disk/info file.

 This patch is required for the correct functioning of casper as casper contains scripts that expect a certain format for this file (ex. casper-bottom/10-adduser).

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 'helpers/binary_disk'
--- helpers/binary_disk	2010-03-04 12:43:09 +0000
+++ helpers/binary_disk	2010-05-20 02:55:57 +0000
@@ -52,25 +52,27 @@
 DISTRIBUTION="${DISTRIBUTION}$(echo ${LH_DISTRIBUTION} | cut -b 2-)"
 eval VERSION="$`echo RELEASE_${LH_DISTRIBUTION}`"
 
-TITLE="Debian GNU/Linux"
 case "${LH_MODE}" in
 	debian)
+		TITLE="Debian GNU/Linux"
 		STRING="Official Snapshot ${ARCHITECTURE}"
 		TRACE="project/trace/ftp-master.debian.org"
 		;;
 
 	debian-release)
+		TITLE="Debian GNU/Linux"
 		STRING="Official ${ARCHITECTURE}"
 		TRACE="project/trace/ftp-master.debian.org"
 		;;
 
 	ubuntu)
-		TITLE="Ubuntu GNU/Linux"
+		TITLE="Ubuntu"
 		STRING="Build ${ARCHITECTURE}"
 		TRACE=""
 		;;
 
 	*)
+		TITLE="Debian GNU/Linux"
 		STRING="Snapshot ${ARCHITECTURE}"
 		TRACE=""
 		;;


Reply to: