summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2016-02-14 01:55:17 +0200
committerThomas Backlund <tmb@mageia.org>2016-02-14 01:55:17 +0200
commitd96b239ef9f62cd95168561059ee918d1d23da80 (patch)
tree8e0c0f8d674a60e34758c2d2008b6ba4a3baeb62
parent4eb296a89c540a3ebdcecbc3f55758c4b5e5b97c (diff)
downloaddrakx-d96b239ef9f62cd95168561059ee918d1d23da80.tar
drakx-d96b239ef9f62cd95168561059ee918d1d23da80.tar.gz
drakx-d96b239ef9f62cd95168561059ee918d1d23da80.tar.bz2
drakx-d96b239ef9f62cd95168561059ee918d1d23da80.tar.xz
drakx-d96b239ef9f62cd95168561059ee918d1d23da80.zip
fix up nvme, its nvme + num + 'n' + num + 'p' + num
-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 5b3e4e8ba..40858ff98 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|nvme\d+p)(\d+)$/;
+ $part->{device} =~ /((?:[hsv]|xv)d[a-z]|mmcblk|(nvme\d+n)\d+p)(\d+)$/;
}
sub part_number {
my ($part) = @_;