diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-02-01 15:59:34 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-02-01 15:59:34 +0100 |
commit | 8689cf195865a93c6902d7c3096db56376b4a056 (patch) | |
tree | d3cb1f68e59df328381c724682109f0f2ed16df0 /sys-kernel/gentoo-kernel-bin | |
parent | virtual/dist-kernel: Bump to 5.10.166 (diff) | |
download | gentoo-8689cf195865a93c6902d7c3096db56376b4a056.tar.gz gentoo-8689cf195865a93c6902d7c3096db56376b4a056.tar.bz2 gentoo-8689cf195865a93c6902d7c3096db56376b4a056.zip |
sys-kernel/gentoo-kernel-bin: Bump to 6.1.9
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.9.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 2d4c5c543070..b46a3f51a524 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -18,6 +18,8 @@ DIST genpatches-5.4-235.base.tar.xz 5437324 BLAKE2B 16a5f67224b3bc10792945ef3798 DIST genpatches-5.4-235.extras.tar.xz 1812 BLAKE2B bc1b83082a60463da80236c4eb42590981905e35f653ab2976c9f31f4879446f65d0f123f11e45bd583fc0ef788898f38a6534e66d1a028716954020427736f4 SHA512 515331c1ce6d7ce76f946ab6b8443afdf47f829bdf8e486ca733854d5c984c0c99a36611cc82418b0155f9ce1276b702affec04b65c4699cd4bf796d3ef6a7d9 DIST genpatches-6.1-10.base.tar.xz 591388 BLAKE2B 5352d923a1df59c38cd1061ea9454041143a9786e4c81c195edb0e50ae9490f9629f2806482246c417db294a2ad9b643c9a6b38403c46c1b135c73a94506e6f2 SHA512 5ed3ea65e2ad63f4d59241b8e11f4de068564e5079c7fd6d511e9636867843e517b662f744577b615cbd572fa7313af260fb07c5c4e39e0cd114e4f315d3d777 DIST genpatches-6.1-10.extras.tar.xz 3804 BLAKE2B 2a713dcd63d5946368d0bf88fee904b05f3fceac266173aa3016c528cfb40eff98f7aeaca2fd67e52a02a39b80b430fd55c8abd65ff5e61dbb6e6cd6ee757282 SHA512 152c134efcd7ceeb233bd7d9211a871d6b4f633e4782ac73657d583e4f149763e37ad7cf0f19efbf1c4c25fc50f3c67167b15f024eabfcfcb016b1cb23c36ae0 +DIST genpatches-6.1-11.base.tar.xz 672088 BLAKE2B 29cabedf32ea3f8cb1ca75bde23955e4cc23c54ac93f8dbe66adbca1b1af4e5c6b54e60b84ee95bf48f9432a844aea279e89acb3a15cd8ab67e5453fb179c9d4 SHA512 a840a15204d1f1fd9f809cabe01cb0e37756cf1ac89181b29306e6a3b0ea3ce5e8b48b2402804b096106d0c4a0eb2b318e4ad3eadfeee4f266e6c3b6c259a6d2 +DIST genpatches-6.1-11.extras.tar.xz 3804 BLAKE2B 9ecd609350e0ad98aedd70e1bd6838fd2d933576dd2236bc111c13b46623adba926bb1547349a1e9e35f3e90e0ef0b29fdc10bd38e3c4c5aeb3cf92b2cef9ff6 SHA512 f8aa9ac57c51f229a8a940ca57b401ca7c5b46cf40cbc1ccb427b341082c2f52e5cd945c548b2fe809935ffb94d4c8275fa4011510239d38ae13b338d568253e DIST genpatches-6.1-8.base.tar.xz 477364 BLAKE2B 29fa8d45feed6333883e1f4733ace6ed52b5424aeeada3e71917a0e3d85f87a7b99f0863ff468e678ee5631c6e0f0dd7c3a0115a58d80512ac1a27d58a2df149 SHA512 d1f32215ced0ed39cc1c6d224b1a12ae3f80bcc19f1ea23189e853367ebc661c74d17d335bd615c2fc1f3c21271f6f170a35caa38194b2dfd09f78e405739ae0 DIST genpatches-6.1-8.extras.tar.xz 3808 BLAKE2B af83b01895f1b3af4c0220a89b0dabc3642e578920475402c02dbe0300c520dbc621a2245eb66842addac48565c8b612198138c49491dca7909d594a9d2ef818 SHA512 22f9378bc7b4413d60672656c2e73bfbcc6debd10179a0eb2b523bceb5f3adeacecbd433ede3aa057143163a9cc2971d5023d73ac8187eaad59508dd229feba7 DIST genpatches-6.1-9.base.tar.xz 544936 BLAKE2B 9152c33c4145f99daff4f436afcb621883d21fb05be5821a045b47be2880250d3ccf1210f3ecec0241ac41f57581da737053b86852760cd11efc524719fd0f6b SHA512 88b6bd131dfe53a51a9a0dab13ef2bfaa4818d4b0ab93e485346f96fe58a64b7338d9aa4483c751d9d1886818ee8700918721037b03f868a3b2cd9d5ecdd7799 @@ -70,6 +72,10 @@ DIST gentoo-kernel-6.1.8-1.amd64.gpkg.tar 76718080 BLAKE2B 713e821d591d8cc2fe314 DIST gentoo-kernel-6.1.8-1.arm64.gpkg.tar 69416960 BLAKE2B ca6850fdec6fad8721dbb452e526873afb71f3fcdb8aa5806ab893b7c3b1b1a7bef0e3316f0b78d93d1e5824c84280fd8d66e815853cee4f9c3b775c57b6e1cb SHA512 00f265f601e687ba3575ed55bb01a146ac68d1828b98636644cd23bb78f21d969112ace0194d62aeb518aad505eb7b4a7f6674d1ccc6549a58f3a11c8ff5b780 DIST gentoo-kernel-6.1.8-1.ppc64le.gpkg.tar 62730240 BLAKE2B ad80f22360c5d40f9d880e20317957e868928f46fd8c0f3370b96523947fb4db7382b5e252ab3ac32e4e3284fdb114a0a2591d69b756ddf2da478b7c428345e4 SHA512 f9bda97985408478b632b934b10f5ab1c770a0fe62a46fd18b3969a9266091d2b5883e0efbd08da58d1046aa26d0a6f6b1dc800516eb77fc1114f4f6419c964b DIST gentoo-kernel-6.1.8-1.x86.gpkg.tar 65945600 BLAKE2B cbc615a39aa48fcf60cb9f424c5d842dd1123d53884f064ca49e5ae3f6034797a17adeada0b544924843d7aff20fff09dee7fb44629b8a13190fb0c2d7252503 SHA512 f9e554ecacb469d41bba1d6f19be5f18b44f3a5b6bb836e5a8b30343d4771a4b08b6320bf31ff6378d838480034cbcd1d012da87e007864f5d50c3c98a1e5a5a +DIST gentoo-kernel-6.1.9-1.amd64.gpkg.tar 76677120 BLAKE2B 4aa123ab222f8ffdb05b33e5f12dc69fa93dc47e9062f264ead51fe7d3d3ef18289abb9f108a96ea3acfd89ec2c6a12e2a882e3eaa267ac356e814d58c3d3039 SHA512 eb78874422fcd85cd3a5c1bdb8452cabdbe528f54b5ed8d8b4c25e38ff70fb849998b02ae2d6c590c81af331814b3b4d8723a81330e03e25641d10754ff32529 +DIST gentoo-kernel-6.1.9-1.arm64.gpkg.tar 69406720 BLAKE2B 321a51b3efa98ba23ee7db2d80b89b5e65bd88ed2da757efc6499ca6600f850e9aa5940f8b89bb8317bd012b2b4c0eb093ea106c8fd08a81d82a3c9bac0fe118 SHA512 47f62d7113ea84bd21166d27f212fdc7426cbf3b6f0360a9cd5f6d5fd190e9d125157647f966731f56774c07955b4d6d2d3cac8c1e22530fee61cbd081164e47 +DIST gentoo-kernel-6.1.9-1.ppc64le.gpkg.tar 62771200 BLAKE2B bfe6f915e046fde71e1a116fde440829127968af9884d825a5141a7873af1e4c424dd94c8d3f8e6008afe61c0a8f313b3c154edded04715b8e2a1f8e4af731e8 SHA512 9cf3257bc5bafc3e99c9e7a10fc3e33d162ec97d1721e2aeee0c5670692165ee2f3045d8ac1ee0300a361615ffe54177d3fde8a3c44702beb698f7905d8badee +DIST gentoo-kernel-6.1.9-1.x86.gpkg.tar 65955840 BLAKE2B d1acd5dca76dcd0c567e6425cec9a89f429cda4bd4b464df803b54029b6b2a2fe256ab887b1f2532e0d104eb1814659ef8b49fb40fdcf4d3fa67058d2079c853 SHA512 6c829daabb7d86cc235d47d3313910f1a0924fb5fbca2cc804bad54c8b9a959a200b921b6b5bc17bf5fdf5f06ec33c439e34792597beb1b726fd62f7f4f661ec DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.9.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.9.ebuild new file mode 100644 index 000000000000..b4281d75894e --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.9.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##*.} + 2 )) +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 +} |