From 6de3d96c7b6ca6eb822a804bd4c846ca0e364f2a Mon Sep 17 00:00:00 2001 From: Pavel Valena Date: Tue, 21 Feb 2023 02:11:18 +0100 Subject: [PATCH] feat(kernel-modules): add driver needed for macbook keyboards --- ...driver-support-for-macbook-keyboards.patch | 23 +++++++++++++++++++ dracut.spec | 5 ++++ 2 files changed, 28 insertions(+) create mode 100644 2218-add-module-driver-support-for-macbook-keyboards.patch diff --git a/2218-add-module-driver-support-for-macbook-keyboards.patch b/2218-add-module-driver-support-for-macbook-keyboards.patch new file mode 100644 index 0000000..b09fafa --- /dev/null +++ b/2218-add-module-driver-support-for-macbook-keyboards.patch @@ -0,0 +1,23 @@ +From 3c871a89c281d9ef4447576e4ea072ce38c65ac0 Mon Sep 17 00:00:00 2001 +From: Pavel Valena +Date: Tue, 21 Feb 2023 01:57:50 +0100 +Subject: [PATCH] feat(kernel-modules): driver support for macbook keyboards + +Discussed in: https://bugzilla.redhat.com/show_bug.cgi?id=2166209 +--- + modules.d/90kernel-modules/module-setup.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh +index 9bc4c27ac..5b6df776a 100755 +--- a/modules.d/90kernel-modules/module-setup.sh ++++ b/modules.d/90kernel-modules/module-setup.sh +@@ -55,7 +55,7 @@ installkernel() { + "=drivers/watchdog" + + instmods \ +- yenta_socket \ ++ yenta_socket spi_pxa2xx_platform \ + atkbd i8042 firewire-ohci pcmcia hv-vmbus \ + virtio virtio_ring virtio_pci pci_hyperv \ + "=drivers/pcmcia" diff --git a/dracut.spec b/dracut.spec index 79d7836..575594d 100644 --- a/dracut.spec +++ b/dracut.spec @@ -36,6 +36,10 @@ Patch1: 1521-Never-enable-the-bluetooth-module-by-default.patch # https://github.com/dracutdevs/dracut/pull/1825/ Patch2: 1825-Skip-creating-initrd-when-initrd-is-provided.patch +# Add kernel module with support for macbook keyboards +# https://github.com/dracutdevs/dracut/pull/2218 +Patch3: 2218-add-module-driver-support-for-macbook-keyboards.patch + BuildRequires: bash BuildRequires: git-core BuildRequires: pkgconfig(libkmod) >= 23 @@ -445,6 +449,7 @@ echo 'dracut_rescue_image="yes"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/ * Mon Feb 13 2023 Pavel Valena - 059-1 - Update to 059 - feat(dracut.sh): option to skip creating initrd +- feat(kernel-modules): driver support for macbook keyboards * Thu Jan 19 2023 Fedora Release Engineering - 057-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild