diff options
author | Thomas Backlund <tmb@mageia.org> | 2016-02-14 01:55:17 +0200 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2016-09-25 11:52:36 +0300 |
commit | abd256263738a566cbf986e31deefa0a252255bf (patch) | |
tree | 89947ee1dfad7545cfe79aca9e2fb03df2d26231 /perl-install | |
parent | a957610d01a094e040bb2bf0ce893be24ec9e449 (diff) | |
download | drakx-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.pm | 2 |
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) = @_; |