[SCM] live-boot branch, debian-old-2.0, updated. debian/2.0.8-1-2-g431883f
Daniel Baumann
daniel at debian.org
Tue Oct 26 07:13:47 UTC 2010
The following commit has been merged in the debian-old-2.0 branch:
commit 34f3c0791bdffd64a3b7d4167882a5d308c6292c
Author: T(A)ILS developers <amnesia at boum.org>
Date: Sat Oct 23 12:14:32 2010 +0200
Fixing overzealous blacklist usage.
Previous blacklist checking was a bit overzealous: e.g. if /dev/sdb1 was
blacklisted (e.g. because it would contain the system-wide persistence COW
device), any other device whose name contains the blacklist one, such as
/dev/sdb11, was also be blacklisted.
diff --git a/scripts/live-helpers b/scripts/live-helpers
index 314c33f..47674e6 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -309,7 +309,7 @@ find_cow_device ()
do
devname=$(sys2dev "${dev}")
- if echo "${black_listed_devices}" | grep -q "${devname}"
+ if echo "${black_listed_devices}" | grep -q -w "${devname}"
then
# skip this device enterely
break
@@ -408,7 +408,7 @@ find_files ()
devname=$(sys2dev "${dev}")
devfstype="$(get_fstype ${devname})"
- if echo "${black_listed_devices}" | grep -q "${devname}"
+ if echo "${black_listed_devices}" | grep -q -w "${devname}"
then
# skip this device enterely
break
--
live-boot
More information about the debian-live-changes
mailing list