diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-12-03 19:31:16 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-12-03 19:32:05 +0100 |
commit | c16c2e610d8954d5cba27e0a8815e1f671090a76 (patch) | |
tree | 41791296893ad4e72974f2719165b98f76a12851 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 6.6.4 (diff) | |
download | gentoo-c16c2e610d8954d5cba27e0a8815e1f671090a76.tar.gz gentoo-c16c2e610d8954d5cba27e0a8815e1f671090a76.tar.bz2 gentoo-c16c2e610d8954d5cba27e0a8815e1f671090a76.zip |
sys-kernel/gentoo-kernel-bin: Bump to 6.1.65
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-6.1.65.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 c6c61043f229..b8abb7aef358 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -28,6 +28,8 @@ DIST genpatches-6.1-71.base.tar.xz 4056620 BLAKE2B a33fe2f631e5fd240a519b1550c56 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.1-73.base.tar.xz 4082244 BLAKE2B 890c267dc12fc2f62046b3e1ef0b4f26756a7de873994d91ce837105c5d36b3dcff081089a10218a608e134e6e4b072beb812c90bba8c9458a29505f88a79def SHA512 566b1437311cb24cfd6c0f0e3a22a792a2fa0bcdfd2a71e45a8b59eadf5f8bfa6618ce3e7654c513f4bcaa99f65b8154f3d6025ec7a7fb2a708acc7751e6cb6d +DIST genpatches-6.1-73.extras.tar.xz 3812 BLAKE2B efc027ab0bd21caafbc7c2706b066b3486f9acd93cac964ae00e1aba543d5a92bc00b4f6cde82beed2a0d72c1aafc16a8e168d139a365463d8c6d170718627e1 SHA512 b74da4e894bf615705fa0396c09d32d6e34aad81f3114119a3dbefa94ffb47f91017c2b551b80c289c607a29ff8efa8db1000d89534d8cd4e75d88024270f7ae 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 @@ -104,6 +106,10 @@ DIST gentoo-kernel-6.1.64-r1-1.amd64.gpkg.tar 72601600 BLAKE2B ed45faa29b1f5213b 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.1.65-1.amd64.gpkg.tar 72601600 BLAKE2B d5edf85f66a6b2deed16dc102b9b69f2f49ab7ea49017272fe853fb87963115da972dd8d8fff56f21b3f0b246ecc82e8b0cb1344ccd4ef8289b893e2a34d24bd SHA512 67fc9087cda1c42e553280bc7285f7fc8b135f96b9baed0d6a080966bde1a8252491a0202404a9363757ed3739b866e500f02a818b194d4c86e79a8d7e699f98 +DIST gentoo-kernel-6.1.65-1.arm64.gpkg.tar 65607680 BLAKE2B 8605fd891e2715753dc9e275d70e5fa65260eded9a8bfe40dc75baae031d0af176c76773bb850dc77ab586b9f772c2dbd1c5e5aef5f3d93e0b012cb12af6746f SHA512 51a875a3ba870843ca6f7e88e9c1bb805c68d8a5596756f60df199b0a120fa820989dec8a9230754881611604b3ecc9b77250cb367493c7b86568a4077662d8f +DIST gentoo-kernel-6.1.65-1.ppc64le.gpkg.tar 59863040 BLAKE2B 9b29ffdb63a3ac441e807f83b20b0670818c901a76cf034cdc5a4752834a4654d0fd486eebfa24cd09694afd49dd6df8282cc023254e59debcee857108af7a13 SHA512 d501de7a053aacdaa026c83c96ca5903596d67eb2c8807340d4b22810f93b3bd105ae8589d39b604a74b2c0022136d289ebd201e522c9c4ce7ad4a4aaca8d71b +DIST gentoo-kernel-6.1.65-1.x86.gpkg.tar 62136320 BLAKE2B cd93af05a5bf78c4ea46eaac635488631298de2ba6d31d7c63ce13da324c06204f7909852848fea4005c70ff3678d8dce4bd9f2f14ff8ba0de1b645e79cfd357 SHA512 4330498caaec644d7d4fec71e69486295fb5d3d5a823447d32f55dd2e1bb56c4119028aaa3a0c5bb4a4dafbf953e16923762be55352799088f4010044e7c1b00 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.65.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.65.ebuild new file mode 100644 index 000000000000..726e0ef534f8 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.65.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 +} |