summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2016-02-14 01:28:37 +0200
committerThomas Backlund <tmb@mageia.org>2016-02-14 01:28:37 +0200
commit4eb296a89c540a3ebdcecbc3f55758c4b5e5b97c (patch)
tree656bc55d51b7203e40e29c2c231134f5c2327a1b /perl-install/devices.pm
parentab8f41212f5a3929964195fead472c57176c4f2a (diff)
downloaddrakx-4eb296a89c540a3ebdcecbc3f55758c4b5e5b97c.tar
drakx-4eb296a89c540a3ebdcecbc3f55758c4b5e5b97c.tar.gz
drakx-4eb296a89c540a3ebdcecbc3f55758c4b5e5b97c.tar.bz2
drakx-4eb296a89c540a3ebdcecbc3f55758c4b5e5b97c.tar.xz
drakx-4eb296a89c540a3ebdcecbc3f55758c4b5e5b97c.zip
detect partitions on nvme devices (mga#17743)
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 aa65204ed..5b3e4e8ba 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -157,7 +157,7 @@ sub make($) {
sub simple_partition_scan {
my ($part) = @_;
- $part->{device} =~ /((?:[hsv]|xv)d[a-z]|mmcblk\d+p)(\d+)$/;
+ $part->{device} =~ /((?:[hsv]|xv)d[a-z]|mmcblk|nvme\d+p)(\d+)$/;
}
sub part_number {
my ($part) = @_;