[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] live(is_nice_device): added support for Virtio vd[a-z] dri=



ves

Signed-off-by: intrigeri <intrigeri at boum.org>
---
 scripts/live |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/scripts/live b/scripts/live
index 22d2210..6faf881 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=3D(usb|pci-[^-=
]*-[ide|scsi|usb])"
 	then
 		return 0
+	elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'
+	then
+		return 0
 	fi
=20
 	return 1
--=20
1.5.6.3

---- /patch ----------------------------------------------------------

Bye,
--=20
  intrigeri <intrigeri at boum.org>



Reply to: