diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-10-06 12:13:55 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-10-06 12:13:55 +0000 |
commit | d15bf4424ba6bc79afcf780fdef6228172d16c8e (patch) | |
tree | a96e81a47cfa679c7405dceb69761d61b459bf26 /perl-install | |
parent | e3363d6bd2f6eed8323f622e2480b40c85c3ed58 (diff) | |
download | drakx-d15bf4424ba6bc79afcf780fdef6228172d16c8e.tar drakx-d15bf4424ba6bc79afcf780fdef6228172d16c8e.tar.gz drakx-d15bf4424ba6bc79afcf780fdef6228172d16c8e.tar.bz2 drakx-d15bf4424ba6bc79afcf780fdef6228172d16c8e.tar.xz drakx-d15bf4424ba6bc79afcf780fdef6228172d16c8e.zip |
add back ram devices support (used by draklive, broken in 258009)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/devices.pm | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 11dabcf4f..2cde3fa50 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- add back ram devices support (used by draklive) + Version 12.58 - 5 October 2009 - display_help diff --git a/perl-install/devices.pm b/perl-install/devices.pm index bdac41a8a..26c7599a0 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -77,6 +77,10 @@ sub entry { if (/^0x([\da-f]{3,4})$/i) { $type = c::S_IFBLK(); ($major, $minor) = unmakedev(hex $1); + } elsif (/^ram(.*)/) { + $type = c::S_IFBLK(); + $major = 1; + $minor = $1 eq '' ? 1 : $1; } elsif (m|^rd/c(\d+)d(\d+)(p(\d+))?|) { # dac 960 "rd/cXdXXpX" $type = c::S_IFBLK(); |