diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-03-23 06:32:11 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-03-23 16:11:57 +0100 |
commit | 92b36f6a8a3ef0c703bb590027992da72397f0f6 (patch) | |
tree | 051497e18766136ce42e2d4e82e3814c161a10ad /sys-kernel | |
parent | sys-kernel/gentoo-kernel: Bump to 5.4.27 (diff) | |
download | gentoo-92b36f6a8a3ef0c703bb590027992da72397f0f6.tar.gz gentoo-92b36f6a8a3ef0c703bb590027992da72397f0f6.tar.bz2 gentoo-92b36f6a8a3ef0c703bb590027992da72397f0f6.zip |
sys-kernel/vanilla-kernel: Bump to 5.5.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.5.11.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index e49bb15829a6..8f18c82e28bc 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -9,6 +9,7 @@ DIST linux-5.4.25.tar.xz 109489936 BLAKE2B 46882393c13f9c2394597bf267ec7361b2d8a DIST linux-5.4.26.tar.xz 109501004 BLAKE2B b6abf7a40e406ed3fb0a76b90eb87b842a3d4f6a52f1e533615fdab8bda6e9467d3fc3a112d674d1254af4d76a427886f1327f6183dcf29541d2f8c7f11da744 SHA512 28ff9c02e99fc4315c6c3bd6e9bb35d913ed3d9a4f0e2830c8af303e12f1efe2315595bdf82f07e07fcb5ed8c6036fb3c1ff5896b2efa5be5a4106745254b5c0 DIST linux-5.4.27.tar.xz 109496824 BLAKE2B 7375def01b7402f3abe7c54b5e0bd318e712c867ef8799c9b64418c57f72be2b88c3aa609054b0832643f4779e338cabeea297be2b376263b48f0d1b5c319883 SHA512 86bd2ea097075417daa98ae1da5677933d0e22342af79f0f442943d44cc0a2f02905bb60a48b803f70ef542dd4647246fc151573dd052f35954d8c0a159ee0e9 DIST linux-5.5.10.tar.xz 110740320 BLAKE2B 9498865279ca942aa3f9788ccabbb4e0b5e2ac67e0fac75c662757b276eea87c61dd34d6a0e64ab309cec58e0a0374622593ca7af961063488cef7705c58e774 SHA512 6420778d586a70c31dfdb4df576e935acba81a7062c288e663ee3f8530a5dedd8bf628452e08e6a3909394d29e01154f1f165835ab91c038570bbc6d9d0bf3b4 +DIST linux-5.5.11.tar.xz 110743096 BLAKE2B 7fde5515b48d05d87a04818eec3404031ac7c3910620c3ce76769c546d92f34112f1cff9ef5953be3b344b1230d45715556aa39852d3ef04db67345deba7423f SHA512 86e86120777eecb66ce2a6cb80c5f0c3fd184eaadcb82bc5d6076a0eddd8548e83a5ef459ca26d785bf29245a240a4fc81913bbe75fc9868418b8981b67dba73 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 DIST linux-5.5.9.tar.xz 110744896 BLAKE2B 0f9c4e49bd6d88be460609013fc2dfb6dc0d5999b3cd2321d9953ed42a97d373c04ecc21d4b28f2873f0086938910deeceadf3334f52920483844057eae4851c SHA512 43ec99c2496567753f8945cbdbf131e706ced98132418b80643c9730dab125ca993defda60e0eb64a8242b76127b7550d8bee89cb7d31ae51293344a25344171 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.5.11.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.5.11.ebuild new file mode 100644 index 000000000000..0fc8e2822599 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.5.11.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.5.5-arch1 +AMD64_CONFIG_HASH=e4d4ca36741d228042185e2a9047cd88fb5b4169 +# https://git.archlinux32.org/packages/log/core/linux/config.i686 +I686_CONFIG_VER=5.5.6-arch1 +I686_CONFIG_HASH=7d53d8a42f68648bce5b002aaf8c2b14e6298275 + +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 +} |