diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-05-07 07:29:12 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-05-07 14:05:50 +0200 |
commit | 886c2cb07690c1d08bed25993bafe1a9ac0738c9 (patch) | |
tree | 0fb95adcb7c52f0db28719d746ccf64863c2ec60 /sys-kernel/vanilla-kernel | |
parent | dev-perl/CHI: -r bump for EAPI7 (diff) | |
download | gentoo-886c2cb07690c1d08bed25993bafe1a9ac0738c9.tar.gz gentoo-886c2cb07690c1d08bed25993bafe1a9ac0738c9.tar.bz2 gentoo-886c2cb07690c1d08bed25993bafe1a9ac0738c9.zip |
sys-kernel/vanilla-kernel: Bump to 5.4.39
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.39.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 4c86614dfb4f..387e779a372d 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -3,6 +3,7 @@ DIST linux-5.4.15-arch1.i686.config 241195 BLAKE2B d3332b83a3d57c450bb1d5e85d83c 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.4.39.tar.xz 109528644 BLAKE2B 359300cf9628267e5f450623d6ca5e0a918201f3f376c680412e8dad8a196ee86b5b50ccefb95c4ea9e40b0acfdffad07947e64092be4b6b0aa565068615ed12 SHA512 d95a1bace75430a8502ffd5d2225f449580b8cff3d68bd084e4792eceb18a38ae8092f223ef7834bf2b2bcc7cb21487bedc01ae8f1640db14c83bf8dfbcc7360 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.39.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.39.ebuild new file mode 100644 index 000000000000..cc5e365bda59 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.39.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 +} |