]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
module-setup.sh: Add ARM specific driver to initramfs image
authorPrarit Bhargava <prarit@redhat.com>
Mon, 5 Jun 2017 11:51:36 +0000 (07:51 -0400)
committerLukas Nykryn <lnykryn@redhat.com>
Mon, 12 Jun 2017 14:09:01 +0000 (16:09 +0200)
If a hisi_sas storage device is used as / during system install, the
resulting installation will not boot because the hisi_sas driver is not
included in the initramfs.

The Hisilicon storage driver needs to be added to the initramfs image for
aarch64 kernels.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: dzickus@redhat.com
Cc: dmarlin@redhat.com
Cc: wefu@redhat.com
Cc: harald@redhat.com
Resolves: #1459277

modules.d/90kernel-modules/module-setup.sh

index 7d9d369a810f7d16b7490cdfcf49ef60898f092c..0a414eaf9f78bb85ffc4c3e3504e790c6ade27d0 100755 (executable)
@@ -64,6 +64,7 @@ installkernel() {
                 "=drivers/rtc" \
                 "=drivers/usb/host" \
                 "=drivers/usb/phy" \
+               "=drivers/scsi/hisi_sas" \
                 ${NULL}
         fi