diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-11-10 16:36:42 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-11-10 19:44:33 +0100 |
commit | 45f4cc35ded6e96e2279d78f6d9cb06d9e3db882 (patch) | |
tree | bdd4f3ad6f00467b6862423d92607c079495be93 /sys-kernel | |
parent | media-libs/shaderc: Fix deps (diff) | |
download | gentoo-45f4cc35ded6e96e2279d78f6d9cb06d9e3db882.tar.gz gentoo-45f4cc35ded6e96e2279d78f6d9cb06d9e3db882.tar.bz2 gentoo-45f4cc35ded6e96e2279d78f6d9cb06d9e3db882.zip |
sys-kernel/vanilla-kernel: Bump to 6.6.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-6.6.1.ebuild | 140 |
2 files changed, 146 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index f1680e8fa3f2..ae0acab73f7e 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -8,24 +8,28 @@ DIST kernel-aarch64-fedora.config.5.19.13-gentoo 246842 BLAKE2B 4a824d02999749a0 DIST kernel-aarch64-fedora.config.6.1.7-gentoo 252811 BLAKE2B f6bad0d23132bf0dfbaa25db928a95f39763b6500fd1df9b4aeca4351e3e75f185891c0df96b111ad840e4bac431d74a9b11e7344e766ab49715663c89e4dbfc SHA512 41ebf195d8b656801d49c6bb693ebe1404b6725d70d88d93a75bc4af230030d65ef0701ea931846b022a3c598dcca068fbc38ecf6d064262b3f5b88e57060437 DIST kernel-aarch64-fedora.config.6.5.4-gentoo 268615 BLAKE2B b32bf416971e95bc9f242da3c2d0149550c856f54fd21699dade735d22fba1f74c722ac10f3808cc49c76b1553f92a7871495ce1e5eb192ac423bff021810452 SHA512 55d9efcd75807e9e29d7337f799345fa39e7062319d201c66878230c088db1ef5c856cbb1937ae03e32c056ff532a7fa99df95b3e7896120a11fa5e51a2e10f8 DIST kernel-aarch64-fedora.config.6.5.8-gentoo 268569 BLAKE2B c854b9586fb53ec1409f43730de3a513dfe9cd85f8fc0c8d1c5abab1c427cd0d88f593c8c530e1b336690eec3805970ad46baa9ea512f359921efb69630f703f SHA512 c890d5f7b0450e652def837406c759c1f20e74f5d9ae2d2abf4de08effe333efc400c523c6feb8974641391bde6d4f1d31e3355f5b091c63beed4980bb8f4aa9 +DIST kernel-aarch64-fedora.config.6.6.1-gentoo 271020 BLAKE2B 63caa50c84cf2a5f0f5ae51d9924e6d62bee4cfdd7479e19fdcd24860f072ae447ff30252f1b43da4f5b6b448bec245e830cd475de86a83d20192fa625531f79 SHA512 e47590731cd9918f8d7f64731746b63fe66c68b6009c6b79acbff116f5d008b2e159b2647f4f2330f05b9638111ea366f5c2ce47b88665201828a1a8aedc278a 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.5.19.13-gentoo 223571 BLAKE2B d56f8e019b0c58023b08ee358a9af46679ca0f734c075ba6cd65dd6e3277640c0b7683e5707c48f687644d815a3840eb58351c0dee84fe9ec1dcea525fb2e1e8 SHA512 0d9fa0592b6a9414f2967677c048a9e014a0e0d43274eea4fe10f8099befae7389bbcd033f4fb36c7c44bd30c2fb197e860151e27c10dc354fe9a86a8bb65e94 DIST kernel-i686-fedora.config.6.1.7-gentoo 228053 BLAKE2B 1b06ca68465d7833905b6236a6ccf9a594f44613cbd102990c1667c1ece53ad982fa3abbfe475333e3297331ce1cfadf27c00c3e7de6293e213278e8ca97cd3b SHA512 1ed70eb5254a04d99d28ad901d4556dfa7e8ec8b739a0a33040315718effe9348e75ca8ac19d3b33fa7b3dcad9b4bb0531075692087c0dbe57ec6a4d873a4b27 DIST kernel-i686-fedora.config.6.5.4-gentoo 241072 BLAKE2B 69fdc02f2df9245b22684a96f839a7595de965f349093f971081a88d3658dec605def01230650df0285acdd4f9fdf670c0571920df355740be65ffd78819f9ad SHA512 d0423a5976041fe033d4fc5cf5e404619eac91af8f144251ed0275a5ea4c7db757dd6b3666a4b99a2eef9914745a95670a83b540558af60ebc8da7a1f7b13fad DIST kernel-i686-fedora.config.6.5.8-gentoo 241036 BLAKE2B 4a575b1c78700ef153fa6cc5d9ec5732a8e339e75a5c5decf26de258ab22621e1126acd12bbc7f299c28e7ab0fc50cf22d92b757ed8f1aaed62208fa7a7ec976 SHA512 9541a318e67ae06838d7b563609742a1acba078b4a8cfce3ee4034a9c251ba269a881a6f1529cc8ea7315601040b2b0c867bd2281afb6c4fce68c19ae3140db6 +DIST kernel-i686-fedora.config.6.6.1-gentoo 243184 BLAKE2B 57a1dd996f5ecbe80143fa059aca140432d326fbdcc2eea692d252cbe61be3e67be7a8bbcf5eb5af4ae80b1bf87ff2b0797c9b926f23e2f9dd1b0176b248dbe8 SHA512 67c874c11db86f51a2e0855e9ddd8b4b22444247e516d7586e3b236b3dbbb35981a6f3d20bd29dd56f00562161bcc90e67bd2a2c231d01bbb5e0e0e6d4a3bc30 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.5.19.13-gentoo 213984 BLAKE2B 9abc1d2e03bb34908019dbbc4e54d3d176acddca6e7af72fe73461e60eb249486c4e8a81bfe2515849aa26939d9abef5e981deeaa55605b34bb59552cd3444fe SHA512 d857ce4178950a96ff029c3c9870211424e1c5e95dfef88d25d6d1d517493a6fd95d9d398f42b8a6cf72482b07789be38f674dd4a2b9855da57c8391b0c2708d DIST kernel-ppc64le-fedora.config.6.1.7-gentoo 218278 BLAKE2B f4dda4430e9801c4660be4bbf6e4b37052e720656e77c928adb7176ff3dba55feb2fe66dd564d41a181809488941cf392ec9c94d786e4a3d813fbe5d683d305f SHA512 a5e12ab1045fae61b494938047cf1c2a3c34693d3d242968e4ab564a012c70e6d232b9d5333347f5ba114a64bb59dd96919b38c5a1327fb8c5154ef40ad28d2c DIST kernel-ppc64le-fedora.config.6.5.4-gentoo 230715 BLAKE2B 714559c2b2354751a32ca4d47ab51f2434251ee1befba9147c432f3c946335b28951d9222faed3069b03c3bf131d12a8271ffe3bac6fa1b0ca4398a917d19450 SHA512 812b135c6930357a9554be88906175e8897f4d8a304be2a479e938991a956cd0331387abc18d2098fdd97c48ce76843ae401a6673b83f2e5f7aaa03fd422401e DIST kernel-ppc64le-fedora.config.6.5.8-gentoo 230679 BLAKE2B 9c77b6bce636150bf3413e465cedc339d5ae2477e4c48d522c72f64cabcc8126cc5eeba07f2c698b5dd988ea6231c4df2b03b72370f38af3c1d4e282ee2c7d49 SHA512 04a0a7839928e30e891faf572e3a7669685fb9baa5ae6f7ec85cba089db828cff1d33d63dd789bf9f12ee0c4d777ee7c3ed103d6a5d539d43ace7b1cf155607e +DIST kernel-ppc64le-fedora.config.6.6.1-gentoo 232893 BLAKE2B e23331376e6c6d4262164479ad1ac24d28d7bf54b247a42e97019f25ec3f600c00a9f02bf0157f49c4ceab7ac0aac06dd25202f1c74ddcedc47dc290b4ea34cb SHA512 42e2805b30c5ead99b5838d74ff211a8fd819e221e869c9eb8b2c97700fa35bf20656229fe667dcfa649c10971143f77bb0f5c11dc962904db4e9730ca98d6d1 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.5.19.13-gentoo 224246 BLAKE2B 6dd95fc7a8bd38387a3bfd6c00733220b34091961c8437cdac61e4376de8b35529808f3b8e2db91c1a0c90e1115395df153f94107e6f9884a61bf646cb40d25e SHA512 1393e6315581a4934a35f3e66146d014ad154025fbc71245bd4b6e7639952387449b69df41605df8590a4d363a5aab5111b442b1a9f56b4d2996ca416f7e5c23 DIST kernel-x86_64-fedora.config.6.1.7-gentoo 228685 BLAKE2B e68236ccc1d51b2aff850eda9f3197b7ea95b8a88716bc7b07dad30348a86fdbb99a948060300dddae73ca82267d851d357f1c9547a9dcefae1364deebdbd124 SHA512 42bec2ddb9cf7eb6e84bbdeb23eb98dc11c9cea41f6134b776010c6b36833b520a290f0ef0145379de15c7f7834398fa5e3aaabd7258d7d4e89567faa09eeb4c DIST kernel-x86_64-fedora.config.6.5.4-gentoo 241647 BLAKE2B 8f72de8eb9ea6abf9b752e9c79e708c4a7bb7a1f5c9403abb6b2599a4f0849289c484715334b115c8e6da959b8e96b21a27934dd32d3ef54cf176dd563e4b936 SHA512 c8e22f29469d7a313f71bf7918f80a308671f6f9d59b4cec4af74f760e0895975b61472a49de5c092949e584a77db6470d0703828c0a520f8c41496837c8e825 DIST kernel-x86_64-fedora.config.6.5.8-gentoo 241611 BLAKE2B 471ded43ec2f75998fdce8844367a6f14c06ee83c0aea343301b1ea901b4e8e185855099ff61ddb855953fba1599f8874bb8ffe4da27152994a0cbbc53670e28 SHA512 bd92695c32d33c6a90eee96e481fcde02586d71d1d0da158b04d9e9f3dbf9367178bdcaaf71167a043df646c5d715b087f1acd1ecb4f3690dce766604676e7a4 +DIST kernel-x86_64-fedora.config.6.6.1-gentoo 244276 BLAKE2B ca596be21a19f10b7490719f73ee20ab0f97c5b32d5a8eb38c1b8dd7f299b5ea302a488b04e76ac7efb7e8d5444c7af0a896edfb1ffe7abb58be85b03c55b2bf SHA512 0d07e65968bdd170f16bd4bc7a8c99965cc22547f50b416a81541ec6dfa4da88f2fb70969c04efd923b79acfb35ad8f06eda1fb657405bfce5c14d636cdc977b DIST linux-5.10.198.tar.sign 993 BLAKE2B 37837e3f112bec045edc490c64c8182b96d9dbf2fb215d497b4b09529309ab6f7d843086526d55940766bb798ed1ca981acba6ba936250178a0928edd0c66001 SHA512 fb9920f6f714efd2331c5c5048721b17734ac12bfa85a4b6a9608461f4a6a5bd7442476728997d85a5db7eaa496759b404cd763203669f0fa33d430b6fe066b4 DIST linux-5.10.198.tar.xz 120618524 BLAKE2B d463367f0e9d9e1cd426bae13571d36f739cea3de54a222894c4f837c56576c8d0f2e83f6c9c3a8fb2644340859a335403d9b91837b0754729a5270f34dc3a19 SHA512 3ccfbaff9b45d3239024e6c29e3a33af05460997971d767293e45f22c4db66f99595285d5dac1071f19926f35cdd90d323bd6e57809b57954f4988152ebe6342 DIST linux-5.10.199.tar.sign 993 BLAKE2B a71acc03788cc9d9003d88d8ba544d71f70c1cc0ff15d38ae6598c1273fda416f74f8cfc879377d3cc94dd0910b4078b8a5021df5cc010ad39049354b1db88a1 SHA512 ff22da4e86e137cafc1ff210331ddabec7c0a568b38845c14c1bfbd12024068666279271639eeaececd6c11b2f191425eba8ad0832b1f9e5fa7462571054052d @@ -62,3 +66,5 @@ DIST linux-6.5.8.tar.sign 987 BLAKE2B a5cc0238804fd53c50b60c5919f81ce14ca70777d9 DIST linux-6.5.8.tar.xz 138985892 BLAKE2B 5d104cfd8f1f08b181ab85bb251e0a2fc1b37a791f396e83fab82ff5aeadc0c69a746359a6005dc766546c5a880235e1b4c477d67bd7b33ef6c4aaf4a8ea488b SHA512 d13b24b49b337238b09f7fba865082935836e6f3322694576b71776fd999b9ef45a5e4779bac4d0ce5303f0627ccb2889864a93532e9c20699acf0b35917beef DIST linux-6.5.9.tar.sign 987 BLAKE2B db3505f4cdeb6cdcc413dfbafe372538aa70e42cd72ed7186c17af3d3e4c8014edcd99b2ef1c7079c1732313e6f1cb3f3ace667adf8d7834f6c31c7c9f017d7e SHA512 d62c92d86520ffff7fb2154a0e7332887fd694776dd36730793872bfba8c32d68520b5302d90bfac1271fc86f9415119f179d9b7e0d246044603a18ebae277a1 DIST linux-6.5.9.tar.xz 138975148 BLAKE2B fb5fcc0dc79e2f615a550283481492a8185414d65369cbe805909112735593e5fc8bdbd482a347dc4cb3dcac979bea21cd03c503932e9321856eeea685d31c65 SHA512 f33b86b24980454fa94edc1aa30798f611c08071c2349bbef96aadf332d9fcd9ea4df0d8646012c4fc6a3786d9d8a6c79b0077bab3f4b3e67a09e48cb4a10efc +DIST linux-6.6.1.tar.sign 987 BLAKE2B a4eab221bd57e6d5e4508e32c9d6f8939f1b00f935b4c31951d727033de3d1385ee159540f55fb44d17dde0f700fcd77f9bb20adcaf334fa81ee4d159f1a6c9f SHA512 8815f088b96980d12a8631b5e38d1078354f78295bdab0015d4aea62402111124256c2839624d60f8aa402c5e2d8dd566b749918f2399fc7af39515962774d28 +DIST linux-6.6.1.tar.xz 140010660 BLAKE2B 3bb35ba0386b00aa76dfd073e87b0d5a319d3116a80c39b11a3acd1219bc7d8b3809c1def24a3c4f52abc60f70c170a2f80d80c6b54459eec016c5ddc404c6fc SHA512 d0aa5c3e686089c21e4a155cda1c46215c877f82dd15f7e4e7ba8a4a8c161baccc110488262e139507ff9e625e0118ade888f3e54ac5d75b9acfa2163932dcc7 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.1.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.1.ebuild new file mode 100644 index 000000000000..41429604c88d --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.1.ebuild @@ -0,0 +1,140 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_IUSE_MODULES_SIGN=1 +inherit kernel-build toolchain-funcs verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.6.1-gentoo +GENTOO_CONFIG_VER=g10 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +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://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + verify-sig? ( + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign + ) + 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} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/openpgp-keys-kernel ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + 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 + ;; + 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 + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-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[@]}" +} |