summaryrefslogtreecommitdiffstats
path: root/perl-install
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
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')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/devices.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 4a0c63a8d..97500df1c 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- detect partitions on nvme devices (mga#17743)
+
Version 17.18.1 - 10 February 2016
- drakboot:
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) = @_;