]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
Try to detect a need for nvme driver. If you know better method then share with us.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 21 Jul 2019 19:04:05 +0000 (21:04 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 21 Jul 2019 19:04:05 +0000 (21:04 +0200)
geninitrd

index b5d405a7d37a022ed8964ce26c01622a8eecadaa..05e290ac373504a604fc00511f44caadf36c5247 100755 (executable)
--- a/geninitrd
+++ b/geninitrd
@@ -673,6 +673,11 @@ find_modules_for_devpath() {
                return
        fi
 
+       if [[ "$devpath" == /dev/nvme* ]]; then
+               find_module "nvme"
+               return
+       fi
+
        if [[ "$devpath" == /dev/bcache* ]]; then
                find_modules_bcache "$devpath"
                return
This page took 0.190215 seconds and 4 git commands to generate.