[SCM] live-build branch, debian-next, updated. debian/3.0_a54-1-15-g5ecdcd1

Daniel Baumann daniel at debian.org
Sat Jul 28 19:56:14 UTC 2012


The following commit has been merged in the debian-next branch:
commit 5ecdcd11eba7556ac29baa609042b2c6bcd0f380
Author: Daniel Baumann <daniel at debian.org>
Date:   Sat Jul 28 21:57:03 2012 +0200

    Adding support for #exec statements in package lists.

diff --git a/functions/packagelists.sh b/functions/packagelists.sh
index 0e2d5ff..cf33cb0 100755
--- a/functions/packagelists.sh
+++ b/functions/packagelists.sh
@@ -40,6 +40,12 @@ Expand_packagelist ()
 		while read _LB_LINE
 		do
 			case "${_LB_LINE}" in
+				\#exec\ *)
+					_EXEC="$(echo ${_LB_LINE} | sed -e 's|^#exec ||')"
+
+					chroot chroot ${_EXEC}
+					;;
+
 				\#if\ *)
 					if [ ${_LB_NESTED} -eq 1 ]
 					then

-- 
live-build



More information about the debian-live-changes mailing list