From 5af5a2b4acc97daacc0bf0e1d4e85ec780734689 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 14 Jul 2023 10:36:56 +0100 Subject: gentoo auto-resync : 14:07:2023 - 10:36:56 --- sys-kernel/Manifest.gz | Bin 4406 -> 4406 bytes sys-kernel/gentoo-kernel-bin/Manifest | 7 + .../gentoo-kernel-bin-6.3.13.ebuild | 127 +++++++++++++++++++ sys-kernel/gentoo-kernel/Manifest | 7 + .../gentoo-kernel/gentoo-kernel-6.3.13.ebuild | 141 +++++++++++++++++++++ sys-kernel/vanilla-kernel/Manifest | 7 + .../vanilla-kernel/vanilla-kernel-6.3.13.ebuild | 137 ++++++++++++++++++++ 7 files changed, 426 insertions(+) create mode 100644 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.13.ebuild create mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-6.3.13.ebuild create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-6.3.13.ebuild (limited to 'sys-kernel') diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz index aea61a1af5fb..1b0419608b90 100644 Binary files a/sys-kernel/Manifest.gz and b/sys-kernel/Manifest.gz differ diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 62b9671c54b8..d9a985f6d386 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -8,6 +8,8 @@ DIST genpatches-6.1-44.base.tar.xz 2683644 BLAKE2B d0264b6d6456fb2e6a67c1240cd3f DIST genpatches-6.1-44.extras.tar.xz 3812 BLAKE2B bd5605700d0b55036d186eca82031f1d38883fbb3e2e98f0b44269c914f5a2912c026bebfdfd3fdcd563b97d3167fb9908bd0e29422b02e9314392b3ad2281c5 SHA512 e274c0e50fc476bc071fc4d77623b75cdfdda51951f541f56bc4f8ab53da17e67f615c37d35c93290d20b51d3ab2eb923a8e147daec4c59d3d1c87d3e803beb0 DIST genpatches-6.3-16.base.tar.xz 774148 BLAKE2B 36b92eff5065338db81890a63ca51c7352dd775099b627e42673cd29ee2a2585d3ccf4675f9239a1c08660304d27e4d9b2307a72dbaddc088be714b5823432d3 SHA512 6aa4f1c72f85c43296891ab6d1474f9d1b0be3f716167312a8efe2d65219ecf4810a10bc42244388457add6a32874c2448afef70967700393c2ddf11665dc008 DIST genpatches-6.3-16.extras.tar.xz 3804 BLAKE2B d8e1e83f598a420856ceb60bb0d7218a90578d27ba8aa4f6f4f5c3b44bffe4b14f12050f3e41e389035dc24778909e30d44bda8b67ee156ad32aa12097d6dae9 SHA512 bd199c0baf3ad6be48acaee74a002e972069ac52ef4d35c03f523af03e95323ad792f42e3ac77aa7aa97258afcb830bac7b9a8a10208c36c332852edef218889 +DIST genpatches-6.3-17.base.tar.xz 898156 BLAKE2B 0c350ad89dfc73a4c2fb5e7113d38cb1a28a1ef0ffa95db4e7e394873cba6d7eeffafb55e89cf2163d200cdc8fbea2fc9e8e29ca94a63d23250a8a8154949d78 SHA512 5ca1f7aa65935ed6d479eabd9ba2bb2674c5f49a98c828bb3879994b2f64fbd0e278c9cbd07f1082aae9c067d8ba9d24e645d0231bb411252fd5356802970fc8 +DIST genpatches-6.3-17.extras.tar.xz 3808 BLAKE2B 0ffa95929a402b7263b0e6c9a1c3107b5c6db9fcba9d1dfafcef43b2b94e941ab3b91b626d1580cf6251cadedb85a7187d84ef05f26bd44b1a8821a5f20513a1 SHA512 e32adb3f00795a617ab09f3f93753a6902c2f38a7d0cf35540731e9a98e99018d7f618eee542e896e758e42601ff49b010efcc4431599fceeddd6c4d179bde65 DIST genpatches-6.4-5.base.tar.xz 29696 BLAKE2B 0e882d51de63cce7a7edc96c29fe46c27f607abddd0a70d2977054838d51ad623ec5ff3f4eac8e18b016f6c310ba79d326967947c17cf662391638d7fd2ecbd5 SHA512 3205df0e92db622aa397953de85605e58b4e977262a8dbb9e59174c7a55ad2c784ba417069f948dcdeddda8318389be45d54a516d9b2f45cd2948938942d7e5d DIST genpatches-6.4-5.extras.tar.xz 3700 BLAKE2B 701f2bbb493087bcd8de7c7293c802bada8965901838b2eae998ec14749da6c46814611092b4120c25dc9ebef2313e36bcdc3593110d06c510e9db1dcf575f53 SHA512 0be95fcd6ce4ca750ea97c17bd897bd8083de63b8573080a2f3cd41d07c951293083afb739153a3cb29ea55e93b7d2063089119080b26f932c6a74e9425a1920 DIST gentoo-kernel-5.10.186-1.amd64.gpkg.tar 66334720 BLAKE2B 5f07b2c712e93102be6535c2ecb48fa3b735584c4370e869849b65de918e72a6952e602760d157b59fc79641524515691eae186ebdb235f10c79533acf4ac2e4 SHA512 c99a27afed991b2677400ce523d26be6b8b48cd355cee72c74f29fc7db1fcaaf6aa045a6037bc60e6d476821b10578f5b83d6b04d3e9a81321fe6a400c29184b @@ -30,6 +32,10 @@ DIST gentoo-kernel-6.3.12-1.amd64.gpkg.tar 83486720 BLAKE2B 79b2ad6455cf1ff3b893 DIST gentoo-kernel-6.3.12-1.arm64.gpkg.tar 72427520 BLAKE2B 8c34d201f9ac72176418ca04b2af429bfc3b12f18248eec70abf40d2194e98d5a3f2d5e5d571324c0a767a0eda4b67a189820be93cba63daafdae0c5da2e31a2 SHA512 7f8a79e90180c86825333d61a7ece66bca41d1c442231c08f8a473669b378e0d9eb338b3aa9bd98cadf99417753e84e20acc3745034f835cc02aa3135058e709 DIST gentoo-kernel-6.3.12-1.ppc64le.gpkg.tar 64317440 BLAKE2B 2b29eeb3d3be4a167c8f30900a2aaed09efcfde08c41978fa9d5f5fc9cf1e74abc87410f8d19794573f0c16079d18cd195c3441b95d529314b73127759a9143e SHA512 5b4b1617f55443ff6dc3d02b3bcaccb0780c2ad19d85c3608ac405daa1152b5f7514e717ae4fbc90d342ffdc4e123f5952d8a9c022fa8f136e288d82992518dd DIST gentoo-kernel-6.3.12-1.x86.gpkg.tar 67051520 BLAKE2B 762733cc15c3f9fb6845ceedb7fd9846f8be64e66dd517a3ed8dffd850d0c1a526b3648ccb8a8c2bf0770e28183c9870f7ad0d85f16b8060c4877cff9dad8037 SHA512 70ef14bd823f5c0d765462552bf9157b8adb46264ced2fa4897dd0a60a78727c9b9996fe945c3dad08777233ce8ba662dcc04fe4422f5412a3bf77a0a48b8e59 +DIST gentoo-kernel-6.3.13-1.amd64.gpkg.tar 83537920 BLAKE2B af4d1bb6e09aab9c897aab5438946877d356139efac014fe3e66c56b233469e4ae538e7c6a826a19f78ac9e274cde61e2cd2273f501268586c8d1b3cd9465c13 SHA512 806db82b571bcd239bbcabe450da7a7830b0e1c6442892a44b7a4a1da2531f2d5c1658a752ce9944acd0db533a5c9ab2ecbecdaff3fd461655d205acdb3293bc +DIST gentoo-kernel-6.3.13-1.arm64.gpkg.tar 72437760 BLAKE2B ba0f3b17205de919a98423e14a77f603af9c468666aadfd6a0020d692dda08b5c7bf563a2cbc28659bd86723c911a264839471fd32589bad78bc8fa677bde3a1 SHA512 ffd057dbd57efcce17e6c90d223771a770e3bc808b0d7430865396c06f6fbaa4804ee679c104735c7ea1ab289fb2f1aab7e163750e551d6f953a28e6918db9ec +DIST gentoo-kernel-6.3.13-1.ppc64le.gpkg.tar 64327680 BLAKE2B 8965d1fd8e16bd59fb871efd98ba75b25df4827641c1158dca29ae5acd3f89c9238500ffc5a08696927055eee140deb8b2ef2a2a093c1a9139aec584ae8a4f01 SHA512 243e7110c3cbb5893d2b4e18408b3468cb312bce358a86389ed9a43d0411e5014cfbeab438b0129dc1077a9da1e7d55a00d8a676b6cc827dd391f2904f356d9a +DIST gentoo-kernel-6.3.13-1.x86.gpkg.tar 67072000 BLAKE2B a310446562e685180f7933a7569cbef6a10d082221aae0280206d9e3749cfa60525a01973ff90c635aadfe731d0c57484fd1be45443a39ceae76bb8a061f42fb SHA512 0b0f607ba0a73b479ee60e6ebf7eb0be837df35654cc9b16913ef44abd2130af72a12e37a795186efdd32e3339d42fdcd0042b742c17f7df892e19c4c5485e97 DIST gentoo-kernel-6.4.3-1.amd64.gpkg.tar 84008960 BLAKE2B 10fd671edec759a7ea7b0a8cb801b41936bc20fe9521608bc75d06adfa50484ea79eda2e3a9edd6d52dc39f797e5a23cd0c0af3bfecc09365e3d85560a4b8a75 SHA512 27a4853e687c3791cb05ad7841716104fb8f1c765f83a071d921357349f1e1b96076df33e9a11696f1f6a9bcb8f4c3cc3c32c3b3ea6152b47602b087bbe2add8 DIST gentoo-kernel-6.4.3-1.arm64.gpkg.tar 72919040 BLAKE2B 62029a052a591b967b6cc0c8e23c32b0395e7d85c1d2d698a2eebb9399e0c3b2c3133e3e084864b74edd87e99c869b9d64764e6964d50047710ef4e79cce1366 SHA512 925dcfc831612870fa80a7951fa0b63326bf8e67593dbff21a45149f77ace1e3327ea32b764e278923c550cc09e206f20387143005e99ff9e24d52a6f0b296e8 DIST gentoo-kernel-6.4.3-1.ppc64le.gpkg.tar 64614400 BLAKE2B eeb487f9d02313f8b4ec5d031a862e5211801fffab22fd85dfc2c71be09096151187bd16c6b423d6cf541e4825a9afcb2fb8b3853f1ff2fd6a03d0b66a73ecfb SHA512 c3d29660fbf26a10fdfadd64c6b4865cb0597aa5a6ea89ae5e63e8e96dfb605da56ea7ae6fdb6fb1da54f77a8d476c1edccd015691eb77797b13b5801178b2c4 @@ -45,5 +51,6 @@ EBUILD gentoo-kernel-bin-5.15.120.ebuild 3025 BLAKE2B 95e4eb0f4309e4141a863875ec EBUILD gentoo-kernel-bin-5.4.249.ebuild 3024 BLAKE2B 1a00a8ccac9f12f20c9f3d39572af89a077c3b3dd424133197f35123ee41804588b9763008011c3ee33f269c49eadefcb4d31c01371685845bcfd9fbd189ff78 SHA512 3fb6a4b6ec491d6bb4ad19c37dc18e40565d7d6ee248563c219a43323c263ff1fccb0863727258c56c7bb6f2397cfe968eb974a1282fa3a685a6ed0c3c5247dc EBUILD gentoo-kernel-bin-6.1.38.ebuild 3025 BLAKE2B 95e4eb0f4309e4141a863875ec46ea241e6e9e96260bdd3804400e11d32dd2b12bce79c1c66e0abbe6533cc9c9abf0f19eceabe46885b6feeac986287fec0070 SHA512 1f22d7d6843659d872c9ea6bd6eda48f99841e95c12aa723020633cdf30564f43e4aa63e3433f0598930230a03d2c27a1714d2b865a548edfc5725cf9f99176f EBUILD gentoo-kernel-bin-6.3.12.ebuild 3029 BLAKE2B affd41a3466ffc303abb12fd2f1aea0cbad5e54e70386e975d8be73100f4f3a5f5a1cd16cc54d5b42de5fa02a6099a77a50d476a7ed2295942cfeb8452ca49c9 SHA512 7429d6359e24aaeec895729a7952021d70e60d2f14e9a0a8da0598b5764ad0cd47bca3f211af24857a85a44a4bdfd5f914f4afa56629099ef122f3f3752a18c4 +EBUILD gentoo-kernel-bin-6.3.13.ebuild 3029 BLAKE2B affd41a3466ffc303abb12fd2f1aea0cbad5e54e70386e975d8be73100f4f3a5f5a1cd16cc54d5b42de5fa02a6099a77a50d476a7ed2295942cfeb8452ca49c9 SHA512 7429d6359e24aaeec895729a7952021d70e60d2f14e9a0a8da0598b5764ad0cd47bca3f211af24857a85a44a4bdfd5f914f4afa56629099ef122f3f3752a18c4 EBUILD gentoo-kernel-bin-6.4.3.ebuild 3029 BLAKE2B ca5881dd1f012cb7003cd391c8581c214724c328f20f50f4a8d248a80b831f459f67da6da7203a61ef67fb91db4c585da622b7a532153401856c0530322ccdd7 SHA512 494035de5e3040f27dafa7ceee4915486b49065c0cd451bacf14843bab220bfa214a73b3b857706cf45db997ae7c22d2e03d460efb2087193de94b879d8ba3c3 MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.13.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.13.ebuild new file mode 100644 index 000000000000..847df860f667 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.13.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##*.} + 4 )) +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 +} diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index b32dde83e7d3..3bf87412352f 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -8,30 +8,36 @@ DIST genpatches-6.1-44.base.tar.xz 2683644 BLAKE2B d0264b6d6456fb2e6a67c1240cd3f DIST genpatches-6.1-44.extras.tar.xz 3812 BLAKE2B bd5605700d0b55036d186eca82031f1d38883fbb3e2e98f0b44269c914f5a2912c026bebfdfd3fdcd563b97d3167fb9908bd0e29422b02e9314392b3ad2281c5 SHA512 e274c0e50fc476bc071fc4d77623b75cdfdda51951f541f56bc4f8ab53da17e67f615c37d35c93290d20b51d3ab2eb923a8e147daec4c59d3d1c87d3e803beb0 DIST genpatches-6.3-16.base.tar.xz 774148 BLAKE2B 36b92eff5065338db81890a63ca51c7352dd775099b627e42673cd29ee2a2585d3ccf4675f9239a1c08660304d27e4d9b2307a72dbaddc088be714b5823432d3 SHA512 6aa4f1c72f85c43296891ab6d1474f9d1b0be3f716167312a8efe2d65219ecf4810a10bc42244388457add6a32874c2448afef70967700393c2ddf11665dc008 DIST genpatches-6.3-16.extras.tar.xz 3804 BLAKE2B d8e1e83f598a420856ceb60bb0d7218a90578d27ba8aa4f6f4f5c3b44bffe4b14f12050f3e41e389035dc24778909e30d44bda8b67ee156ad32aa12097d6dae9 SHA512 bd199c0baf3ad6be48acaee74a002e972069ac52ef4d35c03f523af03e95323ad792f42e3ac77aa7aa97258afcb830bac7b9a8a10208c36c332852edef218889 +DIST genpatches-6.3-17.base.tar.xz 898156 BLAKE2B 0c350ad89dfc73a4c2fb5e7113d38cb1a28a1ef0ffa95db4e7e394873cba6d7eeffafb55e89cf2163d200cdc8fbea2fc9e8e29ca94a63d23250a8a8154949d78 SHA512 5ca1f7aa65935ed6d479eabd9ba2bb2674c5f49a98c828bb3879994b2f64fbd0e278c9cbd07f1082aae9c067d8ba9d24e645d0231bb411252fd5356802970fc8 +DIST genpatches-6.3-17.extras.tar.xz 3808 BLAKE2B 0ffa95929a402b7263b0e6c9a1c3107b5c6db9fcba9d1dfafcef43b2b94e941ab3b91b626d1580cf6251cadedb85a7187d84ef05f26bd44b1a8821a5f20513a1 SHA512 e32adb3f00795a617ab09f3f93753a6902c2f38a7d0cf35540731e9a98e99018d7f618eee542e896e758e42601ff49b010efcc4431599fceeddd6c4d179bde65 DIST genpatches-6.4-5.base.tar.xz 29696 BLAKE2B 0e882d51de63cce7a7edc96c29fe46c27f607abddd0a70d2977054838d51ad623ec5ff3f4eac8e18b016f6c310ba79d326967947c17cf662391638d7fd2ecbd5 SHA512 3205df0e92db622aa397953de85605e58b4e977262a8dbb9e59174c7a55ad2c784ba417069f948dcdeddda8318389be45d54a516d9b2f45cd2948938942d7e5d DIST genpatches-6.4-5.extras.tar.xz 3700 BLAKE2B 701f2bbb493087bcd8de7c7293c802bada8965901838b2eae998ec14749da6c46814611092b4120c25dc9ebef2313e36bcdc3593110d06c510e9db1dcf575f53 SHA512 0be95fcd6ce4ca750ea97c17bd897bd8083de63b8573080a2f3cd41d07c951293083afb739153a3cb29ea55e93b7d2063089119080b26f932c6a74e9425a1920 DIST gentoo-kernel-config-g7.tar.gz 4625 BLAKE2B 72ba0d038ee34ca5eb26d43bd373735aef3a50d02b414993ea05485e49d83d46df98a6cb0f6f3170a8ec0c99b557432fd9a11cbb92ff7c2837625a7f4469831e SHA512 2d74a8ca9f5402b4290ed93cd3ddba04a7f2ff42c8d8d3f2cbbe22fc20daa0fca119368daa8af39b7a26b1b99e4e3187c3c5d95886a651675ad94ff98d686628 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.3.13-gentoo 258009 BLAKE2B cf25967d02c5f0b9565dfedfcbcbdc1de335cf0590bcbeb28147f30352f0d11b799f6fa3921e7a44bec65ad72be512bf2cf5d8475a387a6aff23535a560e534a SHA512 1703a285eeb096c7ddcd10fd42d06ce96dd019a3f662945bb72493a553e2ad5c5cf5ffd1003dd353bfaf5369ec395750b566dac6ac22a1cf715542f92e02da56 DIST kernel-aarch64-fedora.config.6.3.7-gentoo 258020 BLAKE2B c5350816279b6de751d13d8b451bea5e6d3e494adf0a8c5c3164d7776965dab26a731c1161a568321a42ed438b965502431124043d74b5b63cf51ba707062acb SHA512 e49d4149ee466069199dc111ebbc3761ce4366f0b2fbe6c470806527a5581b73397e10d6f95d1f422714322b7bdb52016a29ab061e9e1b813fb919d9ef64c203 DIST kernel-aarch64-fedora.config.6.4.3-gentoo 260188 BLAKE2B 94fe84900f7ab351cb5c1df9831a5141fd9ad4436511176471f1961d5d583928fc5b70c8a3e7b6c87738b942f82096d0dac0b05a632f458fe4dc6bd57e4f34fa SHA512 2bcb58ddaeec2903fcffecbe53380970c6740f91e6775b8ac3ff41a77df42eb6f773f608be25545b8ade0cb0e0f2a72bf00d26e7c47771859ca2d111fe875e35 DIST kernel-aarch64.config.5.4.21 199104 BLAKE2B 578ad451a76204df2a9bbbe34b5cb27051d2ac5e2c33967f562b01338c43f35da6dc33a4c2cc67ea6c3b32b155729360d3748ec28dcaa750f18449245b2e8a09 SHA512 66e9a437beb350fdc59512c17b8f72c5b5bfacf2b35070d810d77e66f49cf7929026cc28ad44b04a016d61e65d9fb4a10af6996ba09b604bf97e9c467d08f8ff 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.3.13-gentoo 231325 BLAKE2B df0d13becb4c98e5ffbf4aaeaa397da63a5396a0bf367a1f6b7ea62b21f4755204cb9982c9d65182d81ac2c9d4c70f5ce21db32d6ecde4b083cd39a93735b646 SHA512 1c31952be7d0ba48e81cd9f4c11cc248000db708239cc73726c9f635bc3fa7d915dab7aec1a30869b53ac063604c3a362ee4936ba774c5f5b3864fb82ba0b1a0 DIST kernel-i686-fedora.config.6.3.7-gentoo 231304 BLAKE2B bb81478997b018f00b5b2ca2294c6c0ff58499d645b1fc365b535a79a24f8660c6578f592ec199c3cc9e4d431f57df882153fa5011a4445299fb0d4f15383ffb SHA512 54fc5ce3b3abeb7f242876cc80c49ad97a5063fdabc79aabe94be08d7777062ef94a053259a1148c26c66d323ec334272e09f9d029817ab653137a7f2f9796b9 DIST kernel-i686-fedora.config.6.4.3-gentoo 232810 BLAKE2B d68818234ecf03a26b0593be604daf2c45880dbd5fadcf66202b5b993733e3d21b56fcb4fc2b0ef87f502aaf83e8c671bf961e5a645ae87a60c3222b2b849410 SHA512 a4abda9f60e03a7a91340c55efb9e0149970194cfda7d457ca1669ad21f38dec93e0beb7f4e9f9185dcca04b76c7f16e5537327260fd60c04e3f7804d98db983 DIST kernel-i686.config.5.4.21 183910 BLAKE2B 185126ffb85718bb73761d01683def80b6f002d7a7a6eddd8e858a30d8eadc863fb378d83a1cd2ed82b3540337fa66ae44475e31fb41ebc46d77005b6f54e5c0 SHA512 6307afc2295902e44fe65b1cccaa7a0260b295a5f21f1d67ec66197bd972bd3f5675b624f08d9da8b224cb3ec987d5c21cbd743599aeab9ac6214bc651f43476 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.3.13-gentoo 221744 BLAKE2B c878f61cb9217adb801683aa511c9c910abe48964d9ff27164e64b7a7549430feb7a6cc8ee01aebdf738bc869d67ade6bb8ecf5eb123d131a2a4a74c2b31def9 SHA512 ca8d5b2aabf3313eab7211c3d74c13b9917072813c2eba392c16678bbcdd06ccebe0a9e91226e35df7b0ef5283e0bb3b3d7d4898441b2055bfe16e5890d14458 DIST kernel-ppc64le-fedora.config.6.3.7-gentoo 221723 BLAKE2B c9d39b374eeeec89dd305415f017d4ae7e86d3646b093764aff17ba08ee13406cb2a525fba0f58810f3de3336e2075fc918a9ae25eba2ac5997367cb95ed986b SHA512 d0e9cd9c2aff239a4563faf774c7b40ce137004b8575ea15b52ffd00707a91b58ae238df2e6ee68343bfb669f5f57c1cabc23a091872183f283b9d79def4c384 DIST kernel-ppc64le-fedora.config.6.4.3-gentoo 223150 BLAKE2B 4a4685f6687568b1a7462e6fe9ea68eeb1a05d32d5402f893e1f6ef5d0061c651788bdcbb2980ef5f2675668dbad433e1c3370a4668f03b54233b1b39caf71f3 SHA512 42f8c255f2a8a8fa3eb6285c690bf2baa77ebecf11ecf141dd058b51afe959e74103ca5eac284b20e78abe7843ea0c82d0ac83efcb5dd15e13c2266d06dd8074 DIST kernel-ppc64le.config.5.4.21 172003 BLAKE2B b53887cb44f7c378cb3866780f8e556e19fdb02130d3b0df01d97698d2a91f7d90a200012559f288e962935742c3fdb67dfb6711876fad37862fe55cdca5b5f6 SHA512 82df8d0be47e9eb20bd7db570539bb061d0b6e2101dc78a54596cf4d0b4e0c536041449304ff9240b051ee09b342ea336c5645e9a3b66a5dfb96d7778ff86008 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.3.13-gentoo 232009 BLAKE2B e722298bc9d9c7c0666ce5539e7ca5b32f4580a1c53365410df44657e0b6c45cf5c26a6a810a34cec7a69f2cbfd7f09f018b156dccd9c074dba9e26fcb3b0393 SHA512 9f79d13316c2f1f45cdde1803280e1589319acd03a72117f87e087744ad8f93752851ada2af8218f9e55a19aabff551ddefcdcdcb8fa5b1caa49b0a0b58a45f0 DIST kernel-x86_64-fedora.config.6.3.7-gentoo 231988 BLAKE2B 60b43c8f1d2a9c36c533280f77234079e73efb905cd300a057cce6254a8f036e82af977b213ddfb72532d604510ad1deea862fb1eafac917990c18d11e7de42c SHA512 79a17ebcfcd12551dddc6077245305b400d0069e5a3cb71432799465ff833c9ff0f1a85b371d0198e67bd38aec90e856ba4a52681b326a3ff749434dd5e75fd3 DIST kernel-x86_64-fedora.config.6.4.3-gentoo 233494 BLAKE2B 15481955940dc58447f9527dde755e6a6e3e4db86ea1a7fbb0f31d32ba3146d6773b068594425d4aa4c72df5fe65076bb08271473b69d4563d08c17012992611 SHA512 c2ff9676d6792f6c49dce5237fba97100b7e3659196ce8e3b4db4f727cf0f379665b2351c1a9f62dfdf45696940bbd76c5fa890f0849029614a2eed0a1efc169 DIST kernel-x86_64.config.5.4.21 184907 BLAKE2B 0eb2b07c14cea7545350fcdf3a94f2a531f0137c502ebda9299cacf44da5385686e2049b480b28bc153c9d413d453cfe682b9655eefe70428cb720f57c7bd200 SHA512 f3b3ee6841555ac3a9cc11536a7d44e1a5a8df2bab14ba341fda7df1ceb0de45cf1c799a1d54a64f2858fd1272d348bb52cf269ffa396878c5402baf2730237f @@ -46,5 +52,6 @@ EBUILD gentoo-kernel-5.15.120.ebuild 3656 BLAKE2B f28fc4c7aac5f5c4f20e0feb60082a EBUILD gentoo-kernel-5.4.249.ebuild 2860 BLAKE2B bc1812c00d3f6c58b51d0e9389055a6ca000db0fea5dbdbed392790fefce8a9abb2766c1083c3215c09453d89d6fe9889ffd62b1bf873ff69dfedce41badbf7f SHA512 96e28a4dc569a8d6ae0ea10710db9187a26a448640e76507414031b5ea16ee494a889cbb4a44b9f13cefc9c00d4066a46e8a0887f9fd5dabba5072605d283023 EBUILD gentoo-kernel-6.1.38.ebuild 3915 BLAKE2B 32fbcf1d2df4cd62c7f70e463e81d223e2f7281dac414cc912367bef913bc0bdad45abc487c3aa5da0b8a5c22ac6963d4ab862a69e7e15b418ba1582a763ccd7 SHA512 1da377d13d150ab5bd23b12bc05176e59bf2e2440c1b5d906a3e838e9927b2ce5b3591199ae55c06626316531a92b2cc170fdb85bd335062a1de20c4f47f349a EBUILD gentoo-kernel-6.3.12.ebuild 3946 BLAKE2B d9cd40cfdab4a29e9b2f7aad767b21aa6ebe9ecccc4ceb71fc47e452cfaa071e484e707c33182fc229150a328b8a24645e20cfd045e6a1687c4721d597ae09df SHA512 4fe04b5f1681d1a667f3962bd8eeba2aa41a472bb695eb679e60776b06ada2e0551b85332a0fdcb640c47068a117c2e1d85d76ab535b0feff3fbf5ea02fffb9d +EBUILD gentoo-kernel-6.3.13.ebuild 3947 BLAKE2B ab3ac79724aeca9037eef246d2581273a29365e4222fd89e9b8b340819bd3622fbbbd8b184e8ff579a9a2ef7266e1e3382ff453da93a09da12ef33c67b744e13 SHA512 754cb8a3e21c5df3ed1d3cdefbfee45148fbeb6649805e0ce93bc41c84522b67212e6d95de224d0eba8961dcf38b7328b72efec166b106c2874d167208eb5b00 EBUILD gentoo-kernel-6.4.3.ebuild 3946 BLAKE2B ea50d2741fd3988fbfeb1743d973430eed38e509e8c2708932a8a69ee904342d2d7e36592d1d0c8b7130277a0fae28bea0f031e3f2601c4c29fdfcb5dd2e5968 SHA512 9cc58c15ddd52d758437ac8775b5ea5ed8093c08d2d938c038fb14fedf850a8b909db1a817919909405d23e8607be590647ec141cb42bc0c685225ccf08acea5 MISC metadata.xml 465 BLAKE2B ea1260a1638588a48d9dd776e9eabd9730a181af8416ba778c936fa2e80a2360be146d3cc80599e50e0a72ac709eb9538184aac87cb96528e445ed450e34f4af SHA512 c7b7b1a45fb7082b8d8d66cf5a387cc4f7207cd9488d1d5e1d6900f1e4147aa9290b5522a94d941a885f1599b5df2482b529e40912d2b2cff400ecd4b1704c41 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.13.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.13.ebuild new file mode 100644 index 000000000000..b62f032049ff --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.13.ebuild @@ -0,0 +1,141 @@ +# 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 + +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.3.13-gentoo +GENTOO_CONFIG_VER=g7 + +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} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( 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 + ;; + 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 + ;; + 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 + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index cac287a98337..dcc442061f2a 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -4,6 +4,7 @@ DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611 DIST kernel-aarch64-fedora.config.5.15.19 242615 BLAKE2B 94e59440681535e38137b71814e1ae53f57a347f62cf31e0c1c8571ae43d9ae9be9957743c8cbc9ec74850c964eaabefe6799a28bc311ea7b99ee31391b47fb1 SHA512 fb77d3b73a215f97d70cd6d8c96ed20e497786b99ed7d7a7f2ed60cc1251289c1a4c7e058c41b5efac62e4a9b4b3d917dbdb11585955bba2b6584981430f4ddb DIST kernel-aarch64-fedora.config.5.19.13-gentoo 246842 BLAKE2B 4a824d02999749a0404437cae28721576511e06a5eaa9ebb1b1479c74e2b54402c440be7ea9159bf304661d4baaa5381c36b266ac0bba0b9bf3820eb04c6e4e0 SHA512 8862cf24b177ef3871f118712ceace2b496b04a488b045bbe3d83ab22942f064995486f5534630321faaa96ce60e5f237c4ded24a5468bea6e365aa3ea9f09c4 DIST kernel-aarch64-fedora.config.6.1.7-gentoo 252811 BLAKE2B f6bad0d23132bf0dfbaa25db928a95f39763b6500fd1df9b4aeca4351e3e75f185891c0df96b111ad840e4bac431d74a9b11e7344e766ab49715663c89e4dbfc SHA512 41ebf195d8b656801d49c6bb693ebe1404b6725d70d88d93a75bc4af230030d65ef0701ea931846b022a3c598dcca068fbc38ecf6d064262b3f5b88e57060437 +DIST kernel-aarch64-fedora.config.6.3.13-gentoo 258009 BLAKE2B cf25967d02c5f0b9565dfedfcbcbdc1de335cf0590bcbeb28147f30352f0d11b799f6fa3921e7a44bec65ad72be512bf2cf5d8475a387a6aff23535a560e534a SHA512 1703a285eeb096c7ddcd10fd42d06ce96dd019a3f662945bb72493a553e2ad5c5cf5ffd1003dd353bfaf5369ec395750b566dac6ac22a1cf715542f92e02da56 DIST kernel-aarch64-fedora.config.6.3.7-gentoo 258020 BLAKE2B c5350816279b6de751d13d8b451bea5e6d3e494adf0a8c5c3164d7776965dab26a731c1161a568321a42ed438b965502431124043d74b5b63cf51ba707062acb SHA512 e49d4149ee466069199dc111ebbc3761ce4366f0b2fbe6c470806527a5581b73397e10d6f95d1f422714322b7bdb52016a29ab061e9e1b813fb919d9ef64c203 DIST kernel-aarch64-fedora.config.6.4.3-gentoo 260188 BLAKE2B 94fe84900f7ab351cb5c1df9831a5141fd9ad4436511176471f1961d5d583928fc5b70c8a3e7b6c87738b942f82096d0dac0b05a632f458fe4dc6bd57e4f34fa SHA512 2bcb58ddaeec2903fcffecbe53380970c6740f91e6775b8ac3ff41a77df42eb6f773f608be25545b8ade0cb0e0f2a72bf00d26e7c47771859ca2d111fe875e35 DIST kernel-aarch64.config.5.4.21 199104 BLAKE2B 578ad451a76204df2a9bbbe34b5cb27051d2ac5e2c33967f562b01338c43f35da6dc33a4c2cc67ea6c3b32b155729360d3748ec28dcaa750f18449245b2e8a09 SHA512 66e9a437beb350fdc59512c17b8f72c5b5bfacf2b35070d810d77e66f49cf7929026cc28ad44b04a016d61e65d9fb4a10af6996ba09b604bf97e9c467d08f8ff @@ -11,6 +12,7 @@ DIST kernel-i686-fedora.config.5.10.12 205412 BLAKE2B 92c715b7e2cd7dd74da7970c05 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.3.13-gentoo 231325 BLAKE2B df0d13becb4c98e5ffbf4aaeaa397da63a5396a0bf367a1f6b7ea62b21f4755204cb9982c9d65182d81ac2c9d4c70f5ce21db32d6ecde4b083cd39a93735b646 SHA512 1c31952be7d0ba48e81cd9f4c11cc248000db708239cc73726c9f635bc3fa7d915dab7aec1a30869b53ac063604c3a362ee4936ba774c5f5b3864fb82ba0b1a0 DIST kernel-i686-fedora.config.6.3.7-gentoo 231304 BLAKE2B bb81478997b018f00b5b2ca2294c6c0ff58499d645b1fc365b535a79a24f8660c6578f592ec199c3cc9e4d431f57df882153fa5011a4445299fb0d4f15383ffb SHA512 54fc5ce3b3abeb7f242876cc80c49ad97a5063fdabc79aabe94be08d7777062ef94a053259a1148c26c66d323ec334272e09f9d029817ab653137a7f2f9796b9 DIST kernel-i686-fedora.config.6.4.3-gentoo 232810 BLAKE2B d68818234ecf03a26b0593be604daf2c45880dbd5fadcf66202b5b993733e3d21b56fcb4fc2b0ef87f502aaf83e8c671bf961e5a645ae87a60c3222b2b849410 SHA512 a4abda9f60e03a7a91340c55efb9e0149970194cfda7d457ca1669ad21f38dec93e0beb7f4e9f9185dcca04b76c7f16e5537327260fd60c04e3f7804d98db983 DIST kernel-i686.config.5.4.21 183910 BLAKE2B 185126ffb85718bb73761d01683def80b6f002d7a7a6eddd8e858a30d8eadc863fb378d83a1cd2ed82b3540337fa66ae44475e31fb41ebc46d77005b6f54e5c0 SHA512 6307afc2295902e44fe65b1cccaa7a0260b295a5f21f1d67ec66197bd972bd3f5675b624f08d9da8b224cb3ec987d5c21cbd743599aeab9ac6214bc651f43476 @@ -18,6 +20,7 @@ DIST kernel-ppc64le-fedora.config.5.10.12 192105 BLAKE2B 889141debb0656a358a3381 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.3.13-gentoo 221744 BLAKE2B c878f61cb9217adb801683aa511c9c910abe48964d9ff27164e64b7a7549430feb7a6cc8ee01aebdf738bc869d67ade6bb8ecf5eb123d131a2a4a74c2b31def9 SHA512 ca8d5b2aabf3313eab7211c3d74c13b9917072813c2eba392c16678bbcdd06ccebe0a9e91226e35df7b0ef5283e0bb3b3d7d4898441b2055bfe16e5890d14458 DIST kernel-ppc64le-fedora.config.6.3.7-gentoo 221723 BLAKE2B c9d39b374eeeec89dd305415f017d4ae7e86d3646b093764aff17ba08ee13406cb2a525fba0f58810f3de3336e2075fc918a9ae25eba2ac5997367cb95ed986b SHA512 d0e9cd9c2aff239a4563faf774c7b40ce137004b8575ea15b52ffd00707a91b58ae238df2e6ee68343bfb669f5f57c1cabc23a091872183f283b9d79def4c384 DIST kernel-ppc64le-fedora.config.6.4.3-gentoo 223150 BLAKE2B 4a4685f6687568b1a7462e6fe9ea68eeb1a05d32d5402f893e1f6ef5d0061c651788bdcbb2980ef5f2675668dbad433e1c3370a4668f03b54233b1b39caf71f3 SHA512 42f8c255f2a8a8fa3eb6285c690bf2baa77ebecf11ecf141dd058b51afe959e74103ca5eac284b20e78abe7843ea0c82d0ac83efcb5dd15e13c2266d06dd8074 DIST kernel-ppc64le.config.5.4.21 172003 BLAKE2B b53887cb44f7c378cb3866780f8e556e19fdb02130d3b0df01d97698d2a91f7d90a200012559f288e962935742c3fdb67dfb6711876fad37862fe55cdca5b5f6 SHA512 82df8d0be47e9eb20bd7db570539bb061d0b6e2101dc78a54596cf4d0b4e0c536041449304ff9240b051ee09b342ea336c5645e9a3b66a5dfb96d7778ff86008 @@ -25,6 +28,7 @@ DIST kernel-x86_64-fedora.config.5.10.12 206357 BLAKE2B 0eda9d4f3f973336cabd67c1 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.3.13-gentoo 232009 BLAKE2B e722298bc9d9c7c0666ce5539e7ca5b32f4580a1c53365410df44657e0b6c45cf5c26a6a810a34cec7a69f2cbfd7f09f018b156dccd9c074dba9e26fcb3b0393 SHA512 9f79d13316c2f1f45cdde1803280e1589319acd03a72117f87e087744ad8f93752851ada2af8218f9e55a19aabff551ddefcdcdcb8fa5b1caa49b0a0b58a45f0 DIST kernel-x86_64-fedora.config.6.3.7-gentoo 231988 BLAKE2B 60b43c8f1d2a9c36c533280f77234079e73efb905cd300a057cce6254a8f036e82af977b213ddfb72532d604510ad1deea862fb1eafac917990c18d11e7de42c SHA512 79a17ebcfcd12551dddc6077245305b400d0069e5a3cb71432799465ff833c9ff0f1a85b371d0198e67bd38aec90e856ba4a52681b326a3ff749434dd5e75fd3 DIST kernel-x86_64-fedora.config.6.4.3-gentoo 233494 BLAKE2B 15481955940dc58447f9527dde755e6a6e3e4db86ea1a7fbb0f31d32ba3146d6773b068594425d4aa4c72df5fe65076bb08271473b69d4563d08c17012992611 SHA512 c2ff9676d6792f6c49dce5237fba97100b7e3659196ce8e3b4db4f727cf0f379665b2351c1a9f62dfdf45696940bbd76c5fa890f0849029614a2eed0a1efc169 DIST kernel-x86_64.config.5.4.21 184907 BLAKE2B 0eb2b07c14cea7545350fcdf3a94f2a531f0137c502ebda9299cacf44da5385686e2049b480b28bc153c9d413d453cfe682b9655eefe70428cb720f57c7bd200 SHA512 f3b3ee6841555ac3a9cc11536a7d44e1a5a8df2bab14ba341fda7df1ceb0de45cf1c799a1d54a64f2858fd1272d348bb52cf269ffa396878c5402baf2730237f @@ -38,6 +42,8 @@ DIST linux-6.1.38.tar.sign 989 BLAKE2B 9e1710fc446d8cf5fe7cf9ee933650955c28b2bce DIST linux-6.1.38.tar.xz 134926628 BLAKE2B 43f0fe3f8aeb03e5a2bf46b358b8dc4515765b70f56fb136847c78a80889bc2e163768d941500c285f40f705634b5fd3d6e0d81c10521fc351596c95db62490e SHA512 64834b8760d2ef3651ae293c499b110a1fe07591d956c8d5cbd8263fd8c173b6963b3faf2bab4c5e0583550185339c005775bd94884750e28fd7be6a16a17af9 DIST linux-6.3.12.tar.sign 989 BLAKE2B 9a274d006eb4b1a93b39171b2fd6d2744ff6dcf0c8006b81f5f95c1e31b0a94d77c26a07136dd3c493431bf36c9ce7ae940d5fbcb57708097a6294895302959a SHA512 088c37e849650da01816999aaf2e63789f99c77093fe9c611e9ed9c42e3c2e4c204a8760c1dbb89224b9896e7b4ac77083177263e01d60b523819b4e23c58138 DIST linux-6.3.12.tar.xz 136928916 BLAKE2B 8ac5f7374b19beead2e252c5a013a99799860156681a25a32124279fd223b787d3098de36b0c3e597f5527567c0e7b46d285eb56a1da7eb8f14526e4f4e35215 SHA512 e98b272f4722aa72219c63380276231e3497ec0f2ebc42b68c63f9721f19099b0abb2b67bbb590fcd5e3f58744ea196722cbe20675841c8d753c055a16097154 +DIST linux-6.3.13.tar.sign 989 BLAKE2B 43ba5ecd9e36c8a5f9965cf728a1f84aeeb0750741ed3944d334799d98267061880649dadb7921c5c55b1e6c67e421a0bfcb2c2bf7fb0356f01cad2f510a9c82 SHA512 8fcbe175d51c147261a705a7e5eac64446899a6f218754558895577de3ccea0aa121391c107ffe1c6a0f540a0312f5ea2a2e8b212740a463b1841c085caa019b +DIST linux-6.3.13.tar.xz 136931240 BLAKE2B 6313dc92d2892101f5fa4699f73ab16c27cba45bdf88e0b1eb7ad0631708d8c2abb9a88a7ad2663bb70f390e0e1f7060d5e45082b5879076d07f1970b27b9ce8 SHA512 850f56587c49c7ad3e4873a4b9d8160b0b015ac00dbe272d3fd4b661d18a6e73d1d9dea69376fa002d47b195648c617ef0143a54cdf3bf7c361f0b90cc262e16 DIST linux-6.4.3.tar.sign 987 BLAKE2B 7e81fb9189b3416708fb91b04fea1a061264803c0d9544be45875219a1d3f3d155283426569a39df348c47bc84b7fd663afc5cdb978cec39749ad402084d36db SHA512 850e6c64466bdcf63375ae8b6d657a30c7b0f1de7fc0bdf10e7ee45d59435bc49b93795a67e92c7b084572c4277915c1adde84fce35a72aedc39acc308b578a2 DIST linux-6.4.3.tar.xz 137785616 BLAKE2B d38cae9706127fa28cc55b50ceeba7601de3d1db648b934b9d33e0b439324790074b755b1de204586fa098a326f5c88f81550cff76489b2ea6505987fc243c56 SHA512 67a280d4d50ed9d9ddae1ab35cf24c2e9ada2e09cda4e54e79508c5399b8be4f9528a8a8c18d9042fff0c11f0109eaaa3bd50bc7174831be381299180eb0a908 EBUILD vanilla-kernel-5.10.186.ebuild 3776 BLAKE2B 8123c455d8037eb8f221741523b7276ed013007d928fa7b76d4401b67a3d1d904a39519da67c466967ecd657aa2465175f4214d79a3e2ecd063df9bc19e72300 SHA512 46737c9425cad5c99bebb4f233a049e0f08d0539cc1a9eb3afdca285d081f778e6effbdaf012d0f0a58b92a64e14e33bb5b463ba4ec6e9ef45a8bd825b616e87 @@ -50,5 +56,6 @@ EBUILD vanilla-kernel-5.4.9999.ebuild 2635 BLAKE2B a24d5ab83210f70c0f0b32b326b78 EBUILD vanilla-kernel-6.1.38.ebuild 3894 BLAKE2B ceb59b4d1f283b856477226d074a57d4f46201306ccbe33e6036445ad008a095bc72ef572fd31f1a26c63008e10f80ed10eae149526cf2eb7e16b1fa045022a1 SHA512 55818f504b9f43b0b866cebfc38a33951bbbc602dcf5cc938204a94b7e5854ef7c78217d644105c36bfc56a845a0bb5235bf55edbf80d9a467865847011c6132 EBUILD vanilla-kernel-6.1.9999.ebuild 3413 BLAKE2B 3e286878f8ad61cd41dfab86e7f5a143f3e165af8fbffa7277d1c5b0a712fbdde55440d069383e273b029967c108ee02caeddf5b6782d966ff3d47bc13763a01 SHA512 4adf01bafd3116668c406ab443e3b45bb37c182ad01931d32ce08eadea26d66df7657eba9f4f199009fb80adca108cb2401fb0a6e3c1c94b2dd77399303dc818 EBUILD vanilla-kernel-6.3.12.ebuild 3894 BLAKE2B fde25007175b9e4ca4d9b8f9c6ede5324b26d9ecd455be3c78e829e866ddecee897daa2c78e4a574db439578e0fb4aa0bf936cd78126bfe3e6314c81632f890d SHA512 d5ccdba5652ae1ebe30d2f52a2b7bf31daa9e5ae16b57e11c5ee2460add96f60dfa1fd54828e806be6e421e7d06021f76f2e1ed69601bb4a885c62c04ceef426 +EBUILD vanilla-kernel-6.3.13.ebuild 3895 BLAKE2B e254df6c035d95f36d2dfd5a4f45301b3a9821e497d6a0828dc31a8ab5bb5ea6fdfed88e033faaa1037a05deb0959c7f935e78641eb07f6366d1f7e0f599a4bd SHA512 3a03c23b464e83455ea91a582eb1a039f9ec5560a294bf2c609cbff96b38099506198d1fae0f4f6fbb91dbba59da4ec11e114e2e2dcceb7307ad02763ff89900 EBUILD vanilla-kernel-6.4.3.ebuild 3894 BLAKE2B d2c57dbd5d121eebe9153a50e8ee1b14ff240f8e0dafeccbf4f3fbea7e4cf86016246fc6576ed2abc5a644221014431f21bcbadded5ee02bb2aea079ba15e4f2 SHA512 c3e02b136718b2dbb1278b2be9ec2b957419e3bc1c8d5f0472c6d8ea373e6fb880c5e8281dd1f5731248a84a6a3c6c9af796d52539d60b470c1d0337358e03b1 MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.3.13.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.3.13.ebuild new file mode 100644 index 000000000000..e52095c23bac --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.3.13.ebuild @@ -0,0 +1,137 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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.3.13-gentoo +GENTOO_CONFIG_VER=g7 + +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=${BROOT}/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 + + kernel-build_merge_configs "${merge_configs[@]}" +} -- cgit v1.2.3