[SCM] live-build branch, debian-next, updated. debian/3.0_a57-1-6-g53f74c5

Daniel Baumann daniel at debian.org
Tue Aug 14 17:45:54 UTC 2012


The following commit has been merged in the debian-next branch:
commit 53f74c50f1e5855ab0bfd60a334e923afb8f838a
Author: Daniel Baumann <daniel at debian.org>
Date:   Tue Aug 14 19:45:47 2012 +0200

    Switching back to use the more common  instead of , it's not required in current lb_clean anymore.

diff --git a/bin/lb b/bin/lb
index 8ee1007..2445faa 100755
--- a/bin/lb
+++ b/bin/lb
@@ -67,7 +67,7 @@ case "${1}" in
 			exit 1
 		fi
 
-		Echo "[%s] %s" "$(date +'%F %T')" "${COMMAND} ${*}"
+		Echo "[%s] %s" "$(date +'%F %T')" "${COMMAND} ${@}"
 		LB=1 ${ENV} exec "${SCRIPT}" "${@}"
 		;;
 esac
diff --git a/scripts/build/lb_binary b/scripts/build/lb_binary
index 4a110e5..e0e3e47 100755
--- a/scripts/build/lb_binary
+++ b/scripts/build/lb_binary
@@ -35,76 +35,76 @@ Set_defaults
 Setup_cleanup
 
 # Preparing root filesystem
-lb binary_chroot ${*}
+lb binary_chroot ${@}
 
 if [ "${LB_BUILD_WITH_CHROOT}" = "true" ]
 then
 	# Configuring chroot
-	lb chroot_devpts install ${*}
-	lb chroot_proc install ${*}
-	lb chroot_selinuxfs install ${*}
-	lb chroot_sysfs install ${*}
-	lb chroot_hosts install ${*}
-	lb chroot_resolv install ${*}
-	lb chroot_hostname install ${*}
-	lb chroot_sysv-rc install ${*}
-	lb chroot_upstart install ${*}
-	lb chroot_apt install-binary ${*}
-	lb chroot_archives chroot install ${*}
+	lb chroot_devpts install ${@}
+	lb chroot_proc install ${@}
+	lb chroot_selinuxfs install ${@}
+	lb chroot_sysfs install ${@}
+	lb chroot_hosts install ${@}
+	lb chroot_resolv install ${@}
+	lb chroot_hostname install ${@}
+	lb chroot_sysv-rc install ${@}
+	lb chroot_upstart install ${@}
+	lb chroot_apt install-binary ${@}
+	lb chroot_archives chroot install ${@}
 fi
 
 # Building root filesystem
-lb binary_rootfs ${*}
-lb binary_manifest ${*}
+lb binary_rootfs ${@}
+lb binary_manifest ${@}
 
 # Prepare images
-lb binary_package-lists ${*}
-lb binary_linux-image ${*}
-lb binary_debian-installer ${*}
-lb binary_memtest ${*}
-lb binary_grub ${*}
-lb binary_grub2 ${*}
-lb binary_syslinux ${*}
-lb binary_yaboot ${*}
-lb binary_silo ${*}
-lb binary_disk ${*}
-lb binary_win32-loader ${*}
-lb binary_includes ${*}
-lb binary_hooks ${*}
-lb binary_checksums ${*}
+lb binary_package-lists ${@}
+lb binary_linux-image ${@}
+lb binary_debian-installer ${@}
+lb binary_memtest ${@}
+lb binary_grub ${@}
+lb binary_grub2 ${@}
+lb binary_syslinux ${@}
+lb binary_yaboot ${@}
+lb binary_silo ${@}
+lb binary_disk ${@}
+lb binary_win32-loader ${@}
+lb binary_includes ${@}
+lb binary_hooks ${@}
+lb binary_checksums ${@}
 
 if [ "${LB_BUILD_WITH_CHROOT}" != "true" ]
 then
-	lb chroot_devpts install ${*}
-	lb chroot_proc install ${*}
-	lb chroot_selinuxfs install ${*}
-	lb chroot_sysfs install ${*}
+	lb chroot_devpts install ${@}
+	lb chroot_proc install ${@}
+	lb chroot_selinuxfs install ${@}
+	lb chroot_sysfs install ${@}
 fi
 
 # Building images
-lb binary_iso ${*}
-lb binary_netboot ${*}
-lb binary_tar ${*}
-lb binary_hdd ${*}
-lb binary_virtual-hdd ${*}
+lb binary_iso ${@}
+lb binary_netboot ${@}
+lb binary_tar ${@}
+lb binary_hdd ${@}
+lb binary_virtual-hdd ${@}
 
-lb binary_zsync ${*}
+lb binary_zsync ${@}
 
 if [ "${LB_BUILD_WITH_CHROOT}" = "true" ]
 then
 	# Deconfiguring chroot
 	rm -f .build/chroot_archives
-	lb chroot_apt remove ${*}
-	lb chroot_hostname remove ${*}
-	lb chroot_resolv remove ${*}
-	lb chroot_hosts remove ${*}
-	lb chroot_upstart remove ${*}
-	lb chroot_sysv-rc remove ${*}
-	lb chroot_dpkg remove ${*}
-	lb chroot_debianchroot remove ${*}
+	lb chroot_apt remove ${@}
+	lb chroot_hostname remove ${@}
+	lb chroot_resolv remove ${@}
+	lb chroot_hosts remove ${@}
+	lb chroot_upstart remove ${@}
+	lb chroot_sysv-rc remove ${@}
+	lb chroot_dpkg remove ${@}
+	lb chroot_debianchroot remove ${@}
 fi
 
-lb chroot_sysfs remove ${*}
-lb chroot_selinuxfs remove ${*}
-lb chroot_proc remove ${*}
-lb chroot_devpts remove ${*}
+lb chroot_sysfs remove ${@}
+lb chroot_selinuxfs remove ${@}
+lb chroot_proc remove ${@}
+lb chroot_devpts remove ${@}
diff --git a/scripts/build/lb_binary_rootfs b/scripts/build/lb_binary_rootfs
index 25230cc..68fae40 100755
--- a/scripts/build/lb_binary_rootfs
+++ b/scripts/build/lb_binary_rootfs
@@ -157,36 +157,36 @@ case "${LB_CHROOT_FILESYSTEM}" in
 					rm -f .lock
 					mv chroot/chroot chroot.tmp
 
-					lb chroot_archives binary remove ${*}
-					lb chroot_apt remove ${*}
-					lb chroot_hostname remove ${*}
-					lb chroot_resolv remove ${*}
-					lb chroot_hosts remove ${*}
-					lb chroot_sysv-rc remove ${*}
-					lb chroot_upstart remove ${*}
-					lb chroot_dpkg remove ${*}
-					lb chroot_debianchroot remove ${*}
-					lb chroot_sysfs remove ${*}
-					lb chroot_selinuxfs remove ${*}
-					lb chroot_proc remove ${*}
-					lb chroot_devpts remove ${*}
+					lb chroot_archives binary remove ${@}
+					lb chroot_apt remove ${@}
+					lb chroot_hostname remove ${@}
+					lb chroot_resolv remove ${@}
+					lb chroot_hosts remove ${@}
+					lb chroot_sysv-rc remove ${@}
+					lb chroot_upstart remove ${@}
+					lb chroot_dpkg remove ${@}
+					lb chroot_debianchroot remove ${@}
+					lb chroot_sysfs remove ${@}
+					lb chroot_selinuxfs remove ${@}
+					lb chroot_proc remove ${@}
+					lb chroot_devpts remove ${@}
 
 					rm -rf chroot
 					mv chroot.tmp chroot
 
-					lb chroot_devpts install ${*}
-					lb chroot_proc install ${*}
-					lb chroot_selinuxfs install ${*}
-					lb chroot_sysfs install ${*}
-					lb chroot_debianchroot install ${*}
-					lb chroot_dpkg install ${*}
-					lb chroot_sysv-rc install ${*}
-					lb chroot_upstart install ${*}
-					lb chroot_hosts install ${*}
-					lb chroot_resolv install ${*}
-					lb chroot_hostname install ${*}
-					lb chroot_apt install ${*}
-					lb chroot_archives binary install ${*}
+					lb chroot_devpts install ${@}
+					lb chroot_proc install ${@}
+					lb chroot_selinuxfs install ${@}
+					lb chroot_sysfs install ${@}
+					lb chroot_debianchroot install ${@}
+					lb chroot_dpkg install ${@}
+					lb chroot_sysv-rc install ${@}
+					lb chroot_upstart install ${@}
+					lb chroot_hosts install ${@}
+					lb chroot_resolv install ${@}
+					lb chroot_hostname install ${@}
+					lb chroot_apt install ${@}
+					lb chroot_archives binary install ${@}
 
 					touch .lock
 				else
