[SCM] live-boot branch, debian-next, updated. debian/3.0_a25-1-70-ga39a167
Daniel Baumann
daniel at debian.org
Thu Apr 5 06:00:34 UTC 2012
The following commit has been merged in the debian-next branch:
commit 5ca613caa8948bb2686b592880f45caaa61e4662
Author: Tails developers <amnesia at boum.org>
Date: Fri Feb 24 14:41:30 2012 +0100
Handle list arguments better in get_custom_mounts().
diff --git a/scripts/live b/scripts/live
index 3a1eb60..a24da07 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1223,7 +1223,7 @@ setup_unionfs ()
rm -rf ${custom_mounts} 2> /dev/null
# Gather information about custom mounts from devies detected as overlays
- get_custom_mounts ${overlay_devices} ${custom_mounts}
+ get_custom_mounts ${custom_mounts} ${overlay_devices}
[ -n "${DEBUG}" ] && cp ${custom_mounts} "${rootmnt}/live/persistent"
diff --git a/scripts/live-helpers b/scripts/live-helpers
index e612092..243256a 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -1228,8 +1228,9 @@ get_custom_mounts ()
# Side-effect: leaves $devices with live.persist mounted in ${rootmnt}/live/persistent
# Side-effect: prints info to file $custom_mounts
- local devices="${1}"
- local custom_mounts="${2}" # print result to this file
+ local custom_mounts=${1}
+ shift
+ local devices=${@}
local bindings="/tmp/bindings.list"
local links="/tmp/links.list"
--
live-boot
More information about the debian-live-changes
mailing list