summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-01-05 21:16:49 +0100
committerMichał Górny <mgorny@gentoo.org>2024-01-05 21:18:54 +0100
commite7f31cdbbc4e80df0f5ca512d1c950ce3d8789b8 (patch)
tree2417d536f30035e325e6b68afe33ad1aebaa1d2f /sys-kernel
parentdev-python/trimesh: Use EPYTEST_TIMEOUT (diff)
downloadgentoo-e7f31cdbbc4e80df0f5ca512d1c950ce3d8789b8.tar.gz
gentoo-e7f31cdbbc4e80df0f5ca512d1c950ce3d8789b8.tar.bz2
gentoo-e7f31cdbbc4e80df0f5ca512d1c950ce3d8789b8.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.10.206
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest6
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.206.ebuild127
2 files changed, 133 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 7e173a7b4d9b..4ffe6ef315ef 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -1,5 +1,7 @@
DIST genpatches-5.10-216.base.tar.xz 6323624 BLAKE2B 7322ad90ab57a998bd282bfe47defd592095beadeb75dc4caef010f1e05193df170c54676a69df1ae564cc2293fe275c5c56f324c0ce6fff022b86bae3b66577 SHA512 838ca62ea49fbdaffd47102cdf5c7f50da0a29ae4a20acf063193c48d2676b4633fa6c431044e47ecc79fad9ccca0481a2bd08d759444c6ac40fc5133c9bd709
DIST genpatches-5.10-216.extras.tar.xz 3876 BLAKE2B 60da30135bee0734e352fa197aa1e6ee0db45907c3053ca0707282a00250d835e483b92dbff50e882a4b5345bda5a68ea421769229416c4feb6d5c5b08c63f0d SHA512 712301b6fd53fcef79ab508b44fedf1f55ed9cafd0f707cf86d4061770addb66f7f6c2b9f8f6e1366ff7b88ded5cc8fc4ffbcc06ccb0e60672dc39f90b586a6f
+DIST genpatches-5.10-217.base.tar.xz 6347248 BLAKE2B 35c610d675da3fca5c1cb187267c8eec4036397dc690f07ab1fb25cbf810e749670ac17a01746eb668563d1cc7f5b206b9f44d7457284dfc2289f8a489a1f1ad SHA512 2c83342a07254bcd20e07aae95fa01c56c2f650c83b104bd1595dbc744b87d98262c2abb62fee3eb8bef68efbb1f0b980651bf54c1a41bfef97b46bec3e25255
+DIST genpatches-5.10-217.extras.tar.xz 3872 BLAKE2B 064f45be10fd871b85cf014894e01be7cc89a7a8d995a9cbc5dce54661e82b97d25b9b94c4ffdf35050dcf8784cd7a31f3fcc6531e7d9ab7f16d50f22d363f87 SHA512 ac67120c0fe629f9b184e415bc665be1234d5a9f5b9fe56210c81cfbad4a36471ec663fd51309ca616331990a30fa3b9c2a6e5aec4cb7eb11e4549ad415d0181
DIST genpatches-5.15-154.base.tar.xz 5941944 BLAKE2B b32e3bbeadf0b2b3e121d1cd017c3e77320fa8b7365e4106d6574934899ca1c0d4604370774da759a840c09693f89006365078cb77bcf1c23da5bc463d4a36fe SHA512 e32978ea17b1770d5180ebeaa6ba5f9e91e6b4bca70fc4dfced04c93aa7b6d76adf8c83c1b94a182b61fb6a5b73d3778789a0183ef9b49e887647348fadbf2e3
DIST genpatches-5.15-154.extras.tar.xz 3936 BLAKE2B 6940bf38e7c0ea4008d745171b61b4dc9825ed418a10e5d5c7fbd0ecd7a6bbabcb6c747830bc60f5d75250b826c308bb221e4720be47275e0cb653b3e21d8f10 SHA512 6b70c21c724be7e42d4e9b7ca0ee5af7aba1f7d2532ae73a571137290cebc4c6ba5146d4c0b73c9424827b876c1fba18e6b60868f09022902e0c8369b73cf2d5
DIST genpatches-6.1-77.base.tar.xz 4198960 BLAKE2B 9c6921ca87ec2c3338107a994d6e094c6bf4ca5a705f21b3efa2803454327782ccf2cefa78b2a1bfa59413402d5d89b757a5522b86943c8c8c5d97592138758a SHA512 34daab45df35b30a5bc155aa82b074f6516bb1af7b2976590f88d88e25f6e8ae369fd1299f7e2f645c045b29d6b805dd07291ab45c212a9aa27df566dd6aca96
@@ -12,6 +14,10 @@ DIST gentoo-kernel-5.10.205-1.amd64.gpkg.tar 63252480 BLAKE2B 52cf3967ac881aa557
DIST gentoo-kernel-5.10.205-1.arm64.gpkg.tar 56729600 BLAKE2B 62ecf66572c0b5da944e3200f7b0d1ba3e12231e66c5e90b1415becb0fd80d49da34b57fa5d20898f7c0085be25edc9ba939daa400e7587d6ac9836ede944f94 SHA512 5b5530f160b7119a200a4fb7c247aeff76055e92be92289d02be37f886dc522c076a19013d518df348f5fe352c758343c6ad61d7b0a819609f8020e2321de6e1
DIST gentoo-kernel-5.10.205-1.ppc64le.gpkg.tar 52879360 BLAKE2B 2ba47d25e79ad05473f8ae87c08039bd858daf5d67ba6746f01bc57b6f7515a76e91c34fec101d514e81caf4a4103f65be43a4351a5c509056fd53da98f0da8e SHA512 4817b60666808ed734d84f2bb0f2e2c051d3a908eb24c70ef8607536d3aff782925aa231bb0d8180e53224cdf30c426643ff375e7b3f5f047d50411eddf6d178
DIST gentoo-kernel-5.10.205-1.x86.gpkg.tar 53544960 BLAKE2B 49d504e1bf12d21b46f07350ac5388722e86a0b596834142bcaf85e4b21966dcce1a7f9079f14f8de10afc13bb125d3bf672c94d0578ff6629c9a9c41ca43e35 SHA512 5df0c658f331aa34d678dad7be3b19008ecd7324170dc828bbaeddd19f440b1a683ec2906d03492ca21394eef98475c009b2553ff8528ce9ab3894e5720cde57
+DIST gentoo-kernel-5.10.206-1.amd64.gpkg.tar 63242240 BLAKE2B 61d039e81dd12aabd5078e05fb5addba87b6631d5997d7766db0319075e2d220c34571803f73b727c0a9902488d3fa1563c5ec5d83067a56bd3cbf88b7f4a420 SHA512 2c07d8bc85dc0af9f50a171fa77f42a0ccd434c6f8a0aee2ca9e1061e27776826ae33f1f279dce3089f620e2472a1e658953303c277bff5ab25ea5547182f768
+DIST gentoo-kernel-5.10.206-1.arm64.gpkg.tar 56719360 BLAKE2B 11363e65b00b35f47d1e53701a09c8314062e15567b2b4d19bfd3ea1714872068bddc00d420db9b1d1e625749c1b6d1059e9c861dd713d3b9bf17036db8a2b77 SHA512 c6f16c26d66d36ed617478b0b74de8ad88a45c8ee5d5dabe0e72c211858dfbe737e5cfb6f7487343abe2a2ac459f7c38867e62eb0bab8a1df60e52b2cb6cd314
+DIST gentoo-kernel-5.10.206-1.ppc64le.gpkg.tar 52869120 BLAKE2B f433a8ef3774baf44701ca70846d77016a1765386f9de02e31cfdbc93664dc984a32003f848e6a847b78186f57142a1a67946f641a88356ecd378c09c50597f0 SHA512 2ce4665fc96d610ec6b3d7e33fca42946673e542de7c063fae6e9e10e000dd7666357b7c0f6ac391d675983d7501342cb427857ce6a85d3a951feb18fe601691
+DIST gentoo-kernel-5.10.206-1.x86.gpkg.tar 53565440 BLAKE2B dbee10567b798b1e5e28a6729240834a11d9d01efec1053f272dacfb87e89e0d72d3b00fa807b9c09979707e55ad260f067300219979d6a359d4a070d4aefc50 SHA512 ba99351511c4582cd8fa9db415c150195303cd9b25930ac65900c02338fff3205926ae2ee6c1a2661f1745ded3515823ec7a8ad8552fd502b7b86fd63014d092
DIST gentoo-kernel-5.15.145-1.amd64.gpkg.tar 66304000 BLAKE2B 6230b78343f7da4f6560dad475fd96489cba2b9e4f53993b96dedcb1a866ac27f69a829318b6f4e00740b19d4e2f62d62964773de984a9bab0bde93e301b7c05 SHA512 aff6039f9e9592bb5503ed7b43e596e3e04ab879a006c8510e97b31b39067124019bdeb3604763f4825a5334512894cd60dd5b4a533ba344c8a6e165c4e312a1
DIST gentoo-kernel-5.15.145-1.arm64.gpkg.tar 59729920 BLAKE2B 9af60d2b94c9f020c8117c0d68a87a8ac37675b9790f5f8a96acd3ffb458db6557353e824a6576708b9447359e69fcd1fe30e7a1eb92f4cc7753bbfd38c1a194 SHA512 6d73c1605589b6182bc77efa29d6418a3671770f70fd7ca32a17ac102e15b2895cba9c5ee6886ddf6c496ccca1aa919830899b9a53570db12c0fedc54f0f58fb
DIST gentoo-kernel-5.15.145-1.ppc64le.gpkg.tar 54958080 BLAKE2B d98524109be3596a6376cef37117e8114c354a736a340221cf72f30f2d7109a1edbae012e7e17e210bad4cf69f445a7034e0dbe83171a3b6779b79deace85ce4 SHA512 ac20b9e23142e10f918282e5146e66828b5bf21c75dce4b00e1b89124ef5c99c456b4ef35de1355d37c434c1a706dd2355f87b7da21fe06096ae17e7d8e5fe57
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.206.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.206.ebuild
new file mode 100644
index 000000000000..ace45549cb78
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.206.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-install toolchain-funcs unpacker
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 11 ))
+BINPKG=${P/-bin}-1
+
+DESCRIPTION="Pre-built Linux kernel 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://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.amd64.gpkg.tar
+ )
+ arm64? (
+ https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.arm64.gpkg.tar
+ )
+ ppc64? (
+ https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.ppc64le.gpkg.tar
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.x86.gpkg.tar
+ )
+"
+S=${WORKDIR}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel:${SLOT}
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+BDEPEND="
+ sys-devel/bc
+ sys-devel/flex
+ virtual/libelf
+ app-alternatives/yacc
+"
+
+QA_PREBUILT='*'
+
+KV_LOCALVERSION='-gentoo-dist'
+KPV=${PV}${KV_LOCALVERSION}
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ "${WORKDIR}"/*.patch
+ )
+ cd "${MY_P}" || die
+ default
+}
+
+src_configure() {
+ # force ld.bfd if we can find it easily
+ local LD="$(tc-getLD)"
+ if type -P "${LD}.bfd" &>/dev/null; then
+ LD+=.bfd
+ fi
+
+ tc-export_build_env
+ local makeargs=(
+ V=1
+
+ HOSTCC="$(tc-getBUILD_CC)"
+ HOSTCXX="$(tc-getBUILD_CXX)"
+ HOSTCFLAGS="${BUILD_CFLAGS}"
+ HOSTLDFLAGS="${BUILD_LDFLAGS}"
+
+ CROSS_COMPILE=${CHOST}-
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ LD="${LD}"
+ AR="$(tc-getAR)"
+ NM="$(tc-getNM)"
+ STRIP=":"
+ OBJCOPY="$(tc-getOBJCOPY)"
+ OBJDUMP="$(tc-getOBJDUMP)"
+
+ # we need to pass it to override colliding Gentoo envvar
+ ARCH="$(tc-arch-kernel)"
+
+ O="${WORKDIR}"/modprep
+ )
+
+ mkdir modprep || die
+ cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die
+ emake -C "${MY_P}" "${makeargs[@]}" modules_prepare
+}
+
+src_test() {
+ kernel-install_test "${KPV}" \
+ "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \
+ "${BINPKG}/image/lib/modules/${KPV}"
+}
+
+src_install() {
+ mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die
+
+ # FIXME: requires proper mount-boot
+ if [[ -d ${BINPKG}/image/boot/dtbs ]]; then
+ mv "${BINPKG}"/image/boot "${ED}"/ || die
+ fi
+
+ # strip out-of-source build stuffs from modprep
+ # and then copy built files
+ find modprep -type f '(' \
+ -name Makefile -o \
+ -name '*.[ao]' -o \
+ '(' -name '.*' -a -not -name '.config' ')' \
+ ')' -delete || die
+ rm modprep/source || die
+ cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die
+}