@@ -247,36 +247,36 @@ case "${LB_CHROOT_FILESYSTEM}" in
 					rm -f .lock
 					mv chroot/chroot chroot.tmp
 
-					lb chroot_archives binary remove ${*}
-					lb chroot_apt remove ${*}
-					lb chroot_hostname remove ${*}
-					lb chroot_resolv remove ${*}
-					lb chroot_hosts remove ${*}
-					lb chroot_sysv-rc remove ${*}
-					lb chroot_upstart remove ${*}
-					lb chroot_dpkg remove ${*}
-					lb chroot_debianchroot remove ${*}
-					lb chroot_sysfs remove ${*}
-					lb chroot_selinuxfs remove ${*}
-					lb chroot_proc remove ${*}
-					lb chroot_devpts remove ${*}
+					lb chroot_archives binary remove ${@}
+					lb chroot_apt remove ${@}
+					lb chroot_hostname remove ${@}
+					lb chroot_resolv remove ${@}
+					lb chroot_hosts remove ${@}
+					lb chroot_sysv-rc remove ${@}
+					lb chroot_upstart remove ${@}
+					lb chroot_dpkg remove ${@}
+					lb chroot_debianchroot remove ${@}
+					lb chroot_sysfs remove ${@}
+					lb chroot_selinuxfs remove ${@}
+					lb chroot_proc remove ${@}
+					lb chroot_devpts remove ${@}
 
 					rm -rf chroot
 					mv chroot.tmp chroot
 
-					lb chroot_devpts install ${*}
-					lb chroot_proc install ${*}
-					lb chroot_selinuxfs install ${*}
-					lb chroot_sysfs install ${*}
-					lb chroot_debianchroot install ${*}
-					lb chroot_dpkg install ${*}
-					lb chroot_sysv-rc install ${*}
-					lb chroot_upstart install ${*}
-					lb chroot_hosts install ${*}
-					lb chroot_resolv install ${*}
-					lb chroot_hostname install ${*}
-					lb chroot_apt install ${*}
-					lb chroot_archives binary install ${*}
+					lb chroot_devpts install ${@}
+					lb chroot_proc install ${@}
+					lb chroot_selinuxfs install ${@}
+					lb chroot_sysfs install ${@}
+					lb chroot_debianchroot install ${@}
+					lb chroot_dpkg install ${@}
+					lb chroot_sysv-rc install ${@}
+					lb chroot_upstart install ${@}
+					lb chroot_hosts install ${@}
+					lb chroot_resolv install ${@}
+					lb chroot_hostname install ${@}
+					lb chroot_apt install ${@}
+					lb chroot_archives binary install ${@}
 
 					touch .lock
 				else
@@ -397,36 +397,36 @@ case "${LB_CHROOT_FILESYSTEM}" in
 					rm -f .lock
 					mv chroot/chroot chroot.tmp
 
-					lb chroot_archives binary remove ${*}
-					lb chroot_apt remove ${*}
-					lb chroot_hostname remove ${*}
-					lb chroot_resolv remove ${*}
-					lb chroot_hosts remove ${*}
-					lb chroot_sysv-rc remove ${*}
-					lb chroot_upstart remove ${*}
-					lb chroot_dpkg remove ${*}
-					lb chroot_debianchroot remove ${*}
-					lb chroot_sysfs remove ${*}
-					lb chroot_selinuxfs remove ${*}
-					lb chroot_proc remove ${*}
-					lb chroot_devpts remove ${*}
+					lb chroot_archives binary remove ${@}
+					lb chroot_apt remove ${@}
+					lb chroot_hostname remove ${@}
+					lb chroot_resolv remove ${@}
+					lb chroot_hosts remove ${@}
+					lb chroot_sysv-rc remove ${@}
+					lb chroot_upstart remove ${@}
+					lb chroot_dpkg remove ${@}
+					lb chroot_debianchroot remove ${@}
+					lb chroot_sysfs remove ${@}
+					lb chroot_selinuxfs remove ${@}
+					lb chroot_proc remove ${@}
+					lb chroot_devpts remove ${@}
 
 					rm -rf chroot
 					mv chroot.tmp chroot
 
