Skip to content

Commit

Permalink
Applying patch from Michael Casadevall <mcasadevall@ubuntu.com> to ad…
Browse files Browse the repository at this point in the history
…d platform-sata_mv to is_nice_device() to allow Marvell Dove A0 and AVD1 to properly boot live media.
  • Loading branch information
daniel-baumann committed Sep 26, 2010
1 parent b4f7de1 commit 6051518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/live
Expand Up @@ -466,7 +466,7 @@ is_nice_device ()
{
sysfs_path="${1#/sys}"

if /lib/udev/path_id "${sysfs_path}" | egrep -q "ID_PATH=(usb|pci-|platform-orion-ehci|platform-mmc|platform-mxsdhci|)"
if /lib/udev/path_id "${sysfs_path}" | egrep -q "ID_PATH=(usb|pci-|platform-sata_mv|platform-orion-ehci|platform-mmc|platform-mxsdhci|)"
then
return 0
elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'
Expand Down

0 comments on commit 6051518

Please sign in to comment.