diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-26 08:14:12 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-26 08:14:12 +0100 |
commit | 0420fcad8353a40ad08a7def8667ae9c4c56bd15 (patch) | |
tree | 6aed200bd28e2ffb3101678d47b7a9b008fc993e /sys-kernel | |
parent | sys-kernel/gentoo-kernel: Remove old (diff) | |
download | gentoo-0420fcad8353a40ad08a7def8667ae9c4c56bd15.tar.gz gentoo-0420fcad8353a40ad08a7def8667ae9c4c56bd15.tar.bz2 gentoo-0420fcad8353a40ad08a7def8667ae9c4c56bd15.zip |
sys-kernel/vanilla-kernel: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 14 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.10.159.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.10.160.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.15.83.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.15.84.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.4.227.ebuild | 108 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-6.0.13.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-6.0.14.ebuild | 134 |
8 files changed, 0 insertions, 926 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 20dd22b58547..c3196c288510 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -24,26 +24,12 @@ DIST kernel-x86_64-fedora.config.5.19.13-gentoo 224246 BLAKE2B 6dd95fc7a8bd38387 DIST kernel-x86_64-fedora.config.6.0.8-gentoo 226579 BLAKE2B 61661976712081684f28daf26559b489f1e9e0bae749c2ab19f8de7154c86408791fc5333ff589b277fe060bf44edf02b525f0233e44fdcb3c90e519b51f6fc9 SHA512 5dc327afaa87e51330881f5f8b1b83d7cad360626744023fe98146390c8a745da00f60c6f7363e594eee87bc4dc27970af88e9e31a415267b0d2752bea8ca08d DIST kernel-x86_64-fedora.config.6.1.0-gentoo 228930 BLAKE2B 947829257514fd7e5bd819cc008b096bd5d8fb23c5cc32fe7f27074b2d7b19cb4bdbd11ce00f6f300f53ae66ab792f443d702309a23771eca23b85d94706a114 SHA512 ab85c5111270537cd6351589720439e3aba6d9ec6c6fa2f81d353101362a2b9468727c555df9902d93aa67d91a42604d05e127f040bdc17325d67f7b83f6ee25 DIST kernel-x86_64.config.5.4.21 184907 BLAKE2B 0eb2b07c14cea7545350fcdf3a94f2a531f0137c502ebda9299cacf44da5385686e2049b480b28bc153c9d413d453cfe682b9655eefe70428cb720f57c7bd200 SHA512 f3b3ee6841555ac3a9cc11536a7d44e1a5a8df2bab14ba341fda7df1ceb0de45cf1c799a1d54a64f2858fd1272d348bb52cf269ffa396878c5402baf2730237f -DIST linux-5.10.159.tar.sign 993 BLAKE2B 102b3a17297dcf024b72499563f716b5034917158bdc1cd59173983f0b9f170b9bea49062da0a891505fe7c8bf8ef2667a9ead69b68ebf0ffb528b5e20d7958a SHA512 d544a5c7ac258c2ee2dfeec258eb502446a59520100c8fa16c7d4e1b4ee66931c795863aa6073b3b54e2e3ec968e1612cd046862add08f9199cef01fa37abf46 -DIST linux-5.10.159.tar.xz 120503752 BLAKE2B 5ca970ad105304f4c2afbd75ebbe750b87793e9830834b034fe195811df3e1a060c3752a99f53a1cf9d1ce1f6e877e08e638833a1e3d797181adc5a45ec56178 SHA512 8427677bd7248abf560dba5402a395a51afb1e47cbeb4f34afddbdacc29b4c92648d651bfc04ec85f16b96b9b8d8d46dbbdec7d112c84f967ffc271633274542 -DIST linux-5.10.160.tar.sign 993 BLAKE2B d445a61fd7117e2875830bba05d60d84b9c77e83d25a72707e4f987d53206ecd05b232d08bc9f3864c286b0370e600412c52bac75705fc549bbeb45edd712c45 SHA512 f5331dd0a79cb88d83a3a260152ec58c38a5ad8d8466dfc42c614f2e1cdb81847ad92043eac726cfbca2f5351151008785ea56349e9d80bf8e1405645743dfe9 -DIST linux-5.10.160.tar.xz 120522072 BLAKE2B 34eb54371a27650a03903175ddbc45952f49808f48a9c5fe69e5d6a2b77ed7171818137c13a020df9df3ec7981d1ee510c8492ba35d2ace739eedf3fe8ab71ef SHA512 cfbae7c9a332286fd3122bb785808f3d7edb6d94ab17f3d263a4cb19f614633085e9e4f595368d263b80a8218d186911792631b8eecfa9c4c91a31315598b28f DIST linux-5.10.161.tar.sign 993 BLAKE2B 9237c5037a39e92c2eca9b2c16de865ca5ad1155fe937e781027aeab18d353c4fbdafaa912c27e73c6f64a4e788b8f1cf5b0317572dbd87dfee27074bb715679 SHA512 9fd26a9b250f38d395d9206a7d87f4b710a72774284a48b99f9fada48e241a513bebc8552247f951d498d453fd32fc06a93987e95548f39c861a0671d1fc9e0c DIST linux-5.10.161.tar.xz 120516432 BLAKE2B b35e08b3ed843fe0d0ea2a08728f192ab795b61438a60c148097c8bc00c1bdc9b6bca925bf4e3cd124ac3c5d50920f2bf1a481c24a97b8787c012e3df993d8bb SHA512 aad3c70cc6eef39623ba038e74fc5435764ab81cf8782d44ab07c50f50c66f303d1cd49b439aee46193caaa43f4c322924691ea5e3ac2b01142420efe11700d5 -DIST linux-5.15.83.tar.sign 991 BLAKE2B 337debf039fbbcd813e4f1ae586776ef09c5d8ed1d7b7e4724136f7ee316356df012b0b9baa8c7bbd08f60df07fea5a4f81c33b5be510af8f255415b7ff501ea SHA512 1880f288732819ff0e47cdc8dc4a4c20450a1b0ba8476fb97fc5d956ef4889be3b87cf4386aed4ee2e3fa7f37749247730087b099a187f7d11a700d05531748e -DIST linux-5.15.83.tar.xz 126480920 BLAKE2B 37a926b2878218e95073e2820c4d1a9dc773a1715c8ef819d6b914ec672e0caed92cf9ef27405ddea083b8bfcb9de9142c269a29c0845140241de244035b0737 SHA512 61b12dcdecc96b4fff3cb2596a3da345efb8c6930ffba7ed73930e6c15b1519d8d44a4e86cf281b41c81d993f7f7ba0fe7b6513863fea298039d63cc819ef4e6 -DIST linux-5.15.84.tar.sign 991 BLAKE2B a1e14f6d1bda8288c5170436387af7bf4d35deef2da3e0af30ae025e3e3801ace99c2d52e15add896845b20e9eb8ed8098d27899fbd23a19b236eaed9cef431d SHA512 d68510da8e8da8d081ac2710d32bdd5f17d74f45e0bf7f977fcd531ed920b75d3dd0aa7bdc963509610fd3da8bdb652de6dd30c80c402318e35b43c4905040b4 -DIST linux-5.15.84.tar.xz 126464308 BLAKE2B 5e2a34ce932b67850785a3e5aa5dab783db8d084a7812aaa0d95088a405ddac2ea0b1740228dc242ed0d86f62bc7b7a3e0dccde297a0f57f482eff83e1882033 SHA512 77aba9b914936ed98f71f168384dd634f1549345c8494abb3375736ff17fef607d2da14b92a55062a295512c8ef5fe5710034006cb38afc05d5c05890baded71 DIST linux-5.15.85.tar.sign 991 BLAKE2B dc06c346781a947993743eeb08784d35091b64c2f6d617f05e6b8eb6143887362d34a8f5e819be24cb423ee0d4e92dc040246d6f979d9ddecbf79fea439b0bf7 SHA512 c2d734b5bf0f4b5b568d5c9217bddbff319c727d3489afb8eba64f67b225d34ce8de079e2e8c4210c4096097c28cac255c9187b0267dac9b842806ce71a47220 DIST linux-5.15.85.tar.xz 126501228 BLAKE2B 481cea334dee4146d72704ecb88f654bd38ca62a5a28540f365a57f5cd522551c4b7f854c09380ec614098a9efa5dff4cef70c9cafe6277a410d3d2099eca1cc SHA512 8cc19124c82f14e09b5ff8d2e343cd41cdfced74e5c0c501abd258555d9dbaa79e79cb23256a474cd59311ae8626b0457c2117263bd64a206151c09b54f3ff46 -DIST linux-5.4.227.tar.sign 991 BLAKE2B 35b3d286db266938ef76360d2a064141fb6e8fa73016a9ab2bf0338ab0aa8632b4c48d49af0c09ed96e25907debe4b983ba9a0166b1606c9e4fa4fd5d890221b SHA512 f615a8b8400db1bc73a36f04f0a648f419cb5681066463e9d012a3334d46db617c9f50065de8b54af8733acb86b3d9d9b83627d06b421346a415f66dcbd358cd -DIST linux-5.4.227.tar.xz 112971772 BLAKE2B 563d25bf465859608ccdc7654a3822fcd2384b008a5c0c7a613e65456084b2c86dc9e37dcbff19eb1dd32120f0756ebf2e9c83a7e4566b01596800a1ec235856 SHA512 9af006fcba44694ea8cdda2f09687bdbc6454a1e1dfa44688296c36dbaa69afff8ee8e2bc1ea1905704dae1e971bd0214aabc5aa163979db43bf8d61085f17c1 DIST linux-5.4.228.tar.sign 991 BLAKE2B 4edd63de96c2cceeedf8b20ab4696fb4c8b8e45916d95ea9279de4911874e4537aa8f8acc4014545746d4546bce66843a3e56d56c90592e730e4ae1165c1486d SHA512 72be75fbf5704706d6d772a50646550e3d54458044e5fe5a49afa7dd98360f30b0a4e345744e691b09d8951712d1d766d050846fa7ce13bbf4f1e9dd26063d4d DIST linux-5.4.228.tar.xz 112978736 BLAKE2B ade9b21e3f434435230e31d67d39ea07d15d92cdf932b3b181fc532669f10ebd2f0eb7d5fb20ae9eae93c782f10db5ab3454bb13c01694f674f83146bcae8187 SHA512 f3fa33da1df3dd10ba9536d30b8aebf92796abe84872c402776c94b35bf3efb4256a6c3f0267bd97741db9853352d1b22bcb42d7d03f167960804bb9f7407601 -DIST linux-6.0.13.tar.sign 989 BLAKE2B 381ccfa7cb46511df7b42ca2fd4f97dc209b91bebb06562cbda9b4186d49a41987baca9f0a80e1106acbdb8198a7f726e6a2932fa7457da364f6f7937df0a726 SHA512 809fc54a6433c630d4e7a427a3bd1108b5fb911a9a26cc3aec312e7c43cf05ee7ae0e75f1074a3dc3353f7723585867d7fd91c6eeff624a838c4e739341506dc -DIST linux-6.0.13.tar.xz 133926352 BLAKE2B b37026b1cab3079507ff80de9a32c753552689d30fb13898b9b7dd419dfb73785259976ad13fc08b5085b71ca94b84f40b5caf236b13b435c37a3736d64130da SHA512 6a1287077c7078e9a1bed5401e2eec7dc68cd0a278f6fbe2041a3e92fe005d2a21d251e7daade68ddaa7b303615ea40f0cb7aa702c1535327f4220088b95994d -DIST linux-6.0.14.tar.sign 989 BLAKE2B 1e1898dbc31fe96eaf0c58d62a07115a28522e7b5fde9510f138ec0e7873f25bc84bd097e529d40bdf4eb908916747570e2b575118de3930cc5092656e916cb3 SHA512 03a67b2195a42edc818861b66e5ad5ff37fbe6056047e5695cd02c83e4a0ba270fa2a13b4994a6034c0e69553399fd570c69f4817b75f10fcde75f17aafdc143 -DIST linux-6.0.14.tar.xz 133938728 BLAKE2B 95adb29df31e257d1bbc0d01b7e908e08a1ab6643fa0e5a185e728629da86a88e6f8d1269f77bc64206dda3d4af10dfb186366c40e108566c87cf43fd05a3555 SHA512 4a409d18bb5c1bf0807a1670ae9a72984fc7df6b0c0fb3289b88eaf6a7d8456fc8481f8e9f4688fa9d27c4a1d85df61323e2bd5b1e534a3b64940aa9eb0dde80 DIST linux-6.0.15.tar.sign 989 BLAKE2B 214ba7092718635f5dd39f2374615854c276e450ee81b8811b2e5a9dcff300eb38c4acbda4ebc1dcc0d7a2866e4a6bea8c2e5280309428164df8294bc616f8b3 SHA512 f39bebbb1d60ab7457e861ac7005a5cb975cb53519d777ff66119d2ca087f9a654cf1f11ecb4f7b58af6da574c698dccc69c9daa99ded277da178593c5fdaf76 DIST linux-6.0.15.tar.xz 133929584 BLAKE2B 2d01f57c447ad7eecaa77a9b245ab1a79a35bdcede9d0b234dafd96d383a14a878868a6872d9c24cbc1a6a1332ccdeb15b492724063423ee833ccc56f9c5348d SHA512 1db7e086aaceabf12749728f100842c68886158202250cd9a582083488ee7073bc925f933f44b5c70a8f8c5bea48c73462da9ba979ef696005f16031d11312f6 DIST linux-6.1.1.tar.sign 987 BLAKE2B a240a6428c456557362103620cb9d0d9eb0eb57d7e46ad7aa8183eee673b5578a811642222388cf99a9728bc47e35d7489dd05728b36c939227a109435a0e7ea SHA512 a089b3bfc255fcf10594ace137ca2553e717dd231434b08039252c23c2c7242fc3037b49a8a6fa8d55a92c99173f448bdcabd6116f185ed31078f7455aaa23ba diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.159.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.159.ebuild deleted file mode 100644 index beb11365e70a..000000000000 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.159.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 2020-2022 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 -CONFIG_VER=5.10.12 -CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 -GENTOO_CONFIG_VER=g1 - -DESCRIPTION="Linux kernel built from vanilla upstream sources" -HOMEPAGE="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://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config - -> kernel-x86_64-fedora.config.${CONFIG_VER} - ) - arm64? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config - -> kernel-aarch64-fedora.config.${CONFIG_VER} - ) - ppc64? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config - -> kernel-ppc64le-fedora.config.${CONFIG_VER} - ) - x86? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/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[@]}" -} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.160.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.160.ebuild deleted file mode 100644 index beb11365e70a..000000000000 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.160.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 2020-2022 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 -CONFIG_VER=5.10.12 -CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 -GENTOO_CONFIG_VER=g1 - -DESCRIPTION="Linux kernel built from vanilla upstream sources" -HOMEPAGE="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://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config - -> kernel-x86_64-fedora.config.${CONFIG_VER} - ) - arm64? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config - -> kernel-aarch64-fedora.config.${CONFIG_VER} - ) - ppc64? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config - -> kernel-ppc64le-fedora.config.${CONFIG_VER} - ) - x86? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/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[@]}" -} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.83.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.83.ebuild deleted file mode 100644 index e9d460c7094d..000000000000 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.83.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 2020-2022 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 -CONFIG_VER=5.15.19 -CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 -GENTOO_CONFIG_VER=g1 - -DESCRIPTION="Linux kernel built from vanilla upstream sources" -HOMEPAGE="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://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config - -> kernel-x86_64-fedora.config.${CONFIG_VER} - ) - arm64? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config - -> kernel-aarch64-fedora.config.${CONFIG_VER} - ) - ppc64? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config - -> kernel-ppc64le-fedora.config.${CONFIG_VER} - ) - x86? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/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[@]}" -} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.84.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.84.ebuild deleted file mode 100644 index e9d460c7094d..000000000000 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.84.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 2020-2022 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 -CONFIG_VER=5.15.19 -CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 -GENTOO_CONFIG_VER=g1 - -DESCRIPTION="Linux kernel built from vanilla upstream sources" -HOMEPAGE="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://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config - -> kernel-x86_64-fedora.config.${CONFIG_VER} - ) - arm64? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config - -> kernel-aarch64-fedora.config.${CONFIG_VER} - ) - ppc64? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config - -> kernel-ppc64le-fedora.config.${CONFIG_VER} - ) - x86? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/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[@]}" -} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.227.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.227.ebuild deleted file mode 100644 index ae90752d5ab5..000000000000 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.227.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 2020-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit kernel-build verify-sig - -MY_P=linux-${PV} -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -CONFIG_VER=5.4.21 -CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea -GENTOO_CONFIG_VER=g1 - -DESCRIPTION="Linux kernel built from vanilla upstream sources" -HOMEPAGE="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://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config - -> kernel-x86_64.config.${CONFIG_VER} - ) - arm64? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config - -> kernel-aarch64.config.${CONFIG_VER} - ) - ppc64? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config - -> kernel-ppc64le.config.${CONFIG_VER} - ) - x86? ( - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config - -> kernel-i686.config.${CONFIG_VER} - ) -" -S=${WORKDIR}/${MY_P} - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~arm64 ~ppc ~x86" -IUSE="debug" - -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 - - # prepare the default config - case ${ARCH} in - amd64) - cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die - ;; - arm64) - cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die - ;; - 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.config.${CONFIG_VER}" .config || die - ;; - x86) - cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die - ;; - *) - die "Unsupported arch ${ARCH}" - ;; - esac - - echo 'CONFIG_LOCALVERSION="-dist"' > "${T}"/version.config || die - local merge_configs=( - "${T}"/version.config - "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config - ) - use debug || merge_configs+=( - "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config - ) - [[ ${ARCH} == x86 ]] && merge_configs+=( - "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.0.13.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.0.13.ebuild deleted file mode 100644 index d2f94947b12d..000000000000 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-6.0.13.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 2020-2022 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.0.8-gentoo -GENTOO_CONFIG_VER=g3 - -DESCRIPTION="Linux kernel built from vanilla upstream sources" -HOMEPAGE="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[@]}" -} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.0.14.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.0.14.ebuild deleted file mode 100644 index d2f94947b12d..000000000000 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-6.0.14.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 2020-2022 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.0.8-gentoo -GENTOO_CONFIG_VER=g3 - -DESCRIPTION="Linux kernel built from vanilla upstream sources" -HOMEPAGE="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[@]}" -} |