-					lb chroot_devpts install ${*}
-					lb chroot_proc install ${*}
-					lb chroot_selinuxfs install ${*}
-					lb chroot_sysfs install ${*}
-					lb chroot_debianchroot install ${*}
-					lb chroot_dpkg install ${*}
-					lb chroot_sysv-rc install ${*}
-					lb chroot_upstart install ${*}
-					lb chroot_hosts install ${*}
-					lb chroot_resolv install ${*}
-					lb chroot_hostname install ${*}
-					lb chroot_apt install ${*}
-					lb chroot_archives binary install ${*}
+					lb chroot_devpts install ${@}
+					lb chroot_proc install ${@}
+					lb chroot_selinuxfs install ${@}
+					lb chroot_sysfs install ${@}
+					lb chroot_debianchroot install ${@}
+					lb chroot_dpkg install ${@}
+					lb chroot_sysv-rc install ${@}
+					lb chroot_upstart install ${@}
+					lb chroot_hosts install ${@}
+					lb chroot_resolv install ${@}
+					lb chroot_hostname install ${@}
+					lb chroot_apt install ${@}
+					lb chroot_archives binary install ${@}
 
 					touch .lock
 				else
diff --git a/scripts/build/lb_bootstrap b/scripts/build/lb_bootstrap
index 319927c..2b84b99 100755
--- a/scripts/build/lb_bootstrap
+++ b/scripts/build/lb_bootstrap
@@ -35,11 +35,11 @@ Set_defaults
 Setup_cleanup
 
 # Bootstrapping system
-lb bootstrap_cache restore ${*}
-lb bootstrap_copy ${*}
-lb bootstrap_cdebootstrap ${*}
-lb bootstrap_debootstrap ${*}
-lb bootstrap_cache save ${*}
+lb bootstrap_cache restore ${@}
+lb bootstrap_copy ${@}
+lb bootstrap_cdebootstrap ${@}
+lb bootstrap_debootstrap ${@}
+lb bootstrap_cache save ${@}
 
 # Temporary hack until we have multistrap in place
 case "${LB_MODE}" in
diff --git a/scripts/build/lb_build b/scripts/build/lb_build
index d589cf7..bdec9b2 100755
--- a/scripts/build/lb_build
+++ b/scripts/build/lb_build
@@ -65,13 +65,13 @@ Set_defaults
 Check_defaults
 
 # Bootstrapping system
-lb bootstrap ${*}
+lb bootstrap ${@}
 
 # Customizing chroot
-lb chroot ${*}
+lb chroot ${@}
 
 # Building binary images
-lb binary ${*}
+lb binary ${@}
 
 # Building source images
-lb source ${*}
+lb source ${@}
diff --git a/scripts/build/lb_chroot b/scripts/build/lb_chroot
index e6353a7..944155b 100755
--- a/scripts/build/lb_chroot
+++ b/scripts/build/lb_chroot
@@ -35,30 +35,30 @@ Set_defaults
 Setup_cleanup
 
 # Configuring chroot
-lb chroot_cache restore ${*}
-lb chroot_devpts install ${*}
-lb chroot_proc install ${*}
-lb chroot_selinuxfs install ${*}
-lb chroot_sysfs install ${*}
-lb chroot_debianchroot install ${*}
-lb chroot_dpkg install ${*}
-lb chroot_tmpfs install ${*}
-lb chroot_sysv-rc install ${*}
-lb chroot_upstart install ${*}
-lb chroot_hosts install ${*}
-lb chroot_resolv install ${*}
-lb chroot_hostname install ${*}
-lb chroot_apt install ${*}
-lb chroot_archives chroot install ${*}
+lb chroot_cache restore ${@}
+lb chroot_devpts install ${@}
+lb chroot_proc install ${@}
+lb chroot_selinuxfs install ${@}
+lb chroot_sysfs install ${@}
+lb chroot_debianchroot install ${@}
+lb chroot_dpkg install ${@}
+lb chroot_tmpfs install ${@}
+lb chroot_sysv-rc install ${@}
+lb chroot_upstart install ${@}
+lb chroot_hosts install ${@}
+lb chroot_resolv install ${@}
+lb chroot_hostname install ${@}
+lb chroot_apt install ${@}
+lb chroot_archives chroot install ${@}
 
 # Customizing chroot
-lb chroot_linux-image ${*}
-lb chroot_preseed ${*}
+lb chroot_linux-image ${@}
+lb chroot_preseed ${@}
 
 for _PASS in install live
 do
-	lb chroot_package-lists ${_PASS} ${*}
-	lb chroot_install-packages ${_PASS} ${*}
+	lb chroot_package-lists ${_PASS} ${@}
+	lb chroot_install-packages ${_PASS} ${@}
 
 	if [ "${_PASS}" = install ]
 	then
@@ -66,27 +66,27 @@ do
 	fi
 done
 
-lb chroot_live-packages ${*}
-lb chroot_includes ${*}
-lb chroot_hooks ${*}
-lb chroot_hacks ${*}
-lb chroot_interactive ${*}
+lb chroot_live-packages ${@}
+lb chroot_includes ${@}
+lb chroot_hooks ${@}
+lb chroot_hacks ${@}
+lb chroot_interactive ${@}
 
 Chroot chroot "dpkg-query -W" > chroot.packages.live
 
 # Deconfiguring chroot
-lb chroot_archives chroot remove ${*}
-lb chroot_apt remove ${*}
-lb chroot_hostname remove ${*}
-lb chroot_resolv remove ${*}
-lb chroot_hosts remove ${*}
-lb chroot_sysv-rc remove ${*}
-lb chroot_upstart remove ${*}
-lb chroot_tmpfs remove ${*}
-lb chroot_dpkg remove ${*}
-lb chroot_debianchroot remove ${*}
-lb chroot_sysfs remove ${*}
-lb chroot_selinuxfs remove ${*}
-lb chroot_proc remove ${*}
-lb chroot_devpts remove ${*}
-lb chroot_cache save ${*}
+lb chroot_archives chroot remove ${@}
+lb chroot_apt remove ${@}
+lb chroot_hostname remove ${@}
+lb chroot_resolv remove ${@}
+lb chroot_hosts remove ${@}
+lb chroot_sysv-rc remove ${@}
+lb chroot_upstart remove ${@}
+lb chroot_tmpfs remove ${@}
+lb chroot_dpkg remove ${@}
+lb chroot_debianchroot remove ${@}
+lb chroot_sysfs remove ${@}
+lb chroot_selinuxfs remove ${@}
+lb chroot_proc remove ${@}
+lb chroot_devpts remove ${@}
+lb chroot_cache save ${@}
diff --git a/scripts/build/lb_clean b/scripts/build/lb_clean
index 83dafb1..1313041 100755
--- a/scripts/build/lb_clean
+++ b/scripts/build/lb_clean
@@ -46,7 +46,7 @@ fi
 
 rm -f .lock
 
-if [ -z "${*}" ]
+if [ -z "${@}" ]
 then
 	ARGUMENTS="--all"
 else
diff --git a/scripts/build/lb_source b/scripts/build/lb_source
index ad9e262..a236817 100755
--- a/scripts/build/lb_source
+++ b/scripts/build/lb_source
@@ -42,25 +42,25 @@ fi
 Setup_cleanup
 
 # Enabling network in chroot
-lb chroot_hosts install ${*}
-lb chroot_resolv install ${*}
-lb chroot_hostname install ${*}
-lb chroot_archives source install ${*}
+lb chroot_hosts install ${@}
+lb chroot_resolv install ${@}
+lb chroot_hostname install ${@}
+lb chroot_archives source install ${@}
 
 # Preparing images
-lb source_debian-live ${*}
-lb source_debian ${*}
-lb source_disk ${*}
-lb source_checksums ${*}
+lb source_debian-live ${@}
+lb source_debian ${@}
+lb source_disk ${@}
+lb source_checksums ${@}
 
 # Building images
-lb source_iso ${*}
-lb source_tar ${*}
-lb source_hdd ${*}
-lb source_virtual-hdd ${*}
+lb source_iso ${@}
+lb source_tar ${@}
+lb source_hdd ${@}
+lb source_virtual-hdd ${@}
 
 # Deconfiguring chroot
-lb chroot_archives chroot remove ${*}
-lb chroot_hostname remove ${*}
-lb chroot_resolv remove ${*}
-lb chroot_hosts remove ${*}
+lb chroot_archives chroot remove ${@}
+lb chroot_hostname remove ${@}
+lb chroot_resolv remove ${@}
+lb chroot_hosts remove ${@}

-- 
live-build



More information about the debian-live-changes mailing list