[SCM] live-boot branch, tmp-persistent-custom, updated. debian/3.0_a25-1-30-g5fc05fe

Tails developers amnesia at boum.org
Thu Feb 16 14:58:06 UTC 2012


The following commit has been merged in the tmp-persistent-custom branch:
commit a21d5d4bacb0547e1c4f5cd1651e4225b4edc51a
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 ebac7a7..4e07549 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 0e0415c..a5288fb 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