diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-05-04 08:00:19 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-05-04 15:58:52 +0200 |
commit | 72672c58c8556706311393cc2061a44cd824c8e0 (patch) | |
tree | a67d8bf508fe2b0aef16ca35b62fabda095786eb /sys-kernel/vanilla-kernel | |
parent | dev-python/wxpython: Revert "Remove old" (diff) | |
download | gentoo-72672c58c8556706311393cc2061a44cd824c8e0.tar.gz gentoo-72672c58c8556706311393cc2061a44cd824c8e0.tar.bz2 gentoo-72672c58c8556706311393cc2061a44cd824c8e0.zip |
sys-kernel/vanilla-kernel: Bump to 5.4.38
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/vanilla-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.4.38.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 4b12881de1a0..ba8f6110282a 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -2,6 +2,7 @@ DIST linux-5.4.15-arch1.amd64.config 241498 BLAKE2B 2ba5eab2455c909878c36c608471 DIST linux-5.4.15-arch1.i686.config 241195 BLAKE2B d3332b83a3d57c450bb1d5e85d83c71f3be730a15775b7e1d89cec2d72d28f1921987c63d95fe7bea6778efe0012ece6186449f07f6aca35ccf86805186c0f4c SHA512 187d88bdde7325d46b4bfee8d59ace88ab7dc377606b411e1249f9deee2b571ec42bac52c29d26d67bfadece2e77aad6d5e0255a95a84c200757cb05c69160a1 DIST linux-5.4.34.tar.xz 109518236 BLAKE2B f8a73185310efa1b2eaf401a2e33f0e94564ca0e831256b8d341a211cc5ade93f3a559c1f64ae1e96638bdff9d7637e5e2631998e86e9136d5869880c3a77641 SHA512 4569e21d2b32bc10c87bfb310fdca836176828d2a000a7c92461c918b266762f043c71dccd03ca06b539601fa0eb9c8adf3f9d859fea665e191bdd507d60a306 DIST linux-5.4.35.tar.xz 109524684 BLAKE2B 0e73ef5292d77329d26b165d7da887f5ebc018049d6e9ff25f0036062201e1438f6b8c8234d0201b064e5c663d25b0c258e58ded44c1087c53cf6406676d7724 SHA512 66daf0192339450b0838cd1aef013ea8675f8687e2271d8d9b79c842e8cb081541788eb16fb0b6e5cd0b15617be67813c53a4db2d2e63219f3c64e692c325c5d +DIST linux-5.4.38.tar.xz 109518904 BLAKE2B a1c627a0b26bf9814f532cb0b9801030b70de2dca3450d69ca1e6eebed60640f7702baf2e54887641bb94e2f1c8b62392731f78e66c2e4af77ec57a38f909908 SHA512 a72dbe2234e0f16295cc43880e24de3b191fcbf0d83bbee6eb99b369aeed2319259e368c78fe6223d6cf4ad9f7e82752e8d5793a3e5ad788e4d17508f506b906 DIST linux-5.5.19.tar.xz 110770092 BLAKE2B cd30a600a2b9ecd3f26ff994fa54871a0fabb24ca1db70b0657732fffcc9c77e9aaf14ab440b2544b77744ea0a8c325de47dbe01e8df54cc47880d38343ac1e9 SHA512 6eb7727b53b32cc1af33cf3561340b29f0e4ec6fb105f07470b4be19bc6617cef11b9fef1f82e0b10dc063367817173440002023cdfbd71cba5e355b4f6d4db5 DIST linux-5.5.5-arch1.amd64.config 243885 BLAKE2B 088e76a9981a64cd6163667fd09cc02148f15cc53812a429d1f5e22dc893823f57041e581ec957f38504c1fbb5aa0c7886847d1ea4cdc44d5ab245dcc304edc3 SHA512 e6958e1fd35e2a900fa6c81e68e35b42496e245829b8bfd85d9d351dcdf8bbea93d25a0edf74871beababb4ba28cd7a731e589e68e047ac972d973ea8c20d3ac DIST linux-5.5.6-arch1.i686.config 243301 BLAKE2B c5fdd9dc2a0baed1ea421faa8f254d6ece47e89b78fc4c25c38369b53acc1f954978f2f86eda23b77d20a35096a596944f9c433db66008278ed2b8140823ce62 SHA512 b2d75bb1826a4dfad10aa5b6fa9cce2684d5de2dabc6da165e192e5a33cbd6eeaff4d7f236e074f4c099830e01e767bd6bc14a70d644057dce59288ae9704877 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.38.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.38.ebuild new file mode 100644 index 000000000000..cc5e365bda59 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.38.ebuild @@ -0,0 +1,65 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build + +MY_P=linux-${PV} +# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux +AMD64_CONFIG_VER=5.4.15-arch1 +AMD64_CONFIG_HASH=dc8d69b59a7a529ec5aaeb6b32b16e59a3cc1569 +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.4.15-arch1 +I686_CONFIG_HASH=1ad219bd3f0ab439a81ed01fec7660eeea7daa0e + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + amd64? ( + https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux&id=${AMD64_CONFIG_HASH} + -> linux-${AMD64_CONFIG_VER}.amd64.config + ) + x86? ( + https://git.archlinux32.org/packages/plain/core/linux/config.i686?id=${I686_CONFIG_HASH} + -> linux-${I686_CONFIG_VER}.i686.config + )" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + !sys-kernel/vanilla-kernel-bin:${SLOT}" + +src_prepare() { + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}"/linux-${AMD64_CONFIG_VER}.amd64.config .config || die + ;; + x86) + cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local config_tweaks=( + # shove arch under the carpet! + -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":' + # we do support x32 + -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:' + # disable signatures + -e '/CONFIG_MODULE_SIG/d' + -e '/CONFIG_SECURITY_LOCKDOWN/d' + # disable compression to allow stripping + -e '/CONFIG_MODULE_COMPRESS/d' + # disable gcc plugins to unbreak distcc + -e '/CONFIG_GCC_PLUGIN_STRUCTLEAK/d' + ) + sed -i "${config_tweaks[@]}" .config || die +} |