commit: 89a3c7d59f33b5054262435cdcdee18cc731b94e Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Feb 6 10:09:32 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Feb 6 13:28:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89a3c7d5
sys-kernel/gentoo-kernel: Bump to 6.7.4 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> sys-kernel/gentoo-kernel/Manifest | 6 + .../gentoo-kernel/gentoo-kernel-6.7.4.ebuild | 153 +++++++++++++++++++++ 2 files changed, 159 insertions(+) diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index c54e3b3d43ca..9144f06b9790 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -28,27 +28,33 @@ DIST genpatches-6.7-5.base.tar.xz 195356 BLAKE2B 64dc86eb0d86a4afb318c09593bf0be DIST genpatches-6.7-5.extras.tar.xz 3700 BLAKE2B 8d4dcde0675f4921e2c0e34dd7df63da281fdef2e670b050cee44ef8cd3b0040031491a8585e72d166dd00af3e278baa1c4df7f3386a1a946ae141b67d31b25b SHA512 6654e57796aaa17275621dd91ac1b205e4fb645231aba99366a3fe4136e713cb5ba87fee7ab3b0f606b3a6a0c72f402764760a110ca7299b2faaca492ea5585b DIST genpatches-6.7-6.base.tar.xz 325824 BLAKE2B f95dbe909af13e4da2edbd37d320f077b4229fb16d5e63c7e81f8bb5ac0e7fc78740dc94071a86e9ceacc12833b78ac0809c112609843551960db0dafe14ecef SHA512 307a2dc54dd4a176effc8f942a60d7a5516b8402a1255fb4e9d2ac34f2316f813741ce3c3fafe3900244504323aada4fe22a3980205c062e3235dd623305be66 DIST genpatches-6.7-6.extras.tar.xz 3704 BLAKE2B 1e9669edb016fcf24960bd678171eb5ad3f8ef6c3477d1f3a2ae4a1f3e0cfe1a9ed14e54d2316858c64c1f52702659e6c3ba2bfd5ce079f2bb04f1cfec01f329 SHA512 fb786fa90d0d979d867a7c5fa9c24f81d3c019403d8dc8bbaf5c72c105703ee5fdb5305974062d274cbd86b712f62b053b82fa34f4b8096247da944b5ae2cf58 +DIST genpatches-6.7-8.base.tar.xz 460076 BLAKE2B 367e038c6a8a02d8157b947f28c6b88b3053c2a491a0933f000f0e30af41bddc50b760b5918ccf1152de4d2e4a551983435f68c421d0cce6dc352c900bdf5d48 SHA512 d946201fb054810bc54bf73e4904df6deaa1b539623c5c77002fa95b49ce5d9e38fb3ac94e74a7b9d5ca57d7b21ea0dcf7785437fb216599202fff0d8d012b92 +DIST genpatches-6.7-8.extras.tar.xz 3704 BLAKE2B 98589d74cef3e628d7a693a46f1f87845ca98faf8093c9e120320e107d8c1e76d82441ec6b1a3f12c9c5fc5d20cea2cab4d6cd5dda99b318bf31ec5ab7c8447e SHA512 3e9a993586516e45d2fca24690b7ce001922732c20c5f52a7d954e5bdd1f8d7e91d4074b5128c085caeee49539dcb1a5a505424225c0100b8741f54d6ac3d095 DIST gentoo-kernel-config-g11.tar.gz 5077 BLAKE2B dc17ded74f79baddd703a78084113b85e7130877b300b5fe60453cde515fe37c52ece7877049bb0ef384f74ecfc73d59d7d4a513f8fef7bf4f651599946383e8 SHA512 e91156765ef2a48396370f884fdecd7bb1d600e5167f6bad51130520f886e9198adae375adf3e40fa803abc5d5482057775fb0275ab2589bd8f94d8af4a03c4e DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611538d24382ac87a8960077811a859c9595ac67f961b4bccb7e139a89abc7c0e26e80832da5c94211fc658082f2e7dde984f14dd29d SHA512 7d803b347b136331db1ad6e22e0445fe0224c3e26cd7c034cbe9794915d457b492e05f77664865079874ec001351553652646e2e08d0fee31e30b841b0008f52 DIST kernel-aarch64-fedora.config.5.15.19 242615 BLAKE2B 94e59440681535e38137b71814e1ae53f57a347f62cf31e0c1c8571ae43d9ae9be9957743c8cbc9ec74850c964eaabefe6799a28bc311ea7b99ee31391b47fb1 SHA512 fb77d3b73a215f97d70cd6d8c96ed20e497786b99ed7d7a7f2ed60cc1251289c1a4c7e058c41b5efac62e4a9b4b3d917dbdb11585955bba2b6584981430f4ddb DIST kernel-aarch64-fedora.config.6.1.7-gentoo 252811 BLAKE2B f6bad0d23132bf0dfbaa25db928a95f39763b6500fd1df9b4aeca4351e3e75f185891c0df96b111ad840e4bac431d74a9b11e7344e766ab49715663c89e4dbfc SHA512 41ebf195d8b656801d49c6bb693ebe1404b6725d70d88d93a75bc4af230030d65ef0701ea931846b022a3c598dcca068fbc38ecf6d064262b3f5b88e57060437 DIST kernel-aarch64-fedora.config.6.6.12-gentoo 271041 BLAKE2B 5af7c2f57cd6cd9230d9ab1a539a4b12b02cfdd777f5921b2d69329b171060a8085909a60eed9916aea504e8d9c9d1e907a61f0c6681ac75d5c64864052f821e SHA512 f744444f2840020dce2dc8473e3e562fa53ac1c34a641a9f322c2c7efd8fc4d9b3677479d3a31e705fa60beff0b1beca79ab78ad7dd4b6633d4499bebbfc76bd DIST kernel-aarch64-fedora.config.6.7.0-gentoo 276120 BLAKE2B 9288ac16c532e2122e9d870d7c7c266c4f408e383326c98db509a44ea0b587cc499cbc482e96fbf961cc021ffbb3f9b16efac81c7b289e2d7d514117781a8ab7 SHA512 cf47d4467beba74a3e9f0d99a009242e14b3e09bbbd0f5bf28af86379caa59366de68dc3eaab921d610c7e726056141eb03c0d8db6dab6388ba3136676cc937d +DIST kernel-aarch64-fedora.config.6.7.3-gentoo 276151 BLAKE2B 36606d1a802c334b29c545e35451ee95a076b6d8b48abdd2f2b67ca975ea71054096511078c0261448b2755a153abd4fbba3959bf4e64c94402eda0d0d153d12 SHA512 c09945cf51a7f42a377ae7b30ac34e458866145ee3cbd9f90bc398d533c3f54bfd287e7980142545ae148078726e635c07cb96eadf08ce9318a3e7eb0a7734ea DIST kernel-i686-fedora.config.5.10.12 205412 BLAKE2B 92c715b7e2cd7dd74da7970c05981f520597d3e403ce82c8cf4eee31c9f1f50b638792a6bdb256ef5bfdc99f1bcd594e819e8f44dc6febb2ad9a854bad817f2b SHA512 69d8db11723ae1b40fdedfaace74d15bb63198cdb0485e0a1e5eba95b31217110c93a93e39cc7370cf45f1d3a8bc7f75ec096d6db5ea9ecb28ac6b56702ebb10 DIST kernel-i686-fedora.config.5.15.19 222233 BLAKE2B 9e0f4dd37058f59610e46a87d3165039e76299d3c186fbfc3312101bac1b8b198de404075f5bbc6f5e2ba04cfd45f9d02bdf94b01c3ed11b9275f37f11ee7617 SHA512 49ffc39de86763e707a5c0c07c1367d34e9249615f29fdf97904d7b61a375a86fc4ba37a2f02b5f61e4c76ad65d9ba12716d2523af6faa003f6336d7ae61a953 DIST kernel-i686-fedora.config.6.1.7-gentoo 228053 BLAKE2B 1b06ca68465d7833905b6236a6ccf9a594f44613cbd102990c1667c1ece53ad982fa3abbfe475333e3297331ce1cfadf27c00c3e7de6293e213278e8ca97cd3b SHA512 1ed70eb5254a04d99d28ad901d4556dfa7e8ec8b739a0a33040315718effe9348e75ca8ac19d3b33fa7b3dcad9b4bb0531075692087c0dbe57ec6a4d873a4b27 DIST kernel-i686-fedora.config.6.6.12-gentoo 242515 BLAKE2B dbb4df93a5c8ee34d687262cced152a07f412a89ef2e8122429477633424fdac80809ed57a5a6de72de05313ec91f266d37c3494426099621d047c0561ccb57e SHA512 a65fe3299b6d8f89373937d2a782aa1469ebf18954b00bbf2798cee952b9946d7fead795388c079cb508f6d431e49b2812fb6d845c8a0e3861a4a3bd11e81968 DIST kernel-i686-fedora.config.6.7.0-gentoo 244374 BLAKE2B 257a580a674bbd4f16f47311f1f09d3068a8448d2dcb62a3007dd888037f0f33eaf4f8bea25d3ae117f9913c8053eb43611a03a4cd17d73525ae5de46d042fe5 SHA512 516d7d586f731edafb6749f51cfb42f0ec2d497a5971685cfc82d5bf4bab923f6027458fbf2b9cdfaf5f8f22f4df564cf402452cfe8760737c39248eac456bfc +DIST kernel-i686-fedora.config.6.7.3-gentoo 244374 BLAKE2B 257a580a674bbd4f16f47311f1f09d3068a8448d2dcb62a3007dd888037f0f33eaf4f8bea25d3ae117f9913c8053eb43611a03a4cd17d73525ae5de46d042fe5 SHA512 516d7d586f731edafb6749f51cfb42f0ec2d497a5971685cfc82d5bf4bab923f6027458fbf2b9cdfaf5f8f22f4df564cf402452cfe8760737c39248eac456bfc DIST kernel-ppc64le-fedora.config.5.10.12 192105 BLAKE2B 889141debb0656a358a3381bae14b5216b982acdfce0bc758f9445c16647807a68a788fb290199c2a1a23627bda1ef4c9405b3f5ac2a4176d1d2b55c71fb7db9 SHA512 3ab0f1401d9f50a61477c71369dede438f575d9d2c3a2f5c2cf36d624c2b59a938efca9c981b075511b3860c983eaaf5e5a9f877d659277f09ceba45edd43770 DIST kernel-ppc64le-fedora.config.5.15.19 213339 BLAKE2B db6bbc9f402b8b48a2441e39d1a78dc112656ae842bc5594065cfd2ec3f6d462e4bde200e8736a70192af35fb3a5d1fc42683783a5b7620881f3a95bb0bc5f4d SHA512 b43439c24be8fa8bdd17d4c0beece799544ae45b2c289f0202fa5eb7a52dce0165a0cbc924b0decf877582af9688efd675cbfbd2313ff85fcc2c8563bba4b1ad DIST kernel-ppc64le-fedora.config.6.1.7-gentoo 218278 BLAKE2B f4dda4430e9801c4660be4bbf6e4b37052e720656e77c928adb7176ff3dba55feb2fe66dd564d41a181809488941cf392ec9c94d786e4a3d813fbe5d683d305f SHA512 a5e12ab1045fae61b494938047cf1c2a3c34693d3d242968e4ab564a012c70e6d232b9d5333347f5ba114a64bb59dd96919b38c5a1327fb8c5154ef40ad28d2c DIST kernel-ppc64le-fedora.config.6.6.12-gentoo 232147 BLAKE2B d67c2ab2d089ecdde3879129d2b1f85a592adae811ed053d00d4ff120e6bb44546bb41d74817be558adb1d669d06f3dd50e6ea542c8a9c2f13672f77f4e4eed5 SHA512 b130b4c57959c0f7be983334b08354640d5e2946bfdd956d6c5b895f816f6177d5fa4bb1c4382cca5c4dd4723aac42e9e89a002b71d86f4eb30f755008f8f9af DIST kernel-ppc64le-fedora.config.6.7.0-gentoo 233294 BLAKE2B d14dd35ccd3c481b4c79edca44fc645fa85d5f0f5888fa3b888b7b94e55b6d0881b250c3fa125b0d3c4aa0f56ddf5e903b75fe072e832d475100709f261c3825 SHA512 a132f7aa6e221160b43d24fef230f4aca390142c992ab44162cb39f02e18dd3991055bcefe27908cf88e10de2f71eacae27750b089528d1c05f1f91a4ec06909 +DIST kernel-ppc64le-fedora.config.6.7.3-gentoo 233294 BLAKE2B d14dd35ccd3c481b4c79edca44fc645fa85d5f0f5888fa3b888b7b94e55b6d0881b250c3fa125b0d3c4aa0f56ddf5e903b75fe072e832d475100709f261c3825 SHA512 a132f7aa6e221160b43d24fef230f4aca390142c992ab44162cb39f02e18dd3991055bcefe27908cf88e10de2f71eacae27750b089528d1c05f1f91a4ec06909 DIST kernel-x86_64-fedora.config.5.10.12 206357 BLAKE2B 0eda9d4f3f973336cabd67c1ac78f100aabde926354743e8dcb7ff84496f0de49210d45f99bc850a2096078b0b4687aa7fd965d999248559506004f2b29dac0c SHA512 b12f43d3c1a52a4915cd73db98874ce9ae6c425672c0f1c19ed1b1101341c868ebf1c9620bef5449752ec0d7342c1ce38fb77779d0f89b9267096a605ebf7a26 DIST kernel-x86_64-fedora.config.5.15.19 223286 BLAKE2B 239995703c01dcb6d179133dd115bc0a57872c07d7a08afaf4d92cf6d78f0c17b19487b5b399ac7fdde5d460fa7931628147817a569fef2c3a62951c96054bdf SHA512 9bee4aff7e5ef4ada57bee7496aaf47b8fdd5c936c4c9b580660d130db0678eaecdebdbcab0dfcaf5c17a71f6419069840db10f5886806b6fc810f8a3619554f DIST kernel-x86_64-fedora.config.6.1.7-gentoo 228685 BLAKE2B e68236ccc1d51b2aff850eda9f3197b7ea95b8a88716bc7b07dad30348a86fdbb99a948060300dddae73ca82267d851d357f1c9547a9dcefae1364deebdbd124 SHA512 42bec2ddb9cf7eb6e84bbdeb23eb98dc11c9cea41f6134b776010c6b36833b520a290f0ef0145379de15c7f7834398fa5e3aaabd7258d7d4e89567faa09eeb4c DIST kernel-x86_64-fedora.config.6.6.12-gentoo 243607 BLAKE2B 7e670d37c6471e50aa0ba395570cd0173af0210afe63faa48d7a147327110652e3aab5c339cf10ed22a6a20e81e505aee84311beb21fda3eb577e06ea55ecac8 SHA512 c484403a60670dd006ecbe65240cb00d97e8b3fe22d1169c5b6ccb92bcdbddb3ecd474d2b57880b30baf6a38bcef11fc8d56b8b0b02fcddd859833c3640cdc9c DIST kernel-x86_64-fedora.config.6.7.0-gentoo 245518 BLAKE2B 95e474477509bae45c63e8fc2ace4fbdf13248bbd5b47728882f25b52923c95f1b26f096769c4c4d717de8af1e6ebc3c7ff6ce8a84f4a3301153d6f9c47a1086 SHA512 b7a23d49904cf9230beeff69456762be24b145cfe2b3cdfc414826b2c7ba6454c60d00ff3269b81fe0eb0c6e40dbe2cd301bdeba1bb43f82fcf2724c77fd3b5f +DIST kernel-x86_64-fedora.config.6.7.3-gentoo 245518 BLAKE2B 95e474477509bae45c63e8fc2ace4fbdf13248bbd5b47728882f25b52923c95f1b26f096769c4c4d717de8af1e6ebc3c7ff6ce8a84f4a3301153d6f9c47a1086 SHA512 b7a23d49904cf9230beeff69456762be24b145cfe2b3cdfc414826b2c7ba6454c60d00ff3269b81fe0eb0c6e40dbe2cd301bdeba1bb43f82fcf2724c77fd3b5f 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/gentoo-kernel-6.7.4.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.7.4.ebuild new file mode 100644 index 000000000000..8b79d025434f --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.7.4.ebuild @@ -0,0 +1,153 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_IUSE_GENERIC_UKI=1 +KERNEL_IUSE_MODULES_SIGN=1 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.7.3-gentoo +GENTOO_CONFIG_VER=g11 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + 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 + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig ) + sparc? ( savedconfig ) +" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + loong) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + riscv) + return + ;; + sparc) + return + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) + + kernel-build_merge_configs "${merge_configs[@]}" +}