]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
dracut: add hyperv-keyboard module to initrd.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 16 Dec 2020 15:22:02 +0000 (16:22 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 17 Dec 2020 17:10:04 +0000 (17:10 +0000)
the missing module should be the reason for not responding setup on some
hyper-v configurations.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/dracut
src/patches/dracut-038_add_hyperv-keyboard_and_sdhci-pci.patch [moved from src/patches/dracut-038_add_sdhci-pci.patch with 92% similarity]

index a6a6f1f23df160d7c7fe5be747d4cf7d1f2a80d4..c4f7231b18f8932375a4a968defc35476567039c 100644 (file)
@@ -71,7 +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) && patch -Np1 -i $(DIR_SRC)/src/patches/dracut-038_add_hyperv-keyboard_and_sdhci-pci.patch
 
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install sbindir=/sbin sysconfdir=/etc
similarity index 92%
rename from src/patches/dracut-038_add_sdhci-pci.patch
rename to src/patches/dracut-038_add_hyperv-keyboard_and_sdhci-pci.patch
index b002246d450d17dda386c7a3296dc8ba256441cc..19ed15fd3bdf912524e02982e2667e6a14847dcc 100644 (file)
@@ -6,7 +6,7 @@ diff -Naur dracut-038.org/modules.d/90kernel-modules/module-setup.sh dracut-038/
              hid-logitech-dj hid-microsoft firewire-ohci \
              pcmcia usb_storage nvme hid-hyperv hv-vmbus \
 -            sdhci_acpi
-+            sdhci_acpi sdhci_pci
++            hyperv-keyboard sdhci_acpi sdhci_pci
  
          if [[ "$(uname -p)" == arm* ]]; then
              # arm specific modules