diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-03-27 16:50:42 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-03-27 17:31:23 +0100 |
commit | 1c2d3e99ebccd133680ae47b6acf5ab340e93e95 (patch) | |
tree | 210bebf6d0e908e490bb20ae7108a142bc6339e5 /sys-kernel | |
parent | dev-python/hypothesis: Deselect tests failing w/ pytest-7, in 6.98* (diff) | |
download | gentoo-1c2d3e99ebccd133680ae47b6acf5ab340e93e95.tar.gz gentoo-1c2d3e99ebccd133680ae47b6acf5ab340e93e95.tar.bz2 gentoo-1c2d3e99ebccd133680ae47b6acf5ab340e93e95.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.214
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.214.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 d94edc8f7805..00c469cf49b5 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -2,6 +2,8 @@ DIST genpatches-5.10-223.base.tar.xz 6584808 BLAKE2B 41f0555956697c8963664a61259 DIST genpatches-5.10-223.extras.tar.xz 3872 BLAKE2B 26ea7a17b505ef6ba61301999d962c745416164cc047aa5049d6db192f714a73ae0e89d5faa74724820524f4398b2d2f86d00479f28c38bdfdfef52c03bc5ccc SHA512 12b85bafc1b22ba4f310f74fe18c936e6d251787913d03849b117268e4c15e9b0ecf5cf9bcf8275630811e2babc845cc0b817b3d50a9c19fd548a800da537932 DIST genpatches-5.10-224.base.tar.xz 6613216 BLAKE2B f62d92ad50be996e40459a55f7d2ac9e12a838fd56d221a93bf331f5d60ebf587c347ee915135334a37a0dcbe14dd8e0b1f47211f53c2fcc5d1bc113a849cdd6 SHA512 ff7114c6ac151f923b43d7c5261c59b1281fb6066a45620d61c17f23dad6ec7ebb1557a8d8aa5b278c0d110cf3c98e84948a10fedf89525207cbd22aadb6e0cd DIST genpatches-5.10-224.extras.tar.xz 3876 BLAKE2B 819af23c0a0524ca4bc9655eca4dd3a6ac9569409df4f496630a5f42823cb1663e472082abdd0f745d8c12da64a010703f7800215cc1eea0991fbf2f09903327 SHA512 199b0eac0807285691acfac8b36a675887c546a4afe2602dfccbd4792b5175583d933f199198a0b897418097825336a431316201cedfeb6e07e7d89a54cabb0e +DIST genpatches-5.10-225.base.tar.xz 6772188 BLAKE2B 39328b3d07cf007e8b85022a478b70011de41b32968f8ba61d6cf5e153c8e5f1bed488d655911ebc657548061da14e172dd04864dd2e2df48faabc6e5f535979 SHA512 d3046f9d3792c7b55c5a5d2bdf376b112dafb3facf372259939a8fc8a4f3ddb1e64ed31a90ecc8032d8631feb646b04d2864dbbf846f05b5558c221b61d79bdd +DIST genpatches-5.10-225.extras.tar.xz 3880 BLAKE2B 340f98133bf43bc6313882f834186de7359277184e370d6f81d6a857fa6e42b8a5a210896ae8d462c160a4d0ca1d373f435e752ed08b34a466e635720e7120b5 SHA512 9afe7f84bebdf6a6f410df7fc6598d130bd765d2f79ce1827f61c36d6a166c741631ba2812bc2ef0c27d5c48ac6ceb38676e2a254143e267997570b9cee07d94 DIST genpatches-5.15-160.base.tar.xz 6317352 BLAKE2B ccee78c3ccba8755f0e9de9e62c870d7f85d5302d2cdafd178184bbbec51d1a69be990c49f58fe1a1f897ed7e59bba1cc5eacc7589b4476ee6fcac19a90b0e78 SHA512 e36a435f9e353cd48ee12322f998a2fb4e9cf29eeb9e6f6f95534a48524db17b6eb654aa514ddba1108135eb92da7ef6af54f532bf29ca89b566d8903c1456e6 DIST genpatches-5.15-160.extras.tar.xz 3936 BLAKE2B 7b4d7802346372f862321837b1b554dcc5cd666be0a39fb56c6a6364060c3c5b5fe37d77d131beff6f0ed4c6290d9c9f9eafc58e9a923e268cafd2814ea9d18e SHA512 4ff242b000ce5969dd50c424ebe94a417271a2af081584e91d155ef11c3b11536fc8a242b0e536491396317ead92a825590208c5f317dc6a8975bbfae28a17a1 DIST genpatches-5.15-161.base.tar.xz 6394340 BLAKE2B 9b30c56e1efcc866985caa448061cf8fb8973ee99a65c55787df122518bafa358760222944420add65ec777ad3012f06f74e0b8a4c2ecef32d5b882e78735ba2 SHA512 63cc6a96813f197a0d37e8a98a603ee594244cc6d18fd2e0fd566ea4a72866c425abbf847e9389472a7a3ceaa6118eb72e2c09d838db4698e0402f3a92bf229d @@ -24,6 +26,10 @@ DIST gentoo-kernel-5.10.213-1.amd64.gpkg.tar 63262720 BLAKE2B df6eaf5bb4d3329636 DIST gentoo-kernel-5.10.213-1.arm64.gpkg.tar 56729600 BLAKE2B 7c31c53bb3d57c512863a42cd5a3ca5aa04f57ddf7258a1a4d1b5e92f9aeea624052d09301198f9d4e42eb86cdb1907f9bc5f4db3ca8fab8cbccb10a7d6c5c9c SHA512 b0b23a54bf7a0300daac1cfc4fdf16d13af0f1e7d7e310219961f81af097371f13b1ed3430112c146040518181b8ecd3f4c1dfed72de5ada326c31e6ce9e95c5 DIST gentoo-kernel-5.10.213-1.ppc64le.gpkg.tar 52869120 BLAKE2B f607b6f73ca903471879debcc237e047fcc46cbd3e7802f80fd2926be52458a6249ceb1a4fda8f51483204c90ee89d2ca9d248ca70f0623ed09da5783a281b16 SHA512 fd154552cc4b3d9e3d176187a5af6006d452c729b77e9bec539d1253b9bad1aac860b1e7de3d49b50840eb918c0790de3bfa2ebd0a368e9a0c2892cdc4f22bec DIST gentoo-kernel-5.10.213-1.x86.gpkg.tar 53565440 BLAKE2B d894ed9b8f08117a53ef99aa1fa48b991aafecdf6bab9ff3b79334976bc5cb6f8cf35f0208f06fdbf8a04126594b3238d4fd151c32c4299f099b438d8e00aba9 SHA512 5095ab4e9a41f83e1b61b3658a14e211211da6d9ffda3f059a22e2f9480f84c8c8b9f4c3a66f907f677de6637f8c0c0ebab65616372afca54d594d47a8e02a1a +DIST gentoo-kernel-5.10.214-1.amd64.gpkg.tar 63252480 BLAKE2B 4e0b96cf403d46b3062b180451b01f07d7a4e5ce23f7165584cf88c694b2ed719ecdbd672a71814d1ecfe99b7b3ca22926f9f4165c9c401feee5df431a15f713 SHA512 5015e21de80c8aab28943d323877e73ad26f3a34db5148deed775633893948e2fec1f11f4db730c14de8ce2880ba744b4403dfe7e7f6797ab8ad6a7a6fe6eb87 +DIST gentoo-kernel-5.10.214-1.arm64.gpkg.tar 56729600 BLAKE2B 10d6717d955d0312451c50a231a947aa1b4e356aa2eeaca15203f0c18086eeef9e3bb119ca6ee504bc91d729291f9e92bed405d42e06e579d4737d41922d9c8f SHA512 32df4b9eb671bff4037c14167f064a7d80c6a2cb64bf9cc7fb749ab95e019390127c325296242e368a4d30fe5f4350a088a011079735719b535f13659d2d36d1 +DIST gentoo-kernel-5.10.214-1.ppc64le.gpkg.tar 52869120 BLAKE2B 9f636cd84ce69b4ef63086339721065a64c65bc83b1b0d5faef91656e935bd363a6f0df15a5b181a0aaea4a06210989781915b6476cc0a0d63a3fa5d3a75b97a SHA512 6ef73952497194fbed89016a9dc4a9e079e72843d84326682a13cb3d2bab48593ca4ad84f42f175c248e92db12a44da3b364ba353c8c49ec34ec40b3b1140e0b +DIST gentoo-kernel-5.10.214-1.x86.gpkg.tar 53565440 BLAKE2B 859e499249f4e2a83279c77fed15bc57ce9ddb09d8a6826b710a19d1c0d9f4edfb1a16fabb58d3a9aaebe56e87be253766604b90948b1d6b47ff9b61ee8fa4a7 SHA512 676c63143cec19f0a427731f58f55b7df5cf9f9bf0dc2b0e98a6040e91b23a9a296063001b2fe271d91584dbd706a9a11445b06903af72a4d576ce80a2ce0e11 DIST gentoo-kernel-5.15.151-1.amd64.gpkg.tar 66324480 BLAKE2B a49b5f13a99aebe2f805f0039d62acf166509b84d00bdca8a3298d83c34c76b9d468383bd51520f60cacd7a816e6cd2037b67ab91e6d7dffd1b5a3d797cd81fb SHA512 36eea2aa29262b749cefc4cf381b1012c2422a78568ed95cc05c6e60a347a070e6eef9175aeba7614b595e1f92f426f89a01c733e36c59bc8fa30181556ba2af DIST gentoo-kernel-5.15.151-1.arm64.gpkg.tar 59719680 BLAKE2B 4488bdd73f1a27a54c194871d78543d9bd48eae4ba5f6ac0c3f992a1ea669adaf8a857fcfab0a29f9aad1fda42e2568ec4c3a37ea50d559f98d7c98812868815 SHA512 95a035422eeae6953156e7aa57af1066280ebbc24dce5175f6c6ac50ac785cb5b270d24e2f555734a63bdef55545153c1440789cefb5baf3062530bd3161a553 DIST gentoo-kernel-5.15.151-1.ppc64le.gpkg.tar 54968320 BLAKE2B 42cdc2028c35aae7d67e713315aa80f5711d43ab7efb74e9c77e884968aebcc73011231738b347e69cd053fd0e371bf7d19b6b4face59ef31a003ce7705a6f2e SHA512 2d928323e6f33e4f2c483b7ab60c543af5c6d9175f88bbd33285cb8ac4a78d94c84bf15dec416dc5519c6d6ba4e54530ed6af2bec3198e318034258ee7fd4f68 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.214.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.214.ebuild new file mode 100644 index 000000000000..1a44f330be18 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.214.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 +} |