diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-12-01 22:17:09 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-12-01 22:58:07 +0100 |
commit | 76cd1d45784bd9626cea1715e414e14bce6f1661 (patch) | |
tree | acdc81b7a4cae2164d1e815339335442a03e1f4a /sys-kernel/gentoo-kernel-bin | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 6.5.13-r1 (diff) | |
download | gentoo-76cd1d45784bd9626cea1715e414e14bce6f1661.tar.gz gentoo-76cd1d45784bd9626cea1715e414e14bce6f1661.tar.bz2 gentoo-76cd1d45784bd9626cea1715e414e14bce6f1661.zip |
sys-kernel/gentoo-kernel-bin: Bump to 6.1.64-r1
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-6.1.64-r1.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 b880b200dfd1..32d0ebea0c42 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -22,6 +22,8 @@ DIST genpatches-6.1-70.base.tar.xz 3972184 BLAKE2B 4fecbaed663f02725423386867efc DIST genpatches-6.1-70.extras.tar.xz 3816 BLAKE2B 24fceb3a4d3482fe840ec8053badc22d06a8eb0091af745991ec729bde2dd99202122c149fe39553e3a0cc4e853c6d97d084d24a759172c643ceed829f2f6cf9 SHA512 381d9c79faf43a9c26991a3064096e90e7dbf027350c299b3a0afba6248b4cff4c7c58e6667528a33d77ed3b8e91516cd018f0aa4c9ae340bb441218e681a5af DIST genpatches-6.1-71.base.tar.xz 4056620 BLAKE2B a33fe2f631e5fd240a519b1550c56986f236bd9034c1e6497da3b285332fc1429712716907d3246b00dac338ad1488b65c219e992fb35d2c8a1e2db35e3ca4ef SHA512 5e01e2a12719cd56ec0bab862eafd1409e637bf24da8ffabd31bdcee497b41466ad971cf229946a5bff116e71a224cf25024c47c74b00c16444302d25baf58a8 DIST genpatches-6.1-71.extras.tar.xz 3816 BLAKE2B d52f8ef239c4bf9b7b21a48104025d0d2a54e567bd0dabc6fa2f71eaa16b5ad43040443623b3608f747d555b71325c64119f64a9f174ea47a6aab26325bae16d SHA512 51bc2d01212064a162867b51525f58dfcc44f21157919b85b676fae7426a0920635538bc8d1df22860f81681ba50316eabf57db00654e73d0b60912e4ef3a6fe +DIST genpatches-6.1-72.base.tar.xz 4057544 BLAKE2B 7af6ca30c523e00f1f30f97cf29c4ede16f83cff59669c2eca781e9115f9aa4b3469fdfddb2625302f52e56c573cf9f36737e7887b7caf3c6825473ac3e6eb0f SHA512 fff5387e2b60164d70facce3e3d8c6c8aac12563b0c2c0732a25464246d15197651c89903299953a72c0a38c8c2ec6948b7bf3c2c37a6b0e30921dbdb45200c8 +DIST genpatches-6.1-72.extras.tar.xz 3816 BLAKE2B a6de63bb21ba7a7f5ff88dde6eda62b6af5a2d205cf8072c88027f877b96f44c02465e825dfd13f503a636706f34d4fc0a11c0c71fa8a3c4059deca6f49da539 SHA512 736cc3baa53c31b8f93746677ec1e72616df48d58fb28d5e59b58c0004c484cfe1400bb5b23aa2c696923beeb1661bbbaf0fd8326e925ad486a0278e6b35f5e0 DIST genpatches-6.5-12.base.tar.xz 720508 BLAKE2B 429f4fbc3292ab46250bc1716212f369f888ee0219ab19baaf8a7e3634c012bcaa64820639b5650b5346cc93fffb3b00c8ba5ad48c3f0030e5db6102646ca60f SHA512 1b5de16a305f7cddc3125be3786347a037e25b8b53ad05c35c8efd57e624dbd7cf152898c3084847d6c9b77f5bc6df378644434e877434d40ad4fb0d08d6a37d DIST genpatches-6.5-12.extras.tar.xz 3704 BLAKE2B 3d18f544a455d1184eb9687a5c53c7dd348b12f736313a3bb9d3417e0f4458a8e7f962451ede58f45016af700014fea87cc3336b30ede9f899dd75369eaadc57 SHA512 0a8c8a23d99962e5f0028ef1ee8ba79cd20af0ccf6b08e554405ee964cf542b6758d0e2456612a410d7fdfca5572e4af7c4d1c3b65a9b426412c1b480b2d6475 DIST genpatches-6.5-13.base.tar.xz 741136 BLAKE2B 3e13a5bb6effb4005e2c1e604722cffb27583aa78ba0642ae2eacb2f5905fc19fd16212b502196e58d0ee4064779623b44af03e34c6bef0635104bbdfa49253d SHA512 5b63c998dfe984b5435e7e951889dbd1bf4cab2d8db41e89978ffd06ca58ba3e8687e740bb42514e0da5e5ae19998234f87e8220d5eb550e21fb6bd7c665e139 @@ -88,6 +90,10 @@ DIST gentoo-kernel-6.1.64-1.amd64.gpkg.tar 72570880 BLAKE2B 0154e0cbc5aa313d2fe4 DIST gentoo-kernel-6.1.64-1.arm64.gpkg.tar 65597440 BLAKE2B 4dbcdc989fa2745f346291e052a6627b4203173e7544511440aca1df717438d5423b42a51859fd1da8ce579526ee8ebc3ace4ec1d8c698fa2b1079aecc448252 SHA512 96a29ebacf955221d3b098c9b24bd07739fc71f7ea7195723da90105de2c8dff7620a2469ed23e996ef2f5df3f79a4f04933a504199c2b92883aaac6d041d419 DIST gentoo-kernel-6.1.64-1.ppc64le.gpkg.tar 59863040 BLAKE2B 1dde8f7e332669d3dbc241d1c30922c03fa05c4d847703589880f10e088b6ba98ebbcc30e855ab4f10b96e8290cf063b2cf70e22216149b7cfbb4e3a773c2ae8 SHA512 3f98b94cbc59812d6a3575fac68de47ea70f678bbd15e72e37e34f7f237e193688bfc3128c64a7c828cac23275d24501e2c7fddc0128451b2fb36f0b3c1c27d4 DIST gentoo-kernel-6.1.64-1.x86.gpkg.tar 62105600 BLAKE2B 400c6047282571c606a61c4cbff0540fd2668b009bcc1ead8a6a34a4d40f7f74e57b7be5c08ff9d84d22d7c2474998706cc11897b6135bf59b8eb39396cb1f56 SHA512 b2fcb569f61461370b4d995b5204ca7b96bae1386e798386c248e2b44aca2d08891388d758713415a8bb7fc19e6a48edb479c8b1d0fac1493ef1cfd1d89a79aa +DIST gentoo-kernel-6.1.64-r1-1.amd64.gpkg.tar 72601600 BLAKE2B ed45faa29b1f5213b531d1c08f8482be4a04bfd6f731090bc7e8ba00ca675e4b3ea8de659f591f575318f1ddd5a495122abf14d897dedb65413e3c8b4aa23de6 SHA512 de05a2b2015652473525c3cd3ad7c6111cb86fada1e3cbf1794213f8f2302ae876d21f8658a4d717cb8ca8cabfeccd89e119a6c4f666eba068c4276887504df3 +DIST gentoo-kernel-6.1.64-r1-1.arm64.gpkg.tar 65597440 BLAKE2B 0c30441217cb54c9f06d0054606eed9eb1238097fb1c5e1b0a74939cbf80054b44226460aecce384e7b4ae521ac74967a043f68cf16adacb4c901c020f38119f SHA512 857bcfb75f6aa3dbd698e55bfef7682d93b04ba74d5a61ceda1d2b63d63eb0f06188ad28d92d5321ff3e6196dec5cd46da0731db0d99cfb4175c2dc286c7d488 +DIST gentoo-kernel-6.1.64-r1-1.ppc64le.gpkg.tar 59852800 BLAKE2B 347466bc7969c522d1b1192f170d090d8355bd9e63f6ca250545146ebaf004c8f4c39d08bd77fec3bbdc4f11597e797abe4cc18ad32c3b1d394796a23f479f26 SHA512 43c9ea7f46c89704ae36c30baa65783db1bba821d4ba8b98a9a26353acbe0432c0ac2f858218b0c653a9e7139de52d432d689387b94cda9ae17d67401553476c +DIST gentoo-kernel-6.1.64-r1-1.x86.gpkg.tar 62126080 BLAKE2B 06c2d5146fd640b39e8787f9d2ad4082bc57c70fc78b9bbb58a6267340717ffa04a7c96728a0f318433697cbe1d68d7f351d5fe2e817ad02c68bd77dc7319139 SHA512 ca41c0c12693203b3e72939fbd960b0475cf5130ed257212b556c4ecfd9d34dd926b59828f6777b0d40573ed4e1de511debb6610c9c1aef73c883a2a1a762c6e DIST gentoo-kernel-6.5.10-1.amd64.gpkg.tar 83722240 BLAKE2B cc31076b25edf689f7976a679fc5fdfb25d7f21c18562f32c47bb2d852b922dc50a4ab5d813725fdb64e2d06ab55ea22643cde733fac0d9379ed58b187a3d93b SHA512 7d689b10af6b471048e172be41d090e35774ba9b7cab5fd79cda489cd6224b47b16497cb73f840cdd4de8577096b734abddcc89f990f32d17473968a326db0fc DIST gentoo-kernel-6.5.10-1.arm64.gpkg.tar 73635840 BLAKE2B d7b0dd04cfed53281d679e6687d581d0d12c9096da1d36ecdbc38f83287a18b55bfa335fb8dabb623bb356df76321a61db147aa2a499a40072adffa210bc0a25 SHA512 ec9b958d660768dabdd26c633ed39b37f6264231849f7bd86d65a60938f496f69b0cb2cb1afe9d3a95987b8ca5c495507f5ca9d6e6df9f95ac87ccf46e0bd914 DIST gentoo-kernel-6.5.10-1.ppc64le.gpkg.tar 64532480 BLAKE2B 5c6e81f5ee141dd958671aca5aaa10314198b3fc38d025f36263c1d1086e09b723b3c96688c2175ffc94f8e3a93316a47b2b8d185499e6fea31a9aeb36fce24c SHA512 ababeaa3f298d5503c6db664c67fbc73e32e0efca4cf14c00399808e86c0a3346b6304eb36264541d5a9ccc7e84091f63348d296442c09abce8f74951e360d55 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.64-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.64-r1.ebuild new file mode 100644 index 000000000000..726e0ef534f8 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.64-r1.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##*.} + 8 )) +BINPKG=${PF/-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=" + 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 +} |