diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-11-27 10:20:34 +0000 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2018-01-09 23:15:55 +0200 |
commit | eb497cece2871e59a2f981602e44f303826ffeab (patch) | |
tree | 1ac105adb906a5f9bf0267067f3b5ff00fbbf1f8 /perl-install | |
parent | 4d96d7a4c32186d7597f2f8f6f75eb1d8c9bf181 (diff) | |
download | drakx-eb497cece2871e59a2f981602e44f303826ffeab.tar drakx-eb497cece2871e59a2f981602e44f303826ffeab.tar.gz drakx-eb497cece2871e59a2f981602e44f303826ffeab.tar.bz2 drakx-eb497cece2871e59a2f981602e44f303826ffeab.tar.xz drakx-eb497cece2871e59a2f981602e44f303826ffeab.zip |
Make fs::get_major_minor() unconditionally read the device numbers.
Thus ensuring we get the correct device numbers after writing a
partition table (mga#22032).
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 3 | ||||
-rw-r--r-- | perl-install/fs.pm | 2 | ||||
-rw-r--r-- | perl-install/install/NEWS | 4 |
3 files changed, 8 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index c6a33351f..cbfb21d34 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -3,6 +3,9 @@ (mga#21263, mga#21250) o Fix drakboot video mode selection when using grub2 (mga#21246) o Fix parsing of grub2 menu entries to support 16-bit mode (mga#21247). +- diskdrake: + o ensure device major/minor numbers are reread after writing the + partition table (mga#22032) - iwlwifi-agn-ucode is renamed to iwlwifi-firmware (mga#22316) - update list of modules needing firmware diff --git a/perl-install/fs.pm b/perl-install/fs.pm index ac118cdc0..76cce10e7 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -144,7 +144,7 @@ sub get_major_minor { eval { my (undef, $major, $minor) = devices::entry($_->{device}); ($_->{major}, $_->{minor}) = ($major, $minor); - } if !$_->{major}; + }; } } diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 6fcede4da..919cf0b76 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,7 @@ +- diskdrake: + o ensure device major/minor numbers are reread after writing the + partition table (mga#22032) + Version 17.92 - 4 January 2017 - fix perl escaping causing commands to not get linked |