[SCM] debian-live branch, master, updated. debian/1.136.3-1-9-g387118d

Daniel Baumann daniel at debian.org
Thu Aug 7 18:05:33 UTC 2008


The following commit has been merged in the master branch:
commit 387118d89f66cabff86e3d03aa47d3882540f412
Author: Ben Voui <intrigeri at boum.org>
Date:   Thu Aug 7 19:54:49 2008 +0200

    Adding support for Virtio vd[a-z] drives.

diff --git a/scripts/live b/scripts/live
index 867efc0..54b43fb 100755
--- a/scripts/live
+++ b/scripts/live
@@ -561,6 +561,9 @@ is_nice_device ()
 	if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-[^-]*-[ide|scsi|usb])"
 	then
 		return 0
+	elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'
+	then
+		return 0
 	fi
 
 	return 1

-- 
debian-live



More information about the debian-live-changes mailing list