dracut: add hyperv-keyboard module to initrd.

Message ID 20201216152202.1975-1-arne_f@ipfire.org
State Accepted
Commit 7e09bcbc45695026592ac4169f9aa18bb8fb811e
Headers
Series dracut: add hyperv-keyboard module to initrd. |

Commit Message

Arne Fitzenreiter Dec. 16, 2020, 3:22 p.m. UTC
  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                                                      | 2 +-
 ...patch => dracut-038_add_hyperv-keyboard_and_sdhci-pci.patch} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename src/patches/{dracut-038_add_sdhci-pci.patch => dracut-038_add_hyperv-keyboard_and_sdhci-pci.patch} (92%)
  

Patch

diff --git a/lfs/dracut b/lfs/dracut
index a6a6f1f23..c4f7231b1 100644
--- a/lfs/dracut
+++ b/lfs/dracut
@@ -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
diff --git a/src/patches/dracut-038_add_sdhci-pci.patch b/src/patches/dracut-038_add_hyperv-keyboard_and_sdhci-pci.patch
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 b002246d4..19ed15fd3 100644
--- a/src/patches/dracut-038_add_sdhci-pci.patch
+++ b/src/patches/dracut-038_add_hyperv-keyboard_and_sdhci-pci.patch
@@ -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