summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvangelos Foutras <evangelos@foutrelis.com>2016-01-20 08:26:09 +0100
committerEvangelos Foutras <evangelos@foutrelis.com>2016-01-20 08:40:32 +0100
commit730bf42e4ce461c654598effcc04b7bde4367de7 (patch)
tree5d0fcd976f44c674cef0131d1db7dd2cb8118c92
parent715a37b0d6cbee360c00ee2e23e94a772a50a1f0 (diff)
downloadmkinitcpio-00db1f9b17f265336bf4b07225cc32378b254555.tar.gz
mkinitcpio-00db1f9b17f265336bf4b07225cc32378b254555.tar.xz
Fix nvme module detection in Linux 4.4v19
-rw-r--r--install/block4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/block b/install/block
index 2e463ce..d9c627f 100644
--- a/install/block
+++ b/install/block
@@ -4,8 +4,8 @@ build() {
local filter
local -A blockdevs
- # pata, sata, scsi
- for filter in 'scsi/.*ata' '/(block|scsi|fusion)/' 'ata/[ps]ata_' \
+ # pata, sata, scsi, nvme
+ for filter in 'scsi/.*ata' '/(block|scsi|fusion|nvme)/' 'ata/[ps]ata_' \
'ata/(ahci|pdc_adma|ata_piix|ata_generic)'; do
add_checked_modules "$filter" && blockdevs['sd_mod']=1
done