diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-14 14:47:26 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-14 14:55:41 +0100 |
commit | 8cd847d0b4815a6ce02261098e6b99e0973e28df (patch) | |
tree | 15faa57107c2503dc924b78b401e0ef3b9ee50d6 /sys-kernel/gentoo-kernel-bin | |
parent | virtual/dist-kernel: Bump to 5.10.174 (diff) | |
download | gentoo-8cd847d0b4815a6ce02261098e6b99e0973e28df.tar.gz gentoo-8cd847d0b4815a6ce02261098e6b99e0973e28df.tar.bz2 gentoo-8cd847d0b4815a6ce02261098e6b99e0973e28df.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.174
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.174.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 d3cc2d1de25b..3aabb5563529 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -10,6 +10,8 @@ DIST genpatches-5.10-181.base.tar.xz 4964488 BLAKE2B 2b05c676da465b1627c92400f12 DIST genpatches-5.10-181.extras.tar.xz 3872 BLAKE2B dd1d27a04cd2215fdf9ae7301d6c90dd0a1e9e4ffe7e295dfe2d6b637de69303d9cd2a00a5adeb33d2c4cc7d984e57e69bd9f998df1da188ae006511fe70302e SHA512 b91ec330f3f87bf7ec5cdc10e6352070161d38d09fea82142b2dc475a0a25d176a262cc0bf24d4a4902e84abea84f6263c3e859f1ebf8f44155e42c5f565dcce DIST genpatches-5.10-182.base.tar.xz 5091520 BLAKE2B 80bb1d7b815a8ad56c79d28f45788b00f3ab972965e7180a598a5e832c7086bb872a52b2ea725949b571c2c7c7731eaaf61610ea147bb119badaf19fd9781709 SHA512 3d9355524ecf871ce2d62df56c99eda3bceec3f528b4f434cb750d75b7ee9aa82ed723c55ceffd7c9a6fa11287daaa9155d484da2a5f1a3806b93f3e3ddb541e DIST genpatches-5.10-182.extras.tar.xz 3872 BLAKE2B e73c6a4448be4f9ea39d7e79069672885f8091d9f40d472325bf9bd5fb8d05ab723863edda6c5ae42ce469e3cc722bfcf34198b8bbbd038e89f9625934fd9fca SHA512 b41bbb5093b4a072d5e4031623d9578a9bb9e2415d6c895fe95a5fa8d7332ab79e3dd181fa5e68d03de037faacd2fac265d60b4c94dae989de8416ad37422e48 +DIST genpatches-5.10-183.base.tar.xz 5092416 BLAKE2B d4c674fdd2891051748ab33257ed3dd1e85c7f15ee2cb5e73932752ab31ce6aee4a5a3b7a68767f9c1b5f0274693a140c3911fff7fd4a5587814861010cf0fb2 SHA512 bed74ee91b86e61bb2bfd02293a2590d0b5b9a7171c794c768970dcdc8cbd004ac6df87a63cbc9f5f6d1d2372e2960e29d68586b84a077275b61dbf80608a365 +DIST genpatches-5.10-183.extras.tar.xz 3868 BLAKE2B 4f42863c501d8636ee3d991f2e434123a891446182dfd5c45482e8aa439675f62db9388eac0ab00683001d7a7ae49f576968912a048d4e4a947a5e20f2830ccc SHA512 8c2229286e958d1d88c9d93dc3e6d26d98e91fc67f7040d0a96d35b89da8f15d11b339372a3055eeeb448352372cde839e7fc6fbfb0600d03337d224af4a8178 DIST genpatches-5.15-100.base.tar.xz 4036256 BLAKE2B da0f271d54f248597d038a09f3cae6a2293ffbcaf9f06ad500060e0b28c57c0120c64f30cbb97b4b4585cc1a8f12b013258962a6599a166f5716e268b0587030 SHA512 865ece0271c674aff6df31d7b0ef8dd8d9643e9e7ab49730bb2892f82e1468f4f086710c62f6f647cb2a4e822a5a5fa2e2415fec8d900f82976bdca23384bebe DIST genpatches-5.15-100.extras.tar.xz 3932 BLAKE2B 55665c7edd0316db7e6a8391ccfc97a3f2c51e9e445bb81e0663ad69405ce577133f2def0e58711b1f8dab0b7bfb4314e05a41183138585eb24c909b7cc8c2fb SHA512 dd32b33616a64fe0f4b319e3424360a29d81ed1c6d94457da0458d7141013efab4933c685468019dc7c023346697d31c902e67d17120208ae408939b2fe1c5a6 DIST genpatches-5.15-102.base.tar.xz 4041416 BLAKE2B ab6ac9c8d03d41594f1f3c0b59cdeb3d045fdc0bc89926026a7b3f34eef38a869da1c9adfa1ccf465486f885dc4abb6c8d09a8c36f2732bb961b365a749e8985 SHA512 2df353c92659d8f41a45bd3caaf33e21542cb01ab210495a632e65fe71e8bee7c31ae7283827bc7e0683737f3a451b617db95b5a8b559cedc8296496e2fa3302 @@ -84,6 +86,10 @@ DIST gentoo-kernel-5.10.173-1.amd64.gpkg.tar 66344960 BLAKE2B 4f12a5493cdb5af4f7 DIST gentoo-kernel-5.10.173-1.arm64.gpkg.tar 59361280 BLAKE2B 6bc567b9e607536df570e5c99c80608e8a3758850654e67e38b6f64382ab48d5a199ebe9790f59d081fd13a34bc0b6aa2f9712ace3d6cad416aea1351ebbaba0 SHA512 683d3effc32a8f86adf0b88d1356db45d5be65440b6934c662a633e4cd73c01e53efc0c857d8ab9e98fb6beb5931fdac24f482f5f4342269e87980f9707262c9 DIST gentoo-kernel-5.10.173-1.ppc64le.gpkg.tar 54917120 BLAKE2B 5d831a22e77407126a35d296fd9989d364e569426c8bd184ef0898a6aa6957ad26caa8b2b76097bb1c496b8603d86ce2024832eb2ec4d58ade7c2dd7ba9a418b SHA512 1c9bf8400491f3a90c73f439dce7718ac3b14e82c721e5b4698a4e773b293265eee3ffb1e7fb074e1eee50a0041b154375dc2aaa709ade2a4a58eed6be96c5b1 DIST gentoo-kernel-5.10.173-1.x86.gpkg.tar 56453120 BLAKE2B 3f7de8ee5e0e54196e6497629bab7bb3028041684b3a941d2d7f7aadb771df494ea50dd3dec4f9b18f01dd5377980b7e563d03de7d2ae2abed3dbd7126007303 SHA512 04c2937ecfcf7abd97b16b8b364497b7370549425b64073ad5d0ea75809c76d1b4b81a8d6d76181c511584e78c411708e357318d6fb5244ea8dc903ea1d2ad29 +DIST gentoo-kernel-5.10.174-1.amd64.gpkg.tar 66355200 BLAKE2B 31420521f1091843ddb4c9d0486547b1cea1423725cffecc7182bfd9a0b579ef06dd33fe7f5ba88b75dc03787f6ad817d1d81c99092081d1e54f8ee2f84d4f0e SHA512 815d0c6f27445083b06ba22f069359d94ed694a0b13fc87fbfc65f2290e3c2d4546ccfefffe5eff0ee6041ba73c0f797353fdc85fba1670b2734dd9967519fbf +DIST gentoo-kernel-5.10.174-1.arm64.gpkg.tar 59351040 BLAKE2B 6bc84035984561e569d61b33dd5c5c9a5ab265539403eac4d298e8766a261c47183b83d46fec4bc637d7769dc242570185e2a49f6e170e87ae1b0bf935b4db58 SHA512 b667b83b3f0b2448609e5a1111da0b56b09df8cf9ad6a6f02770cb11d2505d01d363c3fb9d4fccdefda052332630fde5abcf7a7f15d331ede2141502e8e510a4 +DIST gentoo-kernel-5.10.174-1.ppc64le.gpkg.tar 54927360 BLAKE2B 1c8b8f31a695c5c59ffed474513b17654fbbb50bc0302ff5b7da31b08c835e995d98d603a87fedaf14022cb236963156ab8a2d2d24de2e25ee3ee40ae3728546 SHA512 01bc32cd6c832bd9ea53ad096e4b6a6666c662a88990d8dcf72a44d2ba4f0c65e5d3df08e2071c510b76a42d875195aacf699116249b1b8bd6b7b85242725f69 +DIST gentoo-kernel-5.10.174-1.x86.gpkg.tar 56442880 BLAKE2B b19ef77aa8f2e3fc56046ab0a060e6a86b4558c279e9af0f323bed13fb20c23a4e45b82822cacae9216e6be1cd403447bcf240f6d9490393746dbc36e806e8f6 SHA512 a05b581a86b2f0759b0bb6327e8dd9b847d71971a923301bfec925bca6cb93ee915369acf825af5dd03f24f12d651453381d3e571835978b2565a734dd5d9bcd DIST gentoo-kernel-5.15.100-1.amd64.gpkg.tar 69652480 BLAKE2B 26b37e7b1f4f036616f7d11a1e72392e8670a4de135658a7beef1a5f0b51b49e798ec8e6fd41e816ca7ae7976671b5b66bcf73fb2471bdad7a452dc47ae17f81 SHA512 e977f08255f7ca9e1d7848172b01e779f59a3c0e42bf960ff00d0f78ee1a2bc958b72b90728fb0c308e42c0ff2acdfcf3f629c4188066554b493ff13301f988a DIST gentoo-kernel-5.15.100-1.arm64.gpkg.tar 62597120 BLAKE2B ecacd5f76bd5ce21d6561344e906e226ab5d515eb5d09ee36b57bde9cf431db84acb98ab171f9c557a7dab255776b8b35c4ba71c5afcddb49a2da0a3e3394de2 SHA512 1e20d37822cdba8710254d3c644d71cd836be6a33f137d33491bdc1a4de4256dcda3cf2102cdc08f8611b9c900806f8111b320ce0dde4948dfe838c351b9e7c2 DIST gentoo-kernel-5.15.100-1.ppc64le.gpkg.tar 57088000 BLAKE2B 1a5f7be262c7ff1f5e3c632202f65a64706de92270c80a583507c81b58b0657e0a44ae8f0ef338db3cac59189fab7a2fbfdfc83f51dcff2d4affc2ad3f099f33 SHA512 e424fea4113c64b55a53b563a1a0c9a04f136aad090a5f69d14adeca53f820760aa452a0a62df1e4a2723b254ad5c139721dd04fc2e967c4895dbbbeb8ab3108 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.174.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.174.ebuild new file mode 100644 index 000000000000..140d99c64a55 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.174.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2023 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##*.} + 9 )) +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 ${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 +} |