diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2021-01-19 22:56:00 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2021-01-19 22:56:00 +0000 |
commit | 41627b4145e8de08e28e07a4e5840248abd54f3e (patch) | |
tree | 9386df01345799a9996faaa547bd614c27570059 /perl-install/devices.pm | |
parent | 80370a58c86eada2ac765a0e6b974599b02f9b11 (diff) | |
download | drakx-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.pm | 2 |
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 { |