]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
dracut: add sdhci-pci module to initrd.
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 5 May 2015 20:34:30 +0000 (22:34 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 5 May 2015 20:34:30 +0000 (22:34 +0200)
fixes #10792

lfs/dracut
src/patches/dracut-038_add_sdhci-pci.patch [new file with mode: 0644]

index fef3ad77d3b074621345923fc123869f6d0da997..97d12f3f55246f5512ce6bf6e5706d659071b1b8 100644 (file)
@@ -71,6 +71,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/dracut-038-always-enable-mdraid.patch
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/dracut-038_add_sdhci-pci.patch
 
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install sbindir=/sbin sysconfdir=/etc
diff --git a/src/patches/dracut-038_add_sdhci-pci.patch b/src/patches/dracut-038_add_sdhci-pci.patch
new file mode 100644 (file)
index 0000000..b002246
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Naur dracut-038.org/modules.d/90kernel-modules/module-setup.sh dracut-038/modules.d/90kernel-modules/module-setup.sh
+--- dracut-038.org/modules.d/90kernel-modules/module-setup.sh  2014-06-30 12:03:12.000000000 +0200
++++ dracut-038/modules.d/90kernel-modules/module-setup.sh      2015-05-05 14:58:56.820197839 +0200
+@@ -47,7 +47,7 @@
+             atkbd i8042 usbhid hid-apple hid-sunplus hid-cherry hid-logitech \
+             hid-logitech-dj hid-microsoft firewire-ohci \
+             pcmcia usb_storage nvme hid-hyperv hv-vmbus \
+-            sdhci_acpi
++            sdhci_acpi sdhci_pci
+         if [[ "$(uname -p)" == arm* ]]; then
+             # arm specific modules