summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-14 09:46:03 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-14 09:48:21 +0100
commit4b40a08acae7cbe417ad99852365bd29faa9298d (patch)
tree11ab421bdad8237b555943f967b4f821c64e3313 /sys-kernel/gentoo-kernel
parentsys-kernel/gentoo-kernel-bin: Remove redundant versions (diff)
downloadgentoo-4b40a08acae7cbe417ad99852365bd29faa9298d.tar.gz
gentoo-4b40a08acae7cbe417ad99852365bd29faa9298d.tar.bz2
gentoo-4b40a08acae7cbe417ad99852365bd29faa9298d.zip
sys-kernel/gentoo-kernel: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/gentoo-kernel')
-rw-r--r--sys-kernel/gentoo-kernel/Manifest10
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-4.19.101.ebuild76
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-4.19.102.ebuild76
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.4.16.ebuild73
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.4.17.ebuild73
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.4.18.ebuild73
6 files changed, 0 insertions, 381 deletions
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest
index 1498fe01a3f4..65bf6a77c1d5 100644
--- a/sys-kernel/gentoo-kernel/Manifest
+++ b/sys-kernel/gentoo-kernel/Manifest
@@ -1,17 +1,7 @@
-DIST genpatches-4.19-100.base.tar.xz 2992824 BLAKE2B 02722c5568726284afa812be3d9cb4555bad11133dd5876d8ee09771e584e73dfb6e7bd8a2829126ff2dada931856a07429715a918a0fe88786fa98fb6ad6edb SHA512 621a9294c3377720723e89b175bb4f0f2812e566b73952a81112bc1ef675862842e00f642ba37f728ae8aa0e5e5cc17b347cea564821c02c88c532668007b5cc
-DIST genpatches-4.19-100.extras.tar.xz 17492 BLAKE2B c896c916f2dfad38b35f1ebd080cb5b66f6bd51b28a77535fc2ae44b11a1a5bee1be52a7d6d5e30b80c635b59e43f40d99c2cea98cf0744374412626a939cc00 SHA512 169dea4d9c41057807c63a8d66aa7fb94d783e841a94a700bc0eb1995e620e6b529658d3899ffc54e5cfde4e9267e385dc2e36786ff0c31acecc0593456f8909
-DIST genpatches-4.19-101.base.tar.xz 3008416 BLAKE2B 920228c1a69dea64f1e9c5f1dded4b01f2de69c92420daf45ede91bfe1db4004989015ae52cfe9013e300779a68bcbabb1af4e17f90db631a43e1ee38885ad32 SHA512 4b1062307426582521d4366bd3802b3adf9bc53c597f9b7dcca335241e797b1c5bd34e637added9633b73d4171bb08f34410350c21f670c07feb6c800a94c5b2
-DIST genpatches-4.19-101.extras.tar.xz 17496 BLAKE2B 824a49411f6ab8f4691fe994ee2da8736a74759dcc7cbae69d807cb9fac3d0890a660e5ee24a8f1fe10e0bf449855c5a9c6e7e523fec057b5ad3af5dd13d1a3e SHA512 1fe7326b95bc4eecbe4e3aada018bd6cd5897810a44ac8c0e031c2052964c917050c775e0a32304c1838c8c00ad9091adda1901818346cbbe3e2a12cd941bf72
DIST genpatches-4.19-102.base.tar.xz 3110244 BLAKE2B 35127d29a603bcdeb3257a442f632e227069b7452874f571b8c602ea894e4069879de3799a5cdd439f6e81a1d98e5cb4e0c07b9aade5f26c14ae1bef2229629a SHA512 128ac3c560faa733f58f6b657966c9543331ab65379e958a41c63b74badb8ae1da047b57d3a9665aaff6a46440a6046647367cfb93b30e2a7f7cbb0c9f981d94
DIST genpatches-4.19-102.extras.tar.xz 17488 BLAKE2B 3d7cefc14e8ba60f2932605c6f5f333af9f2d60f05a54b64234e34cf67b689f5ac131c16906a4f1c077055dead9550d73fb8437c3d2606b190a2179fbb699bfe SHA512 7ab06588702737c907b5e63ba774eef50f76cfce7c8384e7306f4f7f4f25cbad8e7d558c1507148dea4865ba4bf37ec299e43575c496bd9dd18b995d3445981a
DIST genpatches-4.19-99.base.tar.xz 2980172 BLAKE2B 2da82ccc1a3a9f874f30046c4d7ea01730398d27c34be741b3fa64ca7e05972a4ef33f76e28383c488d71489c1eabd33e462c2fbbc8248e6d53486eabb1956e6 SHA512 481042c47ca0f56a3262e9920a1e245197672c51ac32624668974a8af5273d3ff593047bbbb6476b741de611c83c19ad6e4a09e1c1331baaf67c1998ef64bade
DIST genpatches-4.19-99.extras.tar.xz 17488 BLAKE2B d57f278109d3ea0cbe324e15666f119e2a9ef4ebfe6f9581dffdd6e9f4c11fca47dc08f2375da62928076647352772cedad41a8ab97b312b59a03956dd4a3954 SHA512 ae1f8f8fd8f9da3860e82d8838714248983014257386bab802ec3adf86d694db50db8d6cc9a9d01a2a6936e2ceb740a4f4732e48b1c40eebc8ffd523745d5dca
-DIST genpatches-5.4-16.base.tar.xz 622844 BLAKE2B c9b71a945733efde4ef1c3f4e5929573c4b338d7dfa2cd589ad64c567865eb7d1448f2e32a59548ba2d738aee5219467727fa68a3572a50ffade1cd574ddfd87 SHA512 3a1ad8e9f44076fe00f5fee586d53f3b028e7c2086dfc2a30659415ae6a5f8463623890d0a26965eb9fe33da31b1b03652097a0814602862145d047dc9977b33
-DIST genpatches-5.4-16.extras.tar.xz 1740 BLAKE2B acd4fd5705617564442e44326f5d5c6f0bab8ce1950cfda56d9db03ca1b0adfc3f0d8770a659010c8db4f4d6114adf667ffeefe636f353c9acc51c9ba07bdd0c SHA512 b44523a6da21eef1f547c0cfab9e2aaa2bde929dc2727d9ae748a55b6735e78d304dc66ebd1e97b57ed988936e91ad49e205dce10b745a8fded3b08e13dd1ce4
-DIST genpatches-5.4-17.base.tar.xz 649680 BLAKE2B 787d9e9285a69a7f8de8c82375c42a8de7bc0cb0299c725fb60d23933079eff9803e43559d1a8467c3c315ad6ddfa64e1ddc47e4e2bcecaef892443f1bad7b7f SHA512 bd3a9b544d542a05da5c606b34998b7aaeab8d0ac85b13c6232d86d2cd0bfd418a67c080e8ad3d4bfd1e43f6e9afac26df368d3b61f66583baf018e109d7ade3
-DIST genpatches-5.4-17.extras.tar.xz 1744 BLAKE2B 8a871ac738bba4aec50fd972c9a6f9233ca4a187b6e612dbdb32721fa1e5a7fd0169dd4c31658a124c8933518b05a9f4c2ba417d471e9922809a518cabdcb0f2 SHA512 b76cb8c9f6bc0aa640014c0377bb39cf8686d3733322b8e7ca92791e7dffe3117f32a537682ae1b516ad1c4e1e275b0fc7d7bf280daf2426bea0703e735b920a
-DIST genpatches-5.4-18.base.tar.xz 676844 BLAKE2B a4edc187e5ca93823c553f783cede3814ded47c984b417b9654904cc67a4b52818bfedc0997b452ebc00007317fee7d72736dbd555976c37c334b3e1eeb6ea09 SHA512 49d362d9347370e2d4385a7947b502b3786e71dfa30b6edca2967418b940f25f978bc8d7db25a1c87b84d22de4082adc12aca7d0abe5a797e796f6680770ec62
-DIST genpatches-5.4-18.extras.tar.xz 1744 BLAKE2B eb75009e3a3c9fce962971e512a4c142ae5a61b6547e41faea87087ed7826b60087ab3dfceb32d0fc27adefca40b93afcb40a1225ac88ff2bd608ee5cf52e768 SHA512 5a3328b447eb12b077c8db6c3e3518585b963575cf52691691504c28d935a30d12ddbe786e99f0a42ec1625714c1c064ac60b7c8845247cd981f709a65a478bd
DIST genpatches-5.4-19.base.tar.xz 782808 BLAKE2B 9b0b3e6090e33f5852c3fdd2ee58110f909beea9aac3c2591709fe97ba24003b9c923085f1577309052f94a934dc36be0937ded1df05828b69ddbc6ae31c158c SHA512 866aa0b06f8198739cabd54fcf09308629d00139f9068c255cdf61d96bb0288a5dfea7a46562ed51cfad2e682c29195e0304c442d659f50238cdc38e9e885fbb
DIST genpatches-5.4-19.extras.tar.xz 1740 BLAKE2B 85acc37c0b0087ca198bb168a18b764e0b2061c9d41bb1902308c517b1760031258cd7221725b7fa3145fc7b802b8bd8bb10c241ac5ddb6f1b4436ae92d4c783 SHA512 59701650a902e708c98d9e6ef3c5528be0831d8ead28ef2d46f1c4cdb386336ad36a137a4d77d0193c7acc10b1448dc54a18dc4177365d56069c7c3fb5143ae2
DIST genpatches-5.5-5.base.tar.xz 169776 BLAKE2B 781e5e23d69eac115dcf243bcb8a33b6793f1e53f303c634e80b32e6507a4d13f83ddf75b191dda159f4f55e4d00cc8cb1cd131039f6c5411e775c670f0f1ae5 SHA512 f177546e168274c4f814e50839f8f797f45eeed6690868131a0fb2a9b450051cd62ebe32c2118ac6e719be0daca5bafcf44696f69b0c5d5e23490ac5ac1dd362
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-4.19.101.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-4.19.101.ebuild
deleted file mode 100644
index 3b0d137453f9..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-4.19.101.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit kernel-build
-
-MY_P=linux-4.19.94
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} - 1))
-# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux-lts
-AMD64_CONFIG_VER=4.19.92-arch1
-AMD64_CONFIG_HASH=bf97de6a2e405659aaad4c251b7f0bb48d5ed3c9
-# https://git.archlinux32.org/packages/log/core/linux-lts/config
-I686_CONFIG_VER=4.19.85-arch1
-I686_CONFIG_HASH=1f0345e2983d2edd55b401cb5a87fdf365a4192c
-
-DESCRIPTION="Linux kernel built with Gentoo patches"
-HOMEPAGE="https://www.kernel.org/"
-SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.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:${SLOT}
- !sys-kernel/vanilla-kernel-bin:${SLOT}"
-
-src_prepare() {
- local PATCHES=(
- # meh, genpatches have no directory
- # (skip most patch release patches, we just fetch newer sources)
- "${WORKDIR}"/109[4-9]*.patch
- "${WORKDIR}"/11*.patch
- "${WORKDIR}"/[2-9]*.patch
- )
- 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
-}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-4.19.102.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-4.19.102.ebuild
deleted file mode 100644
index 3b0d137453f9..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-4.19.102.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit kernel-build
-
-MY_P=linux-4.19.94
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} - 1))
-# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux-lts
-AMD64_CONFIG_VER=4.19.92-arch1
-AMD64_CONFIG_HASH=bf97de6a2e405659aaad4c251b7f0bb48d5ed3c9
-# https://git.archlinux32.org/packages/log/core/linux-lts/config
-I686_CONFIG_VER=4.19.85-arch1
-I686_CONFIG_HASH=1f0345e2983d2edd55b401cb5a87fdf365a4192c
-
-DESCRIPTION="Linux kernel built with Gentoo patches"
-HOMEPAGE="https://www.kernel.org/"
-SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.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:${SLOT}
- !sys-kernel/vanilla-kernel-bin:${SLOT}"
-
-src_prepare() {
- local PATCHES=(
- # meh, genpatches have no directory
- # (skip most patch release patches, we just fetch newer sources)
- "${WORKDIR}"/109[4-9]*.patch
- "${WORKDIR}"/11*.patch
- "${WORKDIR}"/[2-9]*.patch
- )
- 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
-}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.16.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.16.ebuild
deleted file mode 100644
index 0041d89b83f0..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.16.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit kernel-build
-
-MY_P=linux-${PV%.*}
-GENPATCHES_P=genpatches-${PV%.*}-${PV##*.}
-# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux
-AMD64_CONFIG_VER=5.4.13.arch1
-AMD64_CONFIG_HASH=9eed969590614a38d370a9fe04a4f5d38ba5e06e
-# https://git.archlinux32.org/packages/log/core/linux/config.i686
-I686_CONFIG_VER=5.4.13-arch1
-I686_CONFIG_HASH=95f890a9f9131e7a0e01a4f3e9c5ee423756a233
-
-DESCRIPTION="Linux kernel built with Gentoo patches"
-HOMEPAGE="https://www.kernel.org/"
-SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.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:${SLOT}
- !sys-kernel/vanilla-kernel-bin:${SLOT}"
-
-src_prepare() {
- local PATCHES=(
- # meh, genpatches have no directory
- "${WORKDIR}"/*.patch
- )
- 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
-}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.17.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.17.ebuild
deleted file mode 100644
index 0041d89b83f0..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.17.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit kernel-build
-
-MY_P=linux-${PV%.*}
-GENPATCHES_P=genpatches-${PV%.*}-${PV##*.}
-# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux
-AMD64_CONFIG_VER=5.4.13.arch1
-AMD64_CONFIG_HASH=9eed969590614a38d370a9fe04a4f5d38ba5e06e
-# https://git.archlinux32.org/packages/log/core/linux/config.i686
-I686_CONFIG_VER=5.4.13-arch1
-I686_CONFIG_HASH=95f890a9f9131e7a0e01a4f3e9c5ee423756a233
-
-DESCRIPTION="Linux kernel built with Gentoo patches"
-HOMEPAGE="https://www.kernel.org/"
-SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.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:${SLOT}
- !sys-kernel/vanilla-kernel-bin:${SLOT}"
-
-src_prepare() {
- local PATCHES=(
- # meh, genpatches have no directory
- "${WORKDIR}"/*.patch
- )
- 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
-}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.18.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.18.ebuild
deleted file mode 100644
index 0041d89b83f0..000000000000
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.18.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit kernel-build
-
-MY_P=linux-${PV%.*}
-GENPATCHES_P=genpatches-${PV%.*}-${PV##*.}
-# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux
-AMD64_CONFIG_VER=5.4.13.arch1
-AMD64_CONFIG_HASH=9eed969590614a38d370a9fe04a4f5d38ba5e06e
-# https://git.archlinux32.org/packages/log/core/linux/config.i686
-I686_CONFIG_VER=5.4.13-arch1
-I686_CONFIG_HASH=95f890a9f9131e7a0e01a4f3e9c5ee423756a233
-
-DESCRIPTION="Linux kernel built with Gentoo patches"
-HOMEPAGE="https://www.kernel.org/"
-SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.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:${SLOT}
- !sys-kernel/vanilla-kernel-bin:${SLOT}"
-
-src_prepare() {
- local PATCHES=(
- # meh, genpatches have no directory
- "${WORKDIR}"/*.patch
- )
- 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
-}