summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
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/devices.pm
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/devices.pm')
-rw-r--r--perl-install/devices.pm2
1 files changed, 1 insertions, 1 deletions
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 {