summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2016-02-14 01:55:17 +0200
committerThomas Backlund <tmb@mageia.org>2016-09-25 11:52:36 +0300
commitabd256263738a566cbf986e31deefa0a252255bf (patch)
tree89947ee1dfad7545cfe79aca9e2fb03df2d26231 /perl-install
parenta957610d01a094e040bb2bf0ce893be24ec9e449 (diff)
downloaddrakx-abd256263738a566cbf986e31deefa0a252255bf.tar
drakx-abd256263738a566cbf986e31deefa0a252255bf.tar.gz
drakx-abd256263738a566cbf986e31deefa0a252255bf.tar.bz2
drakx-abd256263738a566cbf986e31deefa0a252255bf.tar.xz
drakx-abd256263738a566cbf986e31deefa0a252255bf.zip
fix up nvme, its nvme + num + 'n' + num + 'p' + num
(cherry picked from commit d96b239ef9f62cd95168561059ee918d1d23da80)
Diffstat (limited to 'perl-install')
-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) = @_;