commit: 2e1085d66023459c18d4ebfd1e462ff8b379be30 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Jun 16 17:31:49 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Jun 16 17:34:11 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e1085d6
sys-kernel/gentoo-kernel-bin: Bump to 5.10.219 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.10.219.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 1a86a9923ec4..4facc9bb3e6e 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -1,5 +1,7 @@ DIST genpatches-5.10-229.base.tar.xz 6801488 BLAKE2B fa6992a4274f2a43fc39df9acbf20efda8059291556f083efa80d71eb51b263a244be38d327317631da0044faad5af20ed830528e0c87502231db02c3c2e7fbf SHA512 e0f7d32915673bf28d615fbd15daee8f81fb24161d783bd5026d5a1dd1010cafe758ea7996b9613fc6ad28b00d329d4bd0d900b77925ac3ed335e7083f09a740 DIST genpatches-5.10-229.extras.tar.xz 4048 BLAKE2B 72ae61217320dfaf4a6cea8544c66360eaa42307f23bf0c666114d3ad5ea1f1a98d471be9c4ed824e87a6a4d0f90eac10ef703b1a7d2231655740ba0b2100639 SHA512 168250682177d829f2a510714ba7bbf42a9632032bcbfab8616ab66c6c6f21b09e49ac566f599fb2c09f486280b611ce3764ae4826ea30c5407e091363e98af8 +DIST genpatches-5.10-230.base.tar.xz 6876488 BLAKE2B 9fad0e5e713c4487cfdc3bf370b95f3e6c8eadae663b48b956f8fcbd870dcf13e19c50febebf98e64ee62c9fc2906ca3a7e899e073a03ce3c1f2574096dfe397 SHA512 1b2e074854d8e3e155884c2ba7a352e1437650150549cb15a0b5187002d1bc529b097ca9c4ca5e88fa67ab9e91766c2a39037f78b92c4a1bd70039e9374b834f +DIST genpatches-5.10-230.extras.tar.xz 4052 BLAKE2B 5a1b37765f94e0d259c97b797ff2c64f9347f98882d5b759a42f5124da0cc1abf19226c89cdc52a74dbbb693c26f066610480d99474601d0f8fbd524a5778a53 SHA512 66b82411df58f53e6557d4afb6d9dc34ee529b32bb41415e345255aa4c4deececd1720be6ded4910aada1813476f7fa8aa51d5dc288bdf55b08b8f06dadbef2f DIST genpatches-5.15-170.base.tar.xz 6810444 BLAKE2B 979cea1e399d312eac94ef4e4fa417132fce1d2522713e78234dff05db3fbcb13ead3fc679d2d0f42f801d8f796cbea47cfc2a64d212ea1b6bb3b312f775aa86 SHA512 0d75430202e4f9e59ec923fa9cc9a11276b10ec1dfff5fba30746d9e8c60bc82d2ff027463ac4b17ac048285438a7a6657679f6a5aeb2caf10391016163ff446 DIST genpatches-5.15-170.extras.tar.xz 4048 BLAKE2B dd052053b2f791b558938755ecd1946d55aa52374acaa98b666aa2017d678d3552d161b36e50bfce63b9a71f0e252cf298c8416e3c6ce8318854886e9c1caf67 SHA512 b2befc9604dd5fecdcdf7d58ca219fc780548b439780b64c3e3eabe5b3a53fb33af30af8a0807b6d5d327381d9541f94645dd0f8475bfdebbe0ca41fa9de7846 DIST genpatches-6.1-101.base.tar.xz 5248940 BLAKE2B af64a685e905a51004350b263e6d5bf9078518a979bb5d192752672d15f54a1dd330ec71c33dde0dc6afce11f5d53bc62837ba400314978d740d4adfa3f32778 SHA512 fde5c4d51ba8cb095743d936e6b7e31ad4b7b04b46db66a4746d8fd03205a0b18a17e4d1d08210beaaff13557fd47a9752cd36a28abf19d879639c175cf755fd @@ -16,6 +18,10 @@ DIST gentoo-kernel-5.10.218-1.amd64.gpkg.tar 63262720 BLAKE2B 0c5bdf6c3a6f184175 DIST gentoo-kernel-5.10.218-1.arm64.gpkg.tar 56719360 BLAKE2B c114300a4f17b91277ce90026c2141acc0729547a3511ea0df5071532b13a6c06c87853917280debdb7753927442c2414baeb363fa83dd74077a5708ceee1da8 SHA512 5468341ac80b5d0638ad38cc82a1dccfeedfbf1727c6bf852e8aa8a9b51750022358c4e32a483473293288ca9728ed9c0839a78e989571844dc823394cdad19d DIST gentoo-kernel-5.10.218-1.ppc64le.gpkg.tar 52869120 BLAKE2B 27cb1b7f85bee962218b8a6635fa6639cf2c1e04c3809042abaefa1b766dabc7bef06c5e83022d0d1958cce9dfc97bcc615623e98c3c2200aa1ed9bc8d112250 SHA512 f36d649ba33eb2745463325991a5ed0e665f6ab12dc8e13572cb8dbfe5fe2c24e00bdc7246d78891cfb43129d51ea6ccf39f42c270765dbd8050f3cdc8254cec DIST gentoo-kernel-5.10.218-1.x86.gpkg.tar 53575680 BLAKE2B 31b1251cb656c70fad98d446232162ac2bc9557c3c05db9f03cb6aa77a7e1bf331bbd244251376aa16bfb5bef92bb2714ec9ec3423e839f81c5614fee9a63ffd SHA512 68a2cf128830204d1da769c3a59f7abccf78836ddcc4270b6974915576740351d6e9e0a96458a0d0ca57c68070cfe15186db74ee7a9ec5598db8c85e37b6551f +DIST gentoo-kernel-5.10.219-1.amd64.gpkg.tar 63242240 BLAKE2B 8005a06c2d94285e6424f84ec8d61b8b4ee0a5ea5339d883cc5dd88d968191ced11be4439155a15f003ace2bf391037505d472d0970afcea26deb61997c89585 SHA512 c3fc79b3625b6ee8e44833ccb68a900058a63e39d5cba283f35e3644c4bca714633b768e0d7fe06acef1ea82aebfdbe8bcacae8fd0ea1371e88841efa43b57d5 +DIST gentoo-kernel-5.10.219-1.arm64.gpkg.tar 56719360 BLAKE2B 1c956e95a2ee47d205579998d839012dfdd0902f8446ffe99f78cdfb3b643c98203b5cb75d1d31fd83ccfbb6ed360195b389de215db9b86de5fa97e3ff5cdd9b SHA512 3337808a2740ab49c43d311726ffc462956e58c7aaafc50d32999c543b59f1a792c41e62bc53487c564aaffb020ec71abb2770ddf39fa8f14fd8f1cb6407f06c +DIST gentoo-kernel-5.10.219-1.ppc64le.gpkg.tar 52746240 BLAKE2B 4144549a7e26029b58b8c324a3748591bc09e6255d5a20119a91f12618d57526b3afcf3c6612fa6404131e19f7d3439f2d762ef55c729f41011b8685403e4752 SHA512 7598c960c5cb5f55f4ce312ab09ce235f5f42c7bfb6a8f83aefc7e93e569cb8c929bceb567452605fe01f2d658acd7cf891a1178e05a7b7f9a451bb17834273f +DIST gentoo-kernel-5.10.219-1.x86.gpkg.tar 53585920 BLAKE2B 62229034d0a418d006bf6efa2e888e8a3dac18a4ec9a8dd90b0590b03beacc084a43c31fca3c4ca4f654ad648adb3943421b23e74fb2614c53290b4a00ab0601 SHA512 5564ab49f52de3828d3a08aa2ee23380c5ee42b432762f58d5c58cf89b4ca22b21f575d6a37072e0a8a78a35400fc35e86134d57e3bf93cc40149b74ebb98be3 DIST gentoo-kernel-5.15.160-1.amd64.gpkg.tar 66365440 BLAKE2B 126ad491f0f47cd5858b60acfe5cef82722ecc0fa4221b805fd6743a45ae82b39984b31f3c5453167ac466e2810b411f94d8745d2b8fdf8bc15328b0dd6f80af SHA512 104278821eb78e9054e472f4a79bdaee350e63a828147328ae68da82b05f6bd4884b6f2b2ae3e7812faabc54629cabbc058098f4e0e689dcbcbb0b68b1be2c0a DIST gentoo-kernel-5.15.160-1.arm64.gpkg.tar 59760640 BLAKE2B 99ea0369b0616d6fddd2751b3c37037bedfe70ba470a05d98891e38ac038c2f3f6c1ebaa4617e0b0697177e8535909d1b30fe3c0c67cbc9e3049ff559afb0299 SHA512 a886bfc184a2d1d83d44f15309f4b1873533c858d8cd0d1f13624c2616c4055bbeb1b5e6cb58f1af4edcfe55a577332432d947d4390b78f44414361c11aaf913 DIST gentoo-kernel-5.15.160-1.ppc64le.gpkg.tar 54988800 BLAKE2B dcb3e7ce253b9d1d0875aae08706bcdcce8ed2070bb75d10bb9bd16eb78cce641431dfa4874d80554fcd250c897317d31f9b3523efcb8b561837bd9189a48e29 SHA512 c1be66fdf4cafea88bc4e41a754623055fa6a7bbbdf1db51ef052a3be8baa755b161ddc2eded4c599320ba7939a8a51a38b5083b665e9769471cc1225fbc2bcd diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.219.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.219.ebuild new file mode 100644 index 000000000000..1a44f330be18 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.219.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 +}