diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-08-28 16:18:32 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-08-28 16:18:32 +0000 |
commit | b9833774bba44cee406d512e82067a3a8d8e4292 (patch) | |
tree | 50da749e484a7b20c2ed75e7c61d0ae39b9e0ec7 /perl-install/detect_devices.pm | |
parent | 561d493b9e96f5853e013ab81a0dd86188b2182d (diff) | |
download | drakx-b9833774bba44cee406d512e82067a3a8d8e4292.tar drakx-b9833774bba44cee406d512e82067a3a8d8e4292.tar.gz drakx-b9833774bba44cee406d512e82067a3a8d8e4292.tar.bz2 drakx-b9833774bba44cee406d512e82067a3a8d8e4292.tar.xz drakx-b9833774bba44cee406d512e82067a3a8d8e4292.zip |
fix VirtIO devices support and release 12.46
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 8df493152..6042b29e5 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -371,8 +371,7 @@ sub getATARAID() { sub getVirtIO() { -d '/sys/bus/virtio/devices' or return; map { - print basename($_)."\n"; - { device => "/dev/".basename($_), info => "VirtIO block device", media_type => 'hd', bus => 'virtio' } + { device => basename($_), info => "VirtIO block device", media_type => 'hd', bus => 'virtio' } } glob("/sys/bus/virtio/devices/*/block/*"); } |