From 4eb296a89c540a3ebdcecbc3f55758c4b5e5b97c Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Sun, 14 Feb 2016 01:28:37 +0200 Subject: detect partitions on nvme devices (mga#17743) --- perl-install/NEWS | 2 ++ perl-install/devices.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') 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) = @_; -- cgit v1.2.1