[SCM] live-build branch, debian-next, updated. debian/3.0_a46-1-19-g678f2c1

Daniel Baumann daniel at debian.org
Thu Apr 26 21:37:58 UTC 2012


The following commit has been merged in the debian-next branch:
commit 678f2c1cfb9ab3aba67c35a152dc47decfd7ecd6
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Apr 26 23:37:56 2012 +0200

    Adding symlinks in /firmware for debian-installer on live media.

diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer
index 13ed574..904f1c6 100755
--- a/scripts/build/lb_binary_debian-installer
+++ b/scripts/build/lb_binary_debian-installer
@@ -509,6 +509,23 @@ then
 		done
 	fi
 
+	# Symlink firmware packages to /firmware
+	if [ -n "${DI_FIRMWARE_PACKAGES}" ]
+	then
+		mkdir -p binary/firmware
+		cd binary/firmware
+
+		for _PACKAGE in ${DI_FIRMWARE_PACKAGES}
+		do
+			for _FILE in $(find ../pool -name "${_PACKAGE}_*.deb")
+			do
+				ln -s ${_FILE} ./
+			done
+		done
+
+		cd "${OLDPWD}"
+	fi
+
 	if [ "${LB_DEBIAN_INSTALLER}" != "live" ]
 	then
 		# Including base debian packages

-- 
live-build



More information about the debian-live-changes mailing list