1 |
commit: c3992e1ec23916c61ecca55276310095e8126943 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 28 20:50:22 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 28 20:51:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3992e1e |
7 |
|
8 |
sys-kernel/genkernel: mark v4.2.1 stable |
9 |
|
10 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
profiles/arch/riscv/package.use.mask | 4 +++ |
14 |
.../files/genkernel-4.2.1-post-release-fixes.patch | 29 ++++++++++++++++++++++ |
15 |
...rnel-4.2.1.ebuild => genkernel-4.2.1-r1.ebuild} | 4 ++- |
16 |
sys-kernel/genkernel/genkernel-9999.ebuild | 2 +- |
17 |
4 files changed, 37 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/profiles/arch/riscv/package.use.mask b/profiles/arch/riscv/package.use.mask |
20 |
index 2401394ba46..420cdf9f09d 100644 |
21 |
--- a/profiles/arch/riscv/package.use.mask |
22 |
+++ b/profiles/arch/riscv/package.use.mask |
23 |
@@ -1,6 +1,10 @@ |
24 |
# Copyright 2019-2021 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
+# Thomas Deutschmann <whissi@g.o> (2021-03-28) |
28 |
+# sys-kernel/linux-firmware isn't keyworded for riscv |
29 |
+sys-kernel/genkernel firmware |
30 |
+ |
31 |
# Sam James <sam@g.o> (2021-03-11) |
32 |
# media-libs/libheif isn't keyworded here |
33 |
# media-libs/libavif isn't keyworded here |
34 |
|
35 |
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 |
36 |
new file mode 100644 |
37 |
index 00000000000..f04dbc8c951 |
38 |
--- /dev/null |
39 |
+++ b/sys-kernel/genkernel/files/genkernel-4.2.1-post-release-fixes.patch |
40 |
@@ -0,0 +1,29 @@ |
41 |
+From cdaef312247a3ed18c9fdcea084058e5f25a7f3e Mon Sep 17 00:00:00 2001 |
42 |
+From: Thomas Deutschmann <whissi@g.o> |
43 |
+Date: Sat, 27 Mar 2021 17:07:21 +0100 |
44 |
+Subject: defaults/modules_load: Add support for Lenovo / Thinkpad devices |
45 |
+ |
46 |
+Support for IBM/Lenovo devices that are not fully compliant with HID standard. |
47 |
+ |
48 |
+Reported-by: Patrick Lauer <patrick@g.o> |
49 |
+Signed-off-by: Thomas Deutschmann <whissi@g.o> |
50 |
+--- |
51 |
+ defaults/modules_load | 2 +- |
52 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
53 |
+ |
54 |
+diff --git a/defaults/modules_load b/defaults/modules_load |
55 |
+index 1cc1478..cee5f4d 100644 |
56 |
+--- a/defaults/modules_load |
57 |
++++ b/defaults/modules_load |
58 |
+@@ -24,7 +24,7 @@ MODULES_ISCSI="scsi_transport_iscsi libiscsi iscsi_tcp" |
59 |
+ # Hardware (Pluggable) |
60 |
+ MODULES_FIREWIRE="ieee1394 ohci1394 sbp2" |
61 |
+ MODULES_PCMCIA="pcmcia pcmcia_core yenta_socket pd6729 i82092 i82365 tcic ds ide-cs firmware_class" |
62 |
+-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" |
63 |
++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" |
64 |
+ |
65 |
+ # Filesystems |
66 |
+ MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs f2fs fuse virtiofs loop squashfs aufs overlay cramfs configfs fscrypto msdos" |
67 |
+-- |
68 |
+cgit v1.2.3 |
69 |
+ |
70 |
|
71 |
diff --git a/sys-kernel/genkernel/genkernel-4.2.1.ebuild b/sys-kernel/genkernel/genkernel-4.2.1-r1.ebuild |
72 |
similarity index 98% |
73 |
rename from sys-kernel/genkernel/genkernel-4.2.1.ebuild |
74 |
rename to sys-kernel/genkernel/genkernel-4.2.1-r1.ebuild |
75 |
index 63ca226a8e6..3f102169d52 100644 |
76 |
--- a/sys-kernel/genkernel/genkernel-4.2.1.ebuild |
77 |
+++ b/sys-kernel/genkernel/genkernel-4.2.1-r1.ebuild |
78 |
@@ -86,7 +86,7 @@ if [[ ${PV} == 9999* ]] ; then |
79 |
else |
80 |
SRC_URI="https://dev.gentoo.org/~whissi/dist/genkernel/${P}.tar.xz |
81 |
${COMMON_URI}" |
82 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
83 |
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86" |
84 |
fi |
85 |
|
86 |
DESCRIPTION="Gentoo automatic kernel building scripts" |
87 |
@@ -120,6 +120,8 @@ if [[ ${PV} == 9999* ]]; then |
88 |
DEPEND="${DEPEND} app-text/asciidoc" |
89 |
fi |
90 |
|
91 |
+PATCHES=( "${FILESDIR}"/genkernel-4.2.1-post-release-fixes.patch ) |
92 |
+ |
93 |
src_unpack() { |
94 |
if [[ ${PV} == 9999* ]]; then |
95 |
git-r3_src_unpack |
96 |
|
97 |
diff --git a/sys-kernel/genkernel/genkernel-9999.ebuild b/sys-kernel/genkernel/genkernel-9999.ebuild |
98 |
index 63ca226a8e6..3319be9340c 100644 |
99 |
--- a/sys-kernel/genkernel/genkernel-9999.ebuild |
100 |
+++ b/sys-kernel/genkernel/genkernel-9999.ebuild |
101 |
@@ -86,7 +86,7 @@ if [[ ${PV} == 9999* ]] ; then |
102 |
else |
103 |
SRC_URI="https://dev.gentoo.org/~whissi/dist/genkernel/${P}.tar.xz |
104 |
${COMMON_URI}" |
105 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
106 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
107 |
fi |
108 |
|
109 |
DESCRIPTION="Gentoo automatic kernel building scripts" |