summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-02-23 18:13:51 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-23 18:36:23 +0100
commit01b81663a22bf86b2084f2835d4b2c0f18f5742d (patch)
tree53fab4e21f859a8f33435bdd9daf91b848132500 /sys-kernel
parentvirtual/dist-kernel: Bump to 6.7.6 (diff)
downloadgentoo-01b81663a22bf86b2084f2835d4b2c0f18f5742d.tar.gz
gentoo-01b81663a22bf86b2084f2835d4b2c0f18f5742d.tar.bz2
gentoo-01b81663a22bf86b2084f2835d4b2c0f18f5742d.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.10.210
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.210.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 d34504f0cc0a..bedb1956d8ec 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -2,6 +2,8 @@ DIST genpatches-5.10-219.base.tar.xz 6357760 BLAKE2B a269d5841d3a4b959c6a5ac49ca
DIST genpatches-5.10-219.extras.tar.xz 3872 BLAKE2B e750906a1615f45077bba557296d5fbb41cffbb909e33b61280dd35846ce13cf3ecf2620404b348d17bd26cd588a7edffea97c3be3ab78fdbf9ab6737ca4f8e1 SHA512 17ec35b053139a93997b5a3c35a7ba61d6ef87c05aeef3ca06eea3bddf76ea5e2e10664d304a673780e3543791c46580548ba4dde40fbcb42a86a484408af57a
DIST genpatches-5.10-220.base.tar.xz 6420640 BLAKE2B bc737c88f1e7eff80ccb12513ddbdbf9a2598477d691678c94ba3f261187d62af91dcb309b0a3d7b0ac97c1ef89d8aa774e179f97bd950bad022580447889492 SHA512 3b3b423b5f6ccfa0a74a567b1108c2027582b78409ca17f4044214fb3cb3586ec0cc0eab6bd2f5dd49f13fdbedb7d78a0ddcd596347ae0a26e7a6b6901ed10b4
DIST genpatches-5.10-220.extras.tar.xz 3872 BLAKE2B 71384eeb192c4d3ef24e28cba7848a2e51ec6b582d0904593902f15d8f03c33bd4155e9ec8b52b601af399bccac2c52b3892109dff151a89f636d9f130306e02 SHA512 e8b61757336cd513bb7c49725c569218a749ebf6782515a30c63c1d9ac922f8781ceb6d5399437889a281ac393970c09fd8bf0327f0de45cb8de1d604d49fb0a
+DIST genpatches-5.10-221.base.tar.xz 6529836 BLAKE2B 80524f1cb43bbe119bef0fec62feac75276aa3550c5b0f8e06e6305f57db6ec404a563c26445b7f37dba82d4c787a0414e14d5ccca3c6c88447725b8c72222e5 SHA512 6003c9e3334ed3c94b32b7c34066690fe9fd30b9de9411786b5a1f14c26a25408dbea8f53270c53892d581fb0130382bc97971feae967c49702c96e55c876297
+DIST genpatches-5.10-221.extras.tar.xz 3876 BLAKE2B ac56b5468f4d8185b969da1994b2130910969b90f5717fbd6cb600549ae2ff36625e8887396fd37406cba3c805fe61885b35cd2a5d4cc4ff3ef8ce750d80bd4e SHA512 3466cc36ced28964067ec83fd2c5febde70874b921cf4f9800f597d9757b283fab07ee548aeb4637003eab504dc6e85143436b9110fc3405c2fa9fbb3644e90f
DIST genpatches-5.15-156.base.tar.xz 6004636 BLAKE2B f70c2a3bfc3d65fea8d4764b953d147a1725162aeaf319701a3d4b1d47c846932c4c8cd009bf81b4ce33754e966dac4630e2f690c403ec5181e3cc122496db09 SHA512 4d2fd08626d433d7230b27fb1cbd8a3fec9a942ddbd01988dba8632f25b510353b5086f4db1d529b88770e579189fc7bf6a4d02828c662fcb230e51efbecad9c
DIST genpatches-5.15-156.extras.tar.xz 3936 BLAKE2B ad08b5d93b943236326d333c627ae8cd279d78fd2b8f8df420ce75be815472dca9785b8eb14015ca2dbc92560a8589d31b9f9edbf81280c85d1ce6fe58aed0b1 SHA512 580ba97a039ff7417b448d4df13b67ed262b7a47be449515ca80125a89b5da3eeee773757db6ff7389b501daee6ab708e19dc2713088ee118859e1e9d3f4b303
DIST genpatches-5.15-157.base.tar.xz 6083340 BLAKE2B da2898a405bfd934e761180064107f4d87d144105ade4c825ff9299cb4a0b57324927cf34d3a55fc7a0227d9db053caf5b0f8159ca0ddbd946d31459b2683e1f SHA512 04c2d322ec1f0946b7f0f551e0fc0342da749cade5f20f2da1a1e60fd0cd946593a797c053bbd0eb8121f70e69f6766f8c945a99fd77fca3eef89aeae6d5b871
@@ -46,6 +48,10 @@ DIST gentoo-kernel-5.10.209-1.amd64.gpkg.tar 63272960 BLAKE2B 66fba0e3b83fad66c8
DIST gentoo-kernel-5.10.209-1.arm64.gpkg.tar 56729600 BLAKE2B b8c1d52c2a13a899b18328ba7ffe51bf67d6c1a802569ae5ae2abdf57676d28605451c3da15b6fdc96584e3fefa68330ffbd01c5c196a3e3a948056998379734 SHA512 5dca9b10233e8eb973a9e3dd9bb571b900afa0d98569a4e9388c4c40d2ccedcbacb7a1bc90908ed038bfd5639e11ca05fc5234c9571752f308769c5de6e444a1
DIST gentoo-kernel-5.10.209-1.ppc64le.gpkg.tar 52869120 BLAKE2B f92afb6f8985ff958103c256f4f2c06fb38c1e0495bdd07de0f0a4ca12f5bc7f567172c24d27c27cf83e375c32e929b7e65a4f4b1c3508ecc0a01162f8f85bdf SHA512 9cb7a12b7b672b3b82b23153b0afd91cbef0906f7cc0458b8f34bd5cf389afbde8d3cd162726669be6cc4dfe2302ceb51d97e0937b7ab4afc5d06fb6b0f8f8ae
DIST gentoo-kernel-5.10.209-1.x86.gpkg.tar 53565440 BLAKE2B e99f3440f24dd31572a52000e526fd9c1fca236aa39b808411659738f4d9fb52672a452550dfb8d948183dc35ce18706c4d96ce63372ef221001fcfaa8744bdb SHA512 91d354a178995c4fa6e42a7001efd3c4c16005a5b7e3f4f9db308111ad905a16ceeb6a5dfef88cc6ecf67035b702e25d2bdb7e9e1ec26b2117dad785ebdaad1c
+DIST gentoo-kernel-5.10.210-1.amd64.gpkg.tar 63272960 BLAKE2B d5b24cb6f07b5273b4b7331b8715cedbbc6766cfa164d39f49f44dc34ac6c9d64ac65c246a91ba78ed7c4dc923f426e8161a61978d47c2ef1d1b8d587e1120c4 SHA512 eaaaef9bf52bee275ba55922fb794e38e01d92fa1f80b0e8e9b19e47851fb0101e697a30897b0359a6a4554395f3b01d20e8dc93d479a6c5ba644e547be8e512
+DIST gentoo-kernel-5.10.210-1.arm64.gpkg.tar 56729600 BLAKE2B 34aed412f162b13b447e80c6d2530aa8f89eac6d9733c4d63c4893dbaf5c59b8ea6751482e3c7eecaf4fe01dc3d0e33adbb86bdae77b30f281e3b8ff9f45ac27 SHA512 7758a9ccdb97a189eb4de314b975219fb6e410d1d63f037c8f55a8e225faca03b1fb9e01cacac686ec62449d48954f3350a4ddf865fb100fdfa476b5fe4ad228
+DIST gentoo-kernel-5.10.210-1.ppc64le.gpkg.tar 52889600 BLAKE2B b7b56081cf26eb97c64d47aa99cfa8fc570b8d30043257f633faad23482ad564eb6ca54dbfce5bdc8fdb240712fd4644f3bb744022244cd11e34f3a671a8c119 SHA512 79156d489fc0cd65da6e84414a3cf4ec55683167432b26b492ecbc8b4845b19a809e4be6129132e8330086123f157dc190895bfc9fd807d160be8fb13621653e
+DIST gentoo-kernel-5.10.210-1.x86.gpkg.tar 53565440 BLAKE2B 0c9b1548f99aebc07200829cdf31f5c9351e6f43871866b05bd8113e1b97a2bf981ddf2a3c43afdb15595132e9c22c9b73f52a60d58b8bb357d12c3a3925c29a SHA512 2c9574ad05094ec26f88c48b66171b4a18fb30be1ad3864b94f6042718c56ce5dbc706c039a331b97ea2c1e23a518c6cfe11d40a9dc65354d15effa4ae890b6d
DIST gentoo-kernel-5.15.147-1.amd64.gpkg.tar 66324480 BLAKE2B c6d5b1c2cde86c3573049ef89b5baed82fd871e539ac915e271edbd65e07b4a9c778cbe7076aac2e21cceb4a129ffb1f33c8866643bde65ac926b073f4da1985 SHA512 65a50d8664b37cd09e5923a09c96c2915e81fda1ec8fd14cef8723db3f52c6df1bb5247ed1c9414571bb90b82e01180d90d42711b3e2724bf803cd16edb237c0
DIST gentoo-kernel-5.15.147-1.arm64.gpkg.tar 59740160 BLAKE2B bd2f87241c5738ed3a2d7972cf48323956133b4585d12bcb24762b9d05a56e3bd9fbdaf2acdf08579390d5b1c0b7856e21dc2a64f41d55ca431eb186f917cc8a SHA512 d30158985928568e750c7c50af8e6faa6d834788280c2fced33f93ac83dd6b8997ffaa057c077ff508d7e454c92537806dc87917609194ff2f3b1a10273ff91d
DIST gentoo-kernel-5.15.147-1.ppc64le.gpkg.tar 54978560 BLAKE2B be4b07d1addc879ed061b2a3f9202d18de049d28df52350e021c5559e29c11243fa11a787a8239cb779b2eca6b6faeb4f59450c309ce4e7c340f8a303ef8662c SHA512 2a93b8ff166cbc6a1cd34836c7094217ba82c176d5d9fb313e5db47b281ac4d837dc286f580d291df45b159cdd13eeba5deaf7f1ac5f2b4237d5e1b276787b55
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.210.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.210.ebuild
new file mode 100644
index 000000000000..1a44f330be18
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.210.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="
+ app-alternatives/bc
+ app-alternatives/lex
+ 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
+}