commit: d95493aeb72b9bcf2b94c631a37791722c25f429 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Dec 19 18:39:36 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Dec 19 18:39:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d95493ae
sys-kernel/gentoo-kernel-bin: Bump to 5.15.84 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-kernel/gentoo-kernel-bin/Manifest | 6 + .../gentoo-kernel-bin-5.15.84.ebuild | 127 +++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 3225eae432b1..a0d7d2ab1349 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -22,6 +22,8 @@ DIST genpatches-5.15-86.base.tar.xz 3451248 BLAKE2B f6e8eed94bc50e40f5286fbba797 DIST genpatches-5.15-86.extras.tar.xz 3932 BLAKE2B 327cf176552393f6973d19c72b5972181654e3b0054f64d38c678765740955e5fd0b261457cadda6c968e86c4c8dfa34680bc16fde93a44ca1267aacbb74bbe7 SHA512 4808519ff151f7e7eca7ff0d7d9f5d0f912309708da9689b15d0f17e2bc37b89ebd0157d0ee44a8e86b5929e3ebee739536edebad389f9fee3445c89daabae42 DIST genpatches-5.15-87.base.tar.xz 3545732 BLAKE2B e69eb4d31984b65ea5e0c216d066b358e6cd4fd9c8c9e021fdd3e5022fa6a9fc804b673bf4433d4b8c6f13aa3d0336f2976aeea50245fbc6640674acfc8bce3d SHA512 bb9ca966cdbd5ef5da3cf4f11038f03495e643c07b7d93eab31d484d5615781361706c54d82e42887f0e5e867e7b8c62f565cb57527a4056be2cb10f0fa19cb0 DIST genpatches-5.15-87.extras.tar.xz 3936 BLAKE2B 05717f3f9ccb161a5076c6623f15465729ec898ab7a8fb4e611d07acaca96df6b890a3af0890dedf6acb06c7db148df625fafeca5099eb96e31ae981e00a23e3 SHA512 ddda9d1daf3f71a8aade12758db2d698b2230a20b3df059437fba02b499d2a90f2bb5a5c0796b1fdf842ff64e515193ac97aa324a4047bbcceaf4849eeca2674 +DIST genpatches-5.15-88.base.tar.xz 3548532 BLAKE2B 947258e9bb979febcca994f82b9ca18df494ac0d7db4664a96ccb4737ac71151f21070d30e4e5665c53d4c444bf06471590a14d17f83396809ee9013064db317 SHA512 e071daa0620c62e5ba273c6f5c4134f7c6f179b25a7dbc10e1f045b6becef1182e0f27620be0f03f32926d5c2109f7802335dea9caac1d576c47bf92c0532045 +DIST genpatches-5.15-88.extras.tar.xz 3932 BLAKE2B d504a1d8dc4510e870c34d5e355944d2e79646102ec04d5a268774e29ead5255ae6cd51f3de1b10992c8bfdfda3dc16379b3e6aebbb18bb528caa801551498a5 SHA512 85d01fff2ac04bb439ffb2a648d665358b5631f086db51b1ccadf31a8a74f94445c5942d6ac25676aefeb7a86f3286a8a7320fcc30bb092c212f2061d3143263 DIST genpatches-5.4-228.base.tar.xz 5198204 BLAKE2B 35942e1ffbfd792f2479ce2b97c7f191cf5fc5712ccf101ee1f5f7f0486d53da2307237fc2d50fe0353c82557df03fbdfbc669949616dfeda69970628ad98ee5 SHA512 333dd865d3f10083566ddf43ff4d159a6842c3ed92c703dbcebd0832b0fdbc53c0025856eb1608ac485c805702608e52c600e08922fb831536bc6a099f74f1d8 DIST genpatches-5.4-228.extras.tar.xz 1812 BLAKE2B dc4f0815c8915ae371db4da0ecc1066a269547ba1a967a6067121de25c06445356b6f1339088d402e7f9ca5dbb91b49ab717dc3168760cb26ff3e279177e16e4 SHA512 7ab2f0466b677b3506c080bacae1217b54b35ccb45f65000757bfa09e3ca2834a3b78c4b03730f11c6948be3e3a04c1fe3bc562585248039185d94ba805adfe7 DIST genpatches-5.4-229.base.tar.xz 5214840 BLAKE2B ede38de7b09b59ab96596aa4e47f7d2dff06e8e3e403e0b3a15092991bd21504ccffdc21b8fc5857fbd21ee89842f7a6d74fd88b5c7426ae2a5dd3d50ce8db51 SHA512 ad086f2b00e870d54b1605eac7fe537654c09830b69c316cee71a7bb5e621e6ada37ef780c4d2c3ea9678e4a72c19355acac2648e16943ba0dde4e711909826b @@ -92,6 +94,10 @@ DIST gentoo-kernel-5.15.83-1.amd64.gpkg.tar 69816320 BLAKE2B 40ab08a5ddd46312a4c DIST gentoo-kernel-5.15.83-1.arm64.gpkg.tar 62883840 BLAKE2B 817ffa0ccd261a5c04aa8065acce11bb332067bcd2ebc975c396fa5cd612a26d0603090737a31985cf656af7d29e955198911730bceffbe0ce2cc5adb6ccc197 SHA512 36e0a1be077510a6b8f7858744dbce6b5fa0d4d169cbba42f8e69e540f37d021d390b34d4dd79f01124fa15e8a4adae4422cc2a7a51f9695b7fc29cdafecede8 DIST gentoo-kernel-5.15.83-1.ppc64le.gpkg.tar 57221120 BLAKE2B 280ea39da46333a57d640ba7c8a67f8a434ffec6b9c9345f6d317b6ff3b5cafaee978d18c2c5b5f9222a9294c2369923a93e284fdbd79a46a530b67e552a7395 SHA512 04e7d30f4b9eba907e2a1e800d445bda4a71aa579e545bbcf276f8e7dd29830b071514ff6d29bb85bd8f4c823313502152934ec88b82a4b807a503e0ef54ac56 DIST gentoo-kernel-5.15.83-1.x86.gpkg.tar 59156480 BLAKE2B 8869927abc2afdf936cfff1daa8d2cf739ee15dc5b279135249f9a6db5ec618628c8336376b5c88ab47d6f6ab7ec9847d621a357b5a379088bc3424756c54eef SHA512 4d734959db23b82ed6c71a9d996de36cfa37a8f7d20a2280c0a0967e29bcd18278f01afd8fc28d27c4b67c9ade59e60e9353d4402c4de837d2491c2f62e41dc6 +DIST gentoo-kernel-5.15.84-1.amd64.gpkg.tar 69816320 BLAKE2B f6bc19af768fe43c64d9176bc3a121a7e52d007a3aafeabbb393490ba5bc43466e6820380174cf22bae1e61b59b2f21060ee689d5407b21aa50a28614a8656d6 SHA512 327ed2c7d44cb3d7f044d793e95a7e886b9cd0022a57eedce719e7992ec80877bcd83c0e6c1cac46e50726369e4ffd58178eccaa4fb0b92ed70d44f9d3fa232f +DIST gentoo-kernel-5.15.84-1.arm64.gpkg.tar 62883840 BLAKE2B 620a33c02584bdea424fefa62338f8f1dced47abf1fa5df9b933c30e64ee680fc846a1d4fc84b0acc0bdc913470a9eeef6ec7c9b564d73c77c5b87c23acd4de8 SHA512 62778e2a2281d720190778300b2656d97db1d9bf5d31fed74ef87bb3fab4d9c0eccf8a02304222a631d03206b43f76ed5447c82787a5f67465f84fdcc4a1a6c8 +DIST gentoo-kernel-5.15.84-1.ppc64le.gpkg.tar 57231360 BLAKE2B 56fa94652ef5b42fdaf853077cc8f5a754d44dac312c36d054811fbdf0b14f66eabae60ed227b83788fd7b138c39670aa7c1f6707a6c86fb7fa0fc60c1a8677b SHA512 e327a7a9cb0c1370c77a8354676e2f3cffc43f41c4ddeba9198ed8d4d8709da37bd21f30d7f4ab3ef736a7e921543e4e611104fa3e4797bd07433e99e59e263c +DIST gentoo-kernel-5.15.84-1.x86.gpkg.tar 59136000 BLAKE2B 0fb3c3d517aeb0596f1aeecb4c6341041b4ffa38cc2771de6c2ffc625dc3d2fd91a8094fd4222218b56ee226bfc8f6bba0a2615cd9e720a4af9511d8a7f5d194 SHA512 3b3106039e473c65ac16c91ce56adc4ec2d98965581c6686e41c8f7e2aeac299011a3b2b879dcade3a22cea2aaa2a1c2b7a49d7db0c302d23ca5dbff04de20a0 DIST gentoo-kernel-5.4.223-1.amd64.gpkg.tar 60620800 BLAKE2B 1fbd9fdc06da23b51f136db8eb5d2db76110116c5f73868b07162d853c5ef95094f953bc02686f2855b9b5b0954792c4eac884f6f81c1dc524d8c14e4310849b SHA512 9ed74651baff980bc578eec8cc66486d5183a042943e77d6f11e37ae26f7b8892128b1886038ec4b683762a61bf1a35ba2cd571037118557f4dd4f4494b2c720 DIST gentoo-kernel-5.4.223-1.arm64.gpkg.tar 56821760 BLAKE2B fc2ce930c0bd6d3c3efd51057e40bd1c83db3a812c8aac5996d05978aae4dbe6163012699c72fec553d83e1397e6cd9601fefbfe3105c30523ba49f1daac4a52 SHA512 d4fa5d7570c6fc7534d92ff23fedb2349196d0b07b7a8ed8fef43b40cd6a63205ffb30378340f704652b4e3a16b45aec3ab6bca9ae308548197c5c9383a1f452 DIST gentoo-kernel-5.4.223-1.ppc64le.gpkg.tar 54343680 BLAKE2B dc69045d3281260f370a97e2f77315f8488fc730980e7b3a93cd85ef3fd3044e18a0f8a1bd81d48e33acab8eb41b07fedc3679e4b1a732146d13b3552febb753 SHA512 b0463414a8a1503d393d8446c399269167d871591da08258a258f280cddb81bf8a6f20f4e3a9699cb64f2d7118bd0347b77cdb52f7340486a41b8bcbee1f6ba3 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.84.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.84.ebuild new file mode 100644 index 000000000000..cb9e8972e872 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.84.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2022 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##*.} + 4 )) +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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/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 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 +}