diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-11-20 16:56:59 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-11-20 17:03:28 +0100 |
commit | d026a7e5fd117b9f2ab9eb26a459cb50de014725 (patch) | |
tree | b1841a31f792f0f52127f22498eb4b7e004c9e7e /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.15.139 (diff) | |
download | gentoo-d026a7e5fd117b9f2ab9eb26a459cb50de014725.tar.gz gentoo-d026a7e5fd117b9f2ab9eb26a459cb50de014725.tar.bz2 gentoo-d026a7e5fd117b9f2ab9eb26a459cb50de014725.zip |
sys-kernel/gentoo-kernel-bin: Bump to 6.1.63
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.63.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 06c7f5759296..1fe572c2e3f4 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -14,6 +14,8 @@ DIST genpatches-6.1-68.base.tar.xz 3834732 BLAKE2B 3fc3dd48708491bf32a17cbb8c23e DIST genpatches-6.1-68.extras.tar.xz 3816 BLAKE2B 86fce6b028ed4c3b713cddfea42f56adf55e105c9defbb8f6a84bfe397f0163ee9759218c2b43bbe9f9f6838623816fd3c31887e5b05ac8e98235f01f750a4dd SHA512 23550c824e7f3a1507d1e124224f0c1f4b7bd3deb07750d392011d374352ee430acb84e55143f3bbaafb67f9ea28a6aabdee77ffe3a78d68691f30fefd4304cb DIST genpatches-6.1-69.base.tar.xz 3845328 BLAKE2B 8712160e24a37b1333b7cb2314cc9a807caab08d2a19a4c784d38f8790bb7d5f8bae06ea3f18e0430bb9d196f5525299f6530661d182769ecf5e77cc28bfc852 SHA512 bb88322d976e4dbabb9f884e6eb6a4d581c409fe7d249b80bc4ab87945cce579878c0b197db16b1543576eb1580ba46586b077ec6294647fcff083d26268d889 DIST genpatches-6.1-69.extras.tar.xz 3816 BLAKE2B beff365f70a79f0b89ffaf3807f69e770a2bc05baf568b80dff66d135d59557bb0463d2c914953722b0511a2e1b100b0c4b6181192b3ad42eb4f592c0b785eea SHA512 9fbf140b90103a750287f4ac94b3f1606a5f12d97626dbb8370b876e1894d5397f4af740885b07dd5c4e0616583f6c909bc881b9cd90c05cf1fef614a006a6bc +DIST genpatches-6.1-70.base.tar.xz 3972184 BLAKE2B 4fecbaed663f02725423386867efcb5d92ada6fd1efa880bad4eb75c19285172e5faf8fde382287d76e0140cbb92b9befa547c8c8e761017e28aaa3cd368c012 SHA512 e197bbac9740394d4207d3e6261ae0ea755dee69e1b64e8ef16632b32a827ae994f0c197117346871d5fcfb44fe9cc919e5c0f3e4a94b8e3de2bf35bf6bdc8cd +DIST genpatches-6.1-70.extras.tar.xz 3816 BLAKE2B 24fceb3a4d3482fe840ec8053badc22d06a8eb0091af745991ec729bde2dd99202122c149fe39553e3a0cc4e853c6d97d084d24a759172c643ceed829f2f6cf9 SHA512 381d9c79faf43a9c26991a3064096e90e7dbf027350c299b3a0afba6248b4cff4c7c58e6667528a33d77ed3b8e91516cd018f0aa4c9ae340bb441218e681a5af 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 @@ -52,6 +54,10 @@ DIST gentoo-kernel-6.1.62-1.amd64.gpkg.tar 72570880 BLAKE2B fffbda5d72cfef3e3e39 DIST gentoo-kernel-6.1.62-1.arm64.gpkg.tar 65576960 BLAKE2B 37c05f04c698e50123dca234cf8a31ecbb48ccb4460ecea58fb0d95039a501fb32f0bc46e78b00608b734f2225861e430067a9c089c267bd608d34cb68320167 SHA512 880e5cc31f37b84e57ff12ef0943eb60643111b62479023b6c9cfa808e8393d6514fc06910f807aafc4b66ea0d38b2540dd1b8c66740fd9ad737f92e3a20e5fb DIST gentoo-kernel-6.1.62-1.ppc64le.gpkg.tar 59852800 BLAKE2B ec0b5ce2c745fc780fc30145b7fe34a0cda921f5d84d47b5154dba169db132a6b8a65ec44419012d2bb038f4f07e097dd2e813a24b34edc7e031eae69f222b2f SHA512 86d40fd4b0ded900bc390e6210ed5bcca044d5dacb3f7a269793028187dceb2ddf4731ed893dddc86f0dbe03a54156f1bf4414b665628914b56b8e9e9e0352a9 DIST gentoo-kernel-6.1.62-1.x86.gpkg.tar 62095360 BLAKE2B 512b11c378306df3297d708e18d23effeadc3eeea03787afdf4fac07e1236d1c0cd0b2d82c39e9d26afc2600287ac9e592cc5378ff04fa22c8c1cd55dda55ab3 SHA512 8133a1d6e5022a34e67ed067e850771636e504cb3275f9c0a00bd9483fcfdaa513c4ea6166d2742be5ffc8f179047d983a6c05c7df741cf53db16cb47b0720aa +DIST gentoo-kernel-6.1.63-1.amd64.gpkg.tar 72540160 BLAKE2B b3c2766fe4311491cc71b9346151ba0a054b69c88be1e3b65e9d119b72fd2e8d2eaa9c11c80deb977a970404fe633317f9836af2f266f31920eab7f8f1d50d20 SHA512 9191da3c4c3b499b1a173204855c8eaadc3783c0cc45be38b4389d6fef3a7439d30f3b129d3a076e956bce17e69d547bf66c9787e5440d617c0019e6493d6d17 +DIST gentoo-kernel-6.1.63-1.arm64.gpkg.tar 65607680 BLAKE2B 4b205b3f4632ec8bee3cc8ebfa95d273c2cb581761413aa392c56650598731f83df8a4f799b98c678e64f882b6379bad4bf88501b232ac939ed6e32e627b56c7 SHA512 eb1da1ce88e931845b88600847e2745bf7d03815df4efd8e14e4c28aaf883ffbe7911ce50f72cced6559aad8ba9aa793b10b2a8aa4e4ff76cd56a2ce97735bca +DIST gentoo-kernel-6.1.63-1.ppc64le.gpkg.tar 59863040 BLAKE2B a4ea3233dd8b9069edcfab9219bb40c3195ee15161158e241d951075f58498c885d759341a4c0a29e0d8c86b2259db488e1386d2ef6703b0520087e595f165d7 SHA512 2cc68b00f48747143c16e840883aa0a94f85c3d5881b45f2ff1997007afb5708460e0d20ee0e587307f35871fd3d0b3340d17b8258c2f3790f1ebd846b1a0d5c +DIST gentoo-kernel-6.1.63-1.x86.gpkg.tar 62115840 BLAKE2B 1be9915fcb4bd757d562cdca23a7787af781adbab75cd779f81c2ea825af716ff9ad4e748673572c87f7b4e83680a5a85fcca8b7f0e67daacaca656859f9d865 SHA512 2da47e7c7e6320661cbd23b6cc33516ef6e5460da504c154e338fe36a70f5e10507f2da4c527e3a3a096b2374301cfd0efc5035cc22aca8824d76441be359f6a 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.63.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.63.ebuild new file mode 100644 index 000000000000..d2845437114c --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.63.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##*.} + 7 )) +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 +} |