Merging casper 1.170.
authorDaniel Baumann <daniel@debian.org>
Sun, 31 Jan 2010 12:57:37 +0000 (13:57 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:06 +0000 (17:48 +0100)
docs/ChangeLog.casper
scripts/live

index a62e48c..22a873a 100644 (file)
@@ -1,3 +1,11 @@
+casper (1.170) jaunty; urgency=low
+
+  * is_nice_device(): allow devices with an ID_PATH of platform-mmc* as well
+    as used for instance for SD cards on the ARM iMX51 Babbage board;
+    LP: #357700.
+
+ -- Loic Minier <lool@dooz.org>  Wed, 08 Apr 2009 15:34:01 +0200
+
 casper (1.169) jaunty; urgency=low
 
   * [ -w /cdrom ] turns out not to be a sufficient test for files under
index 2753d5e..6af14c3 100755 (executable)
@@ -621,7 +621,7 @@ is_nice_device ()
 {
        sysfs_path="${1#/sys}"
 
-       if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-)"
+       if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-|platform-mmc)"
        then
                return 0
        elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'