[SCM] live-build branch, debian-old-2.0, updated. debian/2.0.5-1-7-g59a846f

Daniel Baumann daniel at debian.org
Sat Nov 13 15:00:52 UTC 2010


The following commit has been merged in the debian-old-2.0 branch:
commit 59a846fe0a1019473f5dd9af46f9618e653e83c4
Author: Daniel Baumann <daniel at debian.org>
Date:   Sat Nov 13 15:45:36 2010 +0100

    Making d-i indices copying depending on binary image type.

diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer
index e257b4b..6ed331b 100755
--- a/scripts/build/lb_binary_debian-installer
+++ b/scripts/build/lb_binary_debian-installer
@@ -626,18 +626,29 @@ EOF
 	rm -f chroot/binary.sh
 	mv chroot/root/binary ./
 
-	case "${LB_BINARY_FILESYSTEM}" in
-		fat*)
-			# Creating dist directories
-			for DISTRIBUTION in frozen stable testing unstable ${LB_DISTRIBUTION}
-			do
-				cp -a ${LB_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
-			done
+	DISTRIBUTIONS="frozen stable testing unstable"
+
+	if [ "${LB_DEBIAN_INSTALLER_DISTRIBUTION}" != "${LB_DISTRIBUTION}" ]
+	then
+		DISTRIBUTIONS="${DISTRIBUTIONS} ${LB_DISTRIBUTION}"
+	fi
+
+	case "${LB_BINARY_IMAGES}" in
+		usb-hdd)
+			case "${LB_BINARY_FILESYSTEM}" in
+				fat*)
+					# Creating dist directories
+					for DISTRIBUTION in ${DISTRIBUTIONS}
+					do
+						cp -a binary/dists/${LB_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
+					done
+					;;
+			esac
 			;;
 
 		*)
 			# Creating dist symlinks
-			for DISTRIBUTION in frozen stable testing unstable ${LB_DISTRIBUTION}
+			for DISTRIBUTION in ${DISTRIBUTIONS}
 			do
 				ln -s ${LB_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
 			done

-- 
live-build



More information about the debian-live-changes mailing list