[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:33 UTC 2012


The following commit has been merged in the debian-next branch:
commit ad772f205c1044ce7fe5383d72aae9a3ca8f33a7
Author: Tails developers <amnesia at boum.org>
Date:   Wed Feb 15 12:03:56 2012 +0100

    We don't black list storage devices any more.

diff --git a/scripts/live b/scripts/live
index 7f76f52..a701f12 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1013,7 +1013,7 @@ setup_unionfs ()
 		local home_snapshot_label=""
 		local root_overlay_label=""
 		local overlay_devices=""
-		for media in $(find_persistent_media "${overlays}" "${snapshots}" "${blacklistdev}" "${whitelistdev}")
+		for media in $(find_persistent_media "${overlays}" "${snapshots}" "${whitelistdev}")
 		do
 			media="$(echo ${media} | tr ":" " ")"
 			case ${media} in
diff --git a/scripts/live-helpers b/scripts/live-helpers
index abdfd64..a69ce29 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -857,11 +857,10 @@ find_persistent_media ()
 
 	local overlays="${1}"
 	local snapshots="${2}"
-	local black_listed_devices="${3}"
-	local white_listed_devices="${4}"
+	local white_listed_devices="${3}"
 	local ret=""
 
-	for dev in $(storage_devices "${black_listed_devices}" "${white_listed_devices}")
+	for dev in $(storage_devices "" "${white_listed_devices}")
 	do
 		local result=""
 

-- 
live-boot



More information about the debian-live-changes mailing list