commit: d7f3edc175e14e935079baba1a56a8345fdb6601 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Feb 21 05:57:28 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Feb 21 11:06:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7f3edc1
sys-kernel/vanilla-kernel: Bump to 5.4.21 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-kernel/vanilla-kernel/Manifest | 3 + .../vanilla-kernel/vanilla-kernel-5.4.21.ebuild | 65 ++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 932ca35600a..2186489d3aa 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -6,8 +6,11 @@ DIST linux-4.19.85-arch1.i686.config 222183 BLAKE2B 03eac77940db0ee6b4f2a006edc6 DIST linux-4.19.92-arch1.amd64.config 222487 BLAKE2B a658d80d85525287a1df9053ca2ddfe423ab423bcc3b9ea8bd9cda65cc7ffa4b1be782c48c867c13e46070af4016f446860f5cf71351f239da1eff6c45a5aa6a SHA512 a5658c8e8464516dffd6f624344e739784cb315d334b2c5105bd5d16022b6366ad4ec00d3692a7b78e2458514175522bc85e834bf19593feff6363b616860258 DIST linux-5.4.13-arch1.i686.config 239816 BLAKE2B e776321fa163759332e7b5e3cca6a8a3f7124fc7a5bdd498f0aeaec1f2a819f27a87ca6f9f3fb0f0b9f28e8ba6f207bb27c5e48a494664d21ea3845e99b1eab4 SHA512 4e083028a140fcd2e65bba3c39e9d7bf9004e114b3233e8c2ab9e67405a3db9179c10a9564407bf19875317a352453f3e02f137297941277f694e687d3b97674 DIST linux-5.4.13.arch1.amd64.config 241498 BLAKE2B 3c6d13d84ea75247fae4f4474648abe295fb6ea577d4c9becc58551c3954d35a72edd5937b7bb345f783fe2015940035d5f6766e08e5a9dd6b8723cc69c85ee6 SHA512 3039a333f3000f416bfccd7efdc54c8ea07d9b01b349be87f83b7dcb3e0f13a1f3fb02ccae42412cf28958aa7df42ef73f87e637269c7525476d73682596fa07 +DIST linux-5.4.18.arch1.amd64.config 241388 BLAKE2B dacc83b154eab51e3c7f57bba6e02a4edfe34fa584c907f514b8afe9cb7ef39aa245caf82a35f648e379883fbbb6426b763879676cd3cecf741bcf342f165a81 SHA512 bf211c4293f7dbd980bfcc47fb337a2db359f1320573f5086a5ec60a0c50b4105723e010212eb6d5b9c2ba3ecb5fa4381f8b67c16596647c030b4f49274120b9 +DIST linux-5.4.18.arch1.i686.config 240651 BLAKE2B 9e00b28951593aefc53cf735bd30589e44c9326f53ff98f7b2a244e171192910f93ab9f20d879ec06ace9b1169a6b3d3d6acf2105736905cca3b9c2db1cc8e68 SHA512 0c9331fd1256e044734d24d4ca58e2677604482aa0ce33f65a5df63dce4d2615ea9686a53a0e603956437d9b9d23e54389459d7ea0bfe66597609dae96952785 DIST linux-5.4.19.tar.xz 109480508 BLAKE2B 8e51c7f13cf328bd93444ea27898e789f2d6a1bc85be6d95e6300c44a1d6b8c5e0e35c6c1f3a9da3acea748e63e5bf4bcc08154d2ae0944e594fefef07e82fde SHA512 f122ee2baf31c4af6e6c727116558ef535d824fd893b80944f3272a32aa33c699be692c19b6a7333a4fbe93e706dca1f1b5ab3c918d9c9fa690daee42e2185e6 DIST linux-5.4.20.tar.xz 109485940 BLAKE2B 57f09bf197864cae4245ac7df11a4f42c48205efef7423b70b241f8d17906f26326189b68ce95463dabdbded8d14e440f22ee6c1d80be75434f71c27f145966f SHA512 4bb38382eecf41a3e70adeb722c52e0475da27c80c4e07cdba806c5371ceb4bcf621229a991e19fab7e58cbc854052013e5ccdb2c8a1fff08978c002359d0166 +DIST linux-5.4.21.tar.xz 109482812 BLAKE2B 21322e6bddbdb2d8e7c0e21a3bb908b83230bcf28626273e4af745e6453823a9d33d46ab86121175278748c7823c8139ffa9eebaa4da1995f7debf821adb5992 SHA512 816e0acc3be5ab5614f573fea6749fb3e2bd260753f97129882455875b60faf2cf1bee949e5920e11a05052e8ea845a94a922ea6ab4e9097594b2f468bd8d75a DIST linux-5.5.1-arch1.amd64.config 243880 BLAKE2B d8a5b3fc87c462000ee63bf8611c4075737a61a7fa939b941bb0b139f5e94ffcf53809e3ee1a80b280d2ad2241530f2aa524fbbd291c1198f0aebeaf3bbd9718 SHA512 0b58154a521e41f6275f56198ed8613afaf70b3b793aeed526c00caa74f94dd6191f2358e4678e18add05f6423f472372a1f5cf6ea652197da296ed2a5628ba5 DIST linux-5.5.2-arch1.i686.config 243261 BLAKE2B dc0a7efb9c94af540043db8e559c04bfe2eb493158b0fe7d25984b85ae364cf262cf78ee57f1b1b6c4e9cc51138be15c098268e77f63f158702851352952837b SHA512 29cbf564fc30f9e8030001cae09d2711292d4e2c9c66f96a61a7d1575dd93d86f00d356697f011ff3810c8db95f95ac1fd54d6220c1f9095797891c29a7e2723 DIST linux-5.5.3.tar.xz 110706004 BLAKE2B fee027190fec757fdda70f7ef302914420e99644fac151acd32f2c9e562ccfa866c6702a28db98e6df8947ec161d68165161516bad083f0de8f5b35fe82dab05 SHA512 ffc4f5605b6f9278030146d8ed8f1c3341bb588f6a96400ff5466daf0d74e95e94bc47f22308ef917adff3de211385e959de583b91523a1ab1e0e93b4326e3c3 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.21.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.21.ebuild new file mode 100644 index 00000000000..120e57e30b7 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.21.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-lts +AMD64_CONFIG_VER=5.4.18.arch1 +AMD64_CONFIG_HASH=f81c67d74936ab16f9356add6600be0de003abb4 +# https://git.archlinux32.org/packages/log/core/linux-lts/config +I686_CONFIG_VER=5.4.18.arch1 +I686_CONFIG_HASH=c4c120c5fde43a49d84db7d60a9722e2ca1d1c2a + +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-lts&id=${AMD64_CONFIG_HASH} + -> linux-${AMD64_CONFIG_VER}.amd64.config + ) + x86? ( + https://git.archlinux32.org/packages/plain/core/linux-lts/config?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 +}