summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-03-28 22:50:22 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-03-28 22:51:26 +0200
commitc3992e1ec23916c61ecca55276310095e8126943 (patch)
tree19d61fdde356ac287819a9bfd84e945c6fdcc35c /sys-kernel
parentdev-vcs/git: Stabilize 2.26.3 arm, #774678 (diff)
downloadgentoo-c3992e1ec23916c61ecca55276310095e8126943.tar.gz
gentoo-c3992e1ec23916c61ecca55276310095e8126943.tar.bz2
gentoo-c3992e1ec23916c61ecca55276310095e8126943.zip
sys-kernel/genkernel: mark v4.2.1 stable
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/genkernel/files/genkernel-4.2.1-post-release-fixes.patch29
-rw-r--r--sys-kernel/genkernel/genkernel-4.2.1-r1.ebuild (renamed from sys-kernel/genkernel/genkernel-4.2.1.ebuild)4
-rw-r--r--sys-kernel/genkernel/genkernel-9999.ebuild2
3 files changed, 33 insertions, 2 deletions
diff --git a/sys-kernel/genkernel/files/genkernel-4.2.1-post-release-fixes.patch b/sys-kernel/genkernel/files/genkernel-4.2.1-post-release-fixes.patch
new file mode 100644
index 000000000000..f04dbc8c951b
--- /dev/null
+++ b/sys-kernel/genkernel/files/genkernel-4.2.1-post-release-fixes.patch
@@ -0,0 +1,29 @@
+From cdaef312247a3ed18c9fdcea084058e5f25a7f3e Mon Sep 17 00:00:00 2001
+From: Thomas Deutschmann <whissi@gentoo.org>
+Date: Sat, 27 Mar 2021 17:07:21 +0100
+Subject: defaults/modules_load: Add support for Lenovo / Thinkpad devices
+
+Support for IBM/Lenovo devices that are not fully compliant with HID standard.
+
+Reported-by: Patrick Lauer <patrick@gentoo.org>
+Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
+---
+ defaults/modules_load | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/defaults/modules_load b/defaults/modules_load
+index 1cc1478..cee5f4d 100644
+--- a/defaults/modules_load
++++ b/defaults/modules_load
+@@ -24,7 +24,7 @@ MODULES_ISCSI="scsi_transport_iscsi libiscsi iscsi_tcp"
+ # Hardware (Pluggable)
+ MODULES_FIREWIRE="ieee1394 ohci1394 sbp2"
+ MODULES_PCMCIA="pcmcia pcmcia_core yenta_socket pd6729 i82092 i82365 tcic ds ide-cs firmware_class"
+-MODULES_USB="ehci-pci ehci-hcd xhci-hcd xhci-pci xhci-plat xhci-plat-hcd uhci usb-ohci hid usb-storage uas uhci-hcd ohci-hcd usbhid hid-generic sl811-hcd hid-a4tech hid-apple hid-belkin hid-cherry hid-chicony hid-cypress hid-dummy hid-ezkey hid-gyration hid-logitech hid-logitech-dj hid-microsoft hid-monterey hid-petalynx hid-pl hid-samsung hid-sony hid-sunplus"
++MODULES_USB="ehci-pci ehci-hcd xhci-hcd xhci-pci xhci-plat xhci-plat-hcd uhci usb-ohci hid usb-storage uas uhci-hcd ohci-hcd usbhid hid-generic sl811-hcd hid-a4tech hid-apple hid-belkin hid-cherry hid-chicony hid-cypress hid-dummy hid-ezkey hid-gyration hid-lenovo hid-logitech hid-logitech-dj hid-microsoft hid-monterey hid-petalynx hid-pl hid-samsung hid-sony hid-sunplus"
+
+ # Filesystems
+ MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs f2fs fuse virtiofs loop squashfs aufs overlay cramfs configfs fscrypto msdos"
+--
+cgit v1.2.3
+
diff --git a/sys-kernel/genkernel/genkernel-4.2.1.ebuild b/sys-kernel/genkernel/genkernel-4.2.1-r1.ebuild
index 63ca226a8e6f..3f102169d528 100644
--- a/sys-kernel/genkernel/genkernel-4.2.1.ebuild
+++ b/sys-kernel/genkernel/genkernel-4.2.1-r1.ebuild
@@ -86,7 +86,7 @@ if [[ ${PV} == 9999* ]] ; then
else
SRC_URI="https://dev.gentoo.org/~whissi/dist/genkernel/${P}.tar.xz
${COMMON_URI}"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86"
fi
DESCRIPTION="Gentoo automatic kernel building scripts"
@@ -120,6 +120,8 @@ if [[ ${PV} == 9999* ]]; then
DEPEND="${DEPEND} app-text/asciidoc"
fi
+PATCHES=( "${FILESDIR}"/genkernel-4.2.1-post-release-fixes.patch )
+
src_unpack() {
if [[ ${PV} == 9999* ]]; then
git-r3_src_unpack
diff --git a/sys-kernel/genkernel/genkernel-9999.ebuild b/sys-kernel/genkernel/genkernel-9999.ebuild
index 63ca226a8e6f..3319be9340cb 100644
--- a/sys-kernel/genkernel/genkernel-9999.ebuild
+++ b/sys-kernel/genkernel/genkernel-9999.ebuild
@@ -86,7 +86,7 @@ if [[ ${PV} == 9999* ]] ; then
else
SRC_URI="https://dev.gentoo.org/~whissi/dist/genkernel/${P}.tar.xz
${COMMON_URI}"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
DESCRIPTION="Gentoo automatic kernel building scripts"