diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-03-01 21:35:39 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-03-01 21:36:12 +0100 |
commit | 38fefdee57f844273b60eb858279a78e3debb142 (patch) | |
tree | 0378840a955646214c765ca0c97237515bfd82b1 | |
parent | virtual/dist-kernel: Bump to 6.7.7 (diff) | |
download | gentoo-38fefdee57f844273b60eb858279a78e3debb142.tar.gz gentoo-38fefdee57f844273b60eb858279a78e3debb142.tar.bz2 gentoo-38fefdee57f844273b60eb858279a78e3debb142.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.211
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.211.ebuild | 127 |
2 files changed, 133 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 4862991a55bb..f492021a929e 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -2,6 +2,8 @@ DIST genpatches-5.10-220.base.tar.xz 6420640 BLAKE2B bc737c88f1e7eff80ccb12513dd 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.10-222.base.tar.xz 6576780 BLAKE2B 8ebff676256f3694cda64863f17a38ca91b45dd70a441198b26488f52334b0091a0975619f8dc64ceaa8f11a09c2d251ccea535ce76a17d2674268f8dedcd724 SHA512 b9a60f9ae5fa4bd8be277a0e421efe2950aebcc026f72bc48ebe8f9a976171496cd429539fbc386e0b5d3108a78bdf1f34e39455f6ae961f6fb87028b204125a +DIST genpatches-5.10-222.extras.tar.xz 3876 BLAKE2B fd8002a9b43af80fcf5cedc8166989ec7f4cf5d3586e48c6fcf057b4e2569687610d502c256b839bc148d9aec41f9dc0af9811a25b21fae43499455ff92d6a30 SHA512 13b7bb8c2d6e2f9ec660bcfcedd21b4b676026ceef6752d77b9d3a0fc553837dbb9f0a0ba291a73bdd4f469034ef29aadfcff21a8dc3fdd077dfa7b28daa5a35 DIST genpatches-5.15-157.base.tar.xz 6083340 BLAKE2B da2898a405bfd934e761180064107f4d87d144105ade4c825ff9299cb4a0b57324927cf34d3a55fc7a0227d9db053caf5b0f8159ca0ddbd946d31459b2683e1f SHA512 04c2d322ec1f0946b7f0f551e0fc0342da749cade5f20f2da1a1e60fd0cd946593a797c053bbd0eb8121f70e69f6766f8c945a99fd77fca3eef89aeae6d5b871 DIST genpatches-5.15-157.extras.tar.xz 3936 BLAKE2B d559b4c240ab2b8a0b522d846c3d9707b0beacd800e137517c29b51253283b47caf05f7facbdd7be747255dc2485170ecfad04a3ba5293d749c8d22ae60886f7 SHA512 e99880adebd2d08067fbcc73bf01eb844c39cef7c06e99b95c9622949e38a2ed58045f27e71bde4d5321dc06212848c884c8f4added4c41a8a1197cd375091b8 DIST genpatches-5.15-158.base.tar.xz 6218288 BLAKE2B 04f37b07da08635e59afd941a96df1f55683bda62fc72258005c23fac7048995f670376b57a0d4dadaf2018d1f5819da5239c04bec6c12e0e50c3fcf24c451e8 SHA512 b7d29d8d1f58b3cf534494ace74091042834f6c237667d9b1ae4dce194e5fe7ccef1269560b5edf4fa4eb4c8b9dacdec7bd7cb96bf22e95a93be7946f7cc2b36 @@ -30,6 +32,10 @@ DIST gentoo-kernel-5.10.210-1.amd64.gpkg.tar 63272960 BLAKE2B d5b24cb6f07b5273b4 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.10.211-1.amd64.gpkg.tar 63262720 BLAKE2B b28e9f8f4fe080696482e1f7fa94155f3a5f5ee5886e87def39783cb3d8b67c8474e01a7ea020b462ca32a11290846157aa9b1a605a2c05560164313cbb3e47f SHA512 08dc758585b49050b1cab08ac393994503bbe1af0ddbb0bd8eef2aa86dc639be7097ed50d58979ce6d272c53818777e00a135450fa86e209ef7941104c8bf02c +DIST gentoo-kernel-5.10.211-1.arm64.gpkg.tar 56719360 BLAKE2B 29f5703c1034e62264680352f5177be185ea785fff0180f15b82b1c66303169c3f896a0fc269e290e34610ce3e5c875c5561dc1479780033bb64f25b025f5d00 SHA512 8071435aed74706298e58d30b29ed120c7f6bb0b959d923fc08a1c963f00a88c747b1ddfc2dffbfd0e72d037ab84a858c5f294884cf86f2633da5484fe88b9fe +DIST gentoo-kernel-5.10.211-1.ppc64le.gpkg.tar 52879360 BLAKE2B 4bce9bb490f59af0351ee751b35f63ffe7317dadf8089b38ba1c3d590f7d9e7bfd5e696fec9a2a4c4436ec4cb4b59de8a70688e4f0b1bf1ce6a2b6ab28801f2d SHA512 ca3b40e5eceabc5d41660658fa96f836fc24d4552886084af7ae1cdc8317acaaf2b75bdbc1ba201115234d700a0acc192c88e17f968e9cb260ba60fd92448045 +DIST gentoo-kernel-5.10.211-1.x86.gpkg.tar 53565440 BLAKE2B 4b0168f5906948fe98f99fa755c0ba46bf69d2a0f267e4554667c1201c8cc6f83e266bcd71a25a586b7e21a3871158c8236d91321e9e774e18151d91c9e1864a SHA512 b312e0f42c1a1015a9f41b3ad89da0f9e5f5a308f14185989027df8a82835b0d1bdf5232f34e9bb5056fb1c619ffc2f02e1ed5c6a88efd6d3d3e5b1a35345ba2 DIST gentoo-kernel-5.15.148-1.amd64.gpkg.tar 66344960 BLAKE2B e741e0d9ae491df35f5cd8aae4e7a5e4150ce8f5f9b5643e3d14574c2244ee74639e36dd7944de9629f1664a0e9fc226d8e7d65ca65c2eb766a614b8c2ba0ede SHA512 27ee086cd3b7105a3da9d43fafa7f4d97632f4460a5e24121a9e73565310eaf36b6583579c30d7da28b1f49d7e482893b57e97566d13f9da0ff512ff6749f63f DIST gentoo-kernel-5.15.148-1.arm64.gpkg.tar 59729920 BLAKE2B adffbea7be512987df0813af7b7b55675adc249a7b2780e9d814ddd6699f4343f4d33a393ae044f89d09c27d08b22cc7ede718c423d13e630f821ed723652f1c SHA512 c83dd1bdf5578dd35be2330a690aa0137f00fa1fc66fa85872f959833168b15c695de08096da5b5113c37557dfd007365d0fab330c9b52f49ff1fdc1257c98be DIST gentoo-kernel-5.15.148-1.ppc64le.gpkg.tar 54968320 BLAKE2B 1629ca402319f9841e7c3cdf0b0ba0d3c58e55b3ee6ee47820d12c8f2735fa628e45b74d10bf9fa79e3ac7a2c0b178661f789e0c175eee3ddace9d5de9a5dd9d SHA512 20160f5e30aa14725cc2733d6e01aedd1dec39229cba7da985f91e7b500f4a3bdaa9bd35578b21610b95bde2eea06cf8b08ed263de92cce5a311476d1b0ebfa1 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.211.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.211.ebuild new file mode 100644 index 000000000000..1a44f330be18 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.211.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 +} |