summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2012-04-09 16:07:35 +0200
committerTails developers <amnesia@boum.org>2012-04-09 16:07:35 +0200
commit78c2bc5d16c73448b9c160850c386ffcd1ef2971 (patch)
tree581f7fe35cf50806b70fe61976ca82740072eb53 /scripts
parent49f4d23bf89af431c787138641bdc6a61e042794 (diff)
downloadlive-boot-78c2bc5d16c73448b9c160850c386ffcd1ef2971.tar.gz
live-boot-78c2bc5d16c73448b9c160850c386ffcd1ef2971.zip
Do not probe the device mounted on /live/image for persistence.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/live-helpers4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/live-helpers b/scripts/live-helpers
index ee59247..b90637a 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -973,7 +973,9 @@ find_persistence_media ()
local white_listed_devices="${3}"
local ret=""
- for dev in $(storage_devices "" "${white_listed_devices}")
+ local black_listed_devices="$(what_is_mounted_on /live/image)"
+
+ for dev in $(storage_devices "${black_listed_devices}" "${white_listed_devices}")
do
local result=""