summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2021-01-19 22:56:00 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2021-01-19 22:56:00 +0000
commit41627b4145e8de08e28e07a4e5840248abd54f3e (patch)
tree9386df01345799a9996faaa547bd614c27570059 /perl-install
parent80370a58c86eada2ac765a0e6b974599b02f9b11 (diff)
downloaddrakx-41627b4145e8de08e28e07a4e5840248abd54f3e.tar
drakx-41627b4145e8de08e28e07a4e5840248abd54f3e.tar.gz
drakx-41627b4145e8de08e28e07a4e5840248abd54f3e.tar.bz2
drakx-41627b4145e8de08e28e07a4e5840248abd54f3e.tar.xz
drakx-41627b4145e8de08e28e07a4e5840248abd54f3e.zip
Prefer using UUID for mmcblk and nvme devices (mga#28111)
This avoids boot failure if the kernel enumerates those devices differently.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/devices.pm2
-rw-r--r--perl-install/install/NEWS2
3 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index a43a43db8..969e1c75e 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,4 @@
+- prefer using UUID for mmcblk and nvme devices (mga#28111)
- service_harddrake:
o support switching between free and proprietary drivers when
using Live ISOs with persistence
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index 40858ff98..7ac79dcce 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -175,7 +175,7 @@ sub prefix_for_dev {
sub should_prefer_UUID {
my ($dev) = @_;
- $dev =~ /^((?:[hsv]|xv)d)/;
+ $dev =~ /^((?:[hsv]|xv)d|mmcblk|nvme)/;
}
sub symlink_now_and_register {
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index f675423c6..da004eed2 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- prefer using UUID for mmcblk and nvme devices (mga#28111)
+
Version 18.41 - 11 January 2021
- Artwork for Mageia 8