diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-12-20 21:19:41 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-12-20 21:20:59 +0100 |
commit | dff3f27c557ba53e17df3f3efe0e37dc970d8814 (patch) | |
tree | d0dc36e0040411766379625022eb08f8cb399b09 /sys-kernel | |
parent | virtual/dist-kernel: Bump to 5.10.205 (diff) | |
download | gentoo-dff3f27c557ba53e17df3f3efe0e37dc970d8814.tar.gz gentoo-dff3f27c557ba53e17df3f3efe0e37dc970d8814.tar.bz2 gentoo-dff3f27c557ba53e17df3f3efe0e37dc970d8814.zip |
sys-kernel/gentoo-kernel-bin: Bump to 6.6.8
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.6.8.ebuild | 132 |
2 files changed, 138 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 724c285ee75b..2a1694b2e623 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -12,6 +12,8 @@ DIST genpatches-6.1-75.base.tar.xz 4114396 BLAKE2B c21211d430392fbe96b0616e0ece6 DIST genpatches-6.1-75.extras.tar.xz 3816 BLAKE2B 6e34ca62609c5ce63e7accb16f0c295bf9a38602d0c11af80c81f12744c0d90aadad86164b83a362dfdf70301ecd879eb67066544dbcdfd522d767e103a8592b SHA512 05718354716e8c8a4bbbe94923201345e2d2e75274973114878d46bc34ac2dba4d7d5beea333b4823efbbef65449bad615733c0ad0c6ffc6e1b2595ce0e45d38 DIST genpatches-6.1-76.base.tar.xz 4170836 BLAKE2B 5f3d0f64b1b884d8401076e752e27f2021dbe9fd729172d5ae75ed8cd9cf578585e7dfcadf24542a07d4abc8350dcd0d17d41521f94f8d9d5bc1858e00752f5f SHA512 d4fa7598e022029d80199cf3c236b92c168674111f9d5a07fd3f8ba8db76249578db47ed68c412de369165d5c12c88510556241002285287cadd9a3e4a7b12e9 DIST genpatches-6.1-76.extras.tar.xz 3816 BLAKE2B d61edb2c2fb7ef815aca59eee532177c0452ccfb5896398200d704129e40daee6870b11c4758095fb6824eb015de46ac388cd77ec075e1d508c8a299bd4077a7 SHA512 9f90fc444beef2fcedae8fa2f6bb01492c9ff3fbf2a5f34cc17a52e5af9615538a6a24eedfc4e09575a03c67b339c4d964ac55e950b6aef11935d5f877862ca1 +DIST genpatches-6.6-10.base.tar.xz 603340 BLAKE2B cc3220f1df9406c393605942e1a6fdaaf8ab46da53bc2fe6d001c9608a55ae2e5073d94805eb233183142e81bcea9bab1ed4700e298fc32c16c033597219f9ad SHA512 1f0149759b98fa099bda28aa1c4913719f0b5c0c715a72f6c0b13d3faf317a8935ce10508cd3459c50e39a7759feb44e7cf43fd49b87bd5ccd6d42a5dfc531d1 +DIST genpatches-6.6-10.extras.tar.xz 3704 BLAKE2B 8b5e1453dd7bbbb7ee6dd02aef5e25e95f09a12a46d9dc014d71fe8fda96b94770f3cee75fa6f1db6bc9bdb67b39d272f8f887fc2986a17769237768bf6a382f SHA512 6ca7a360dc217684b1a06f869223a52772f267d48088d5e286dd27056faf34e9c4b4d575aa771c5f9b972febd4c656e32f470c4499feecd47716b07cc13ab933 DIST genpatches-6.6-7.base.tar.xz 472596 BLAKE2B c5f69fa43401555567c9e5c3b5bad31ef55a3f49756f86e1e5cb935cf8cffb6ee080f411b5113dc3fb9d43224de432e6f1f6fb5a18082d269e30181e72aa1fcd SHA512 6098a5d32ff83fe2ceb094055be6336a19c40246946606fd0b39e86ce8bf53b96cd5539e6cbc774dc865f4be742ac3c127f8f48ff5cd3a50484dcd5afb7b9df3 DIST genpatches-6.6-7.extras.tar.xz 3704 BLAKE2B 1bd0d01aefad3c47f2b7bdc550e607d2c4ba8e0cbbdbe3ba4ef57e539f9bd894222ca6f01908e6bb27221de1331634a6941867c7d6bece9620510110bf276107 SHA512 6da82d251ac6c33b8d2837e1a44a32ab5106f0a5816a8e76354c7d9eef510b4f485edfb1b80dad68e59b3a96494bed590ba1508f7b96697c364fd52c97b65496 DIST genpatches-6.6-8.base.tar.xz 472816 BLAKE2B 503418967edebb8cb2020edab16f060334fc16c9f6ce7980b8e25e3db1fc4869571fd466abc8ec4add3a095d089f0c77532b2524fae1136c5f7ed487e90ccd3c SHA512 04a247aadefd43a9ec1382b5f77f18dabb1701469cbeabcaa1604405cea9112bec56bc9a08d33f9ce5ebb90b8d77a7c7a21774a10906f3c8a685c0d3c10bbe9d @@ -58,6 +60,10 @@ DIST gentoo-kernel-6.6.7-1.amd64.gpkg.tar 84561920 BLAKE2B a69ea27ab96a6fabd6391 DIST gentoo-kernel-6.6.7-1.arm64.gpkg.tar 74321920 BLAKE2B 6828e56505da5c3b804cd3e98436bb4fdda0963e531ae193e4859041ab94d7d9e4da9cc829fa4404e0cc0c222f6bc2b58ffbd2e70b81b48a9e84771420b116b6 SHA512 e0e3c54ec862e06b765abbeea263ecbba1be3b5efa0fa479b9d5bd9bff32e6cc7adc5639aa17cd2dbd0d78894a832332c494e026af59f3757a87eee8d196c375 DIST gentoo-kernel-6.6.7-1.ppc64le.gpkg.tar 64317440 BLAKE2B 7e59a93f9bc44c98df9a3e1e107004c929420333f0c0e6166c8430563233aded7d32ee63c7f1046282d2786792440caf4558dd6684a6035a4fd7c17612d4dca0 SHA512 ff8745e2d696844b96c129dc06bdd537c853c17615adc0d30241b4e7e923bf805e70eb11191f27ad18393d3ea9fb9135f588e57d16b0f77242e34cd73b3d8d70 DIST gentoo-kernel-6.6.7-1.x86.gpkg.tar 68270080 BLAKE2B 07ff96c2e2bd7dd3b19ccd871661120c6ac480741518907204da1a4d47dfe3f4a3536d867f5baf13c9cdd470e20777bd995a7f53ea0b91e9ad82ca31fc4550c9 SHA512 ebb289457a051e874249371c032c42be42ca939afe2a54c098f47c349f3106c5cedf0e389c62d2aadc881606584eca2cc9fecd43c396f5957bbc174dd044693f +DIST gentoo-kernel-6.6.8-1.amd64.gpkg.tar 84592640 BLAKE2B bc10348b50a26e45cd3e2b835c4f0923ba6f7dd92eac59c23852f07287f74c510032b5cc1eab78220e239f2ba7eab09f625a0a2121b892ad66a243593312b964 SHA512 87b5bd2b3c8f9e0ffbc5810bf572088df2bbe4ca4ac745cfa66a02c2708a0d4f651adf4acfb00b2dd9d9221bf579366a242e6b283df4eb6312056f2940492a5b +DIST gentoo-kernel-6.6.8-1.arm64.gpkg.tar 74332160 BLAKE2B ecbed4c3045e117bb4040195dc2dbdf252bc2553eb71b87248e5bd2037a91f397796a0d857e97135defd805dd0eb701c9fe9f32722ca47b1bbc8c9fff6987e6a SHA512 737286d0583d836d0c6726470dcceb9e2496660de1103cd591c406ee827e23457713c960bba28118d2fd756a08235a65900bc165d5320fb9063a71b5e6a19eb3 +DIST gentoo-kernel-6.6.8-1.ppc64le.gpkg.tar 64348160 BLAKE2B 69a1a842f65f87db305e05f8430b40fc1639867eef5c013848b0683d4018da2247cc89655fddebf840ff390ce5c1b23c768acf8b9b6fe4230be78bb0b60e7f1f SHA512 2811b86ea85e193750e75c94d20bb59978964626dd05abcc482bf61ee4a81aa89bbd8e48f83b80752f7ff7e5bf79721eb4464bbc5814ad6092745802375ae842 +DIST gentoo-kernel-6.6.8-1.x86.gpkg.tar 68259840 BLAKE2B f36b39afcc2032f84664a2917fd4bd344f515e647de544b58c482dcb34cb78f21afdc5fa971c8b8e4af5bf4895a91f90e69fcfec7fd47a3d9c692f865546c357 SHA512 e98aca6dce21e70de98937c742777343a2208c58730f222afa6b87429d6cce566f513abfb3266a7f46b088061fca57942b8686e8ea3199cbf3d43ccb8e75b763 DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.8.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.8.ebuild new file mode 100644 index 000000000000..c378c0fde329 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.8.ebuild @@ -0,0 +1,132 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_EFI_ZBOOT=1 +KERNEL_IUSE_SECUREBOOT=1 +inherit kernel-install toolchain-funcs unpacker + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 )) +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="$(tc-getSTRIP)" + 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 + + # Modules were already stripped before signing + dostrip -x /lib/modules +} |