diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-09-19 16:05:11 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-09-19 21:46:53 +0200 |
commit | 11488a4245708fdf2c8093feddee271d9e86eea5 (patch) | |
tree | 90349815e200e2ecdb690e6b006c2aeff2069518 | |
parent | app-misc/jf: Rust QA stuff (#914267, #914266), add test dep (914263) (diff) | |
download | gentoo-11488a4245708fdf2c8093feddee271d9e86eea5.tar.gz gentoo-11488a4245708fdf2c8093feddee271d9e86eea5.tar.bz2 gentoo-11488a4245708fdf2c8093feddee271d9e86eea5.zip |
sys-kernel/vanilla-kernel: Bump to 5.10.195
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.10.195.ebuild | 137 |
2 files changed, 140 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 58a27726a88d..fec848642d8f 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -1,6 +1,7 @@ DIST gentoo-kernel-config-g3.tar.gz 4411 BLAKE2B 00edc4b5dc943834bc7ee977382b2960160888db00a25c5a7f73968784aa39a2b3b69f0bbda89b3ce8eb55e746006cff2839481493ac8bfca6a21de2299564f7 SHA512 44beae869bebf5445655dafe1facc47c3dbe602b34c5bf2fa984a581bfe3250fa0df908b8807c333c2e66ab9d1a2bb8026e22140f2a1f522d0dd647c96ca4d5e DIST gentoo-kernel-config-g7.tar.gz 4625 BLAKE2B 72ba0d038ee34ca5eb26d43bd373735aef3a50d02b414993ea05485e49d83d46df98a6cb0f6f3170a8ec0c99b557432fd9a11cbb92ff7c2837625a7f4469831e SHA512 2d74a8ca9f5402b4290ed93cd3ddba04a7f2ff42c8d8d3f2cbbe22fc20daa0fca119368daa8af39b7a26b1b99e4e3187c3c5d95886a651675ad94ff98d686628 DIST gentoo-kernel-config-g8.tar.gz 4663 BLAKE2B c832df9e2085c6ec2deef5b54195f24d2d8ee039655534f5d9c1d650e06ed2ebfe82e2e62d2119696944353321bc22eb91a0599b06c90f0ac22b280fd4aa81b6 SHA512 64c9a94935e7525152827a1d7ca79259f8770300c5865995d683b4c7ba5f21670681a60153ad268aa0a0ce6c2b18683e7faacdbdfb5adc6248387e7316dbb12e +DIST gentoo-kernel-config-g9.tar.gz 4981 BLAKE2B 1881cb550ea9e274cb5bcc3bff5b1aa6f28bc218a09825c5ab3ba2bff4ee1826398c9fbecc513b6dd20d195fd5cf26e1e7c631bf66100ab1887705a8e04fc79d SHA512 9dc2f30a33aa19fed3006e93330210c9db613febd842467e40d51c47eccac1dbdcb5a7037e9174e92c29e2a85a52ef2c31bbe2a8cccc7a22320b3dccb8aab17a 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.5.19.13-gentoo 246842 BLAKE2B 4a824d02999749a0404437cae28721576511e06a5eaa9ebb1b1479c74e2b54402c440be7ea9159bf304661d4baaa5381c36b266ac0bba0b9bf3820eb04c6e4e0 SHA512 8862cf24b177ef3871f118712ceace2b496b04a488b045bbe3d83ab22942f064995486f5534630321faaa96ce60e5f237c4ded24a5468bea6e365aa3ea9f09c4 @@ -33,6 +34,8 @@ DIST linux-5.10.191.tar.sign 993 BLAKE2B e1111d38fdcb966d68938bcd63d04fc2d40f43e DIST linux-5.10.191.tar.xz 120603864 BLAKE2B 721f760a73fc2e429272e95b288d7e0c6f95cbd6ae3d87384ec534b2a294b52f8c980170dd5c6f22955225dd6aa35797a2702a17b2a1c9438d0c134d6cf003f9 SHA512 d80b71f27bfb70b574d944c3d1cc6ec31a42bf9764967eeaaeeab4e40248efed4e2269012d6d8f9c598a3573e6a996833c35499abe60d50dab82c3a73721984d DIST linux-5.10.194.tar.sign 993 BLAKE2B e581ca642faa17d70c57b047b94650cdff5d038b9c9ffd4fabb0e938501760131377a6acca4231f69e3e4389d7eb13676afaf6039b4288cf2aa4c89252bcf57f SHA512 1ae5ce28dc81af3cc86b1bf52444c3c81ca7edbb978f79470d8b1a598e0651f58a6149525b5975c0453123704ff8d597aa128a355d035e5e441a65e06d36829b DIST linux-5.10.194.tar.xz 120606540 BLAKE2B 5b9d66b6da806b995dedc9fe96c53104574b4fe70a2681975abceb1a6bf23b9b7dd5a5ed9fc125877b362ea06ae593691b92a4a4369982647c2662221ddfd244 SHA512 cb3f9de70c61d98287d766bd03e4055bad86aaad39dccc628da12bf461831fa9a4daa817689fdfa5d326a7fdcf584fef3b9ccc6ef875349cfbbcfff53cb855bd +DIST linux-5.10.195.tar.sign 993 BLAKE2B ad91706e4c42071c87eb9cbaea86942ebcece49bb4b6885665c67f5d108ed7508c36daa57401030dd5eb92fc1fdf292d4f8989234562af1d9e2d54abb5cf819c SHA512 32609e63b1a0c58c8a2d018be132885fb54bfe9146284e257920c18f15fd0fb345ec068338cd352469ca2ca15f49139b40a494b05e0b1e131aeadc0a37f856e0 +DIST linux-5.10.195.tar.xz 120605116 BLAKE2B c9d27b206901fa4e7171adbc832f62064a148286b67ce3d95de145fc1d0bd1118c38af1b17e9925c3af653b47ec8bbc905535bbd5a5d3dc189d838b65f0177b9 SHA512 651b5c49a5bcd271fb85c0fe28315073c54efa84b8404418372c9722287eaf38a6250eb16cae924d8797acc36a2236a9f31ebe2108f04b9a75912b9b846b8ad5 DIST linux-5.15.127.tar.sign 993 BLAKE2B 84310652ba933bb13ff2b0442eaedfcc56d94e0adceef77009abd7bdc2d614d1c61c83041b57adb62ac6591e7e127cb65f2557a29e6c89a616b84f07e89611ab SHA512 b34247621ce40eb2131b1c5c320d0ffe706010439b81238a1d28c9bddee69c0ca7575f90c7df86a92af4a6da520f42624e5cc39462eb0abc6de74a006d08af9e DIST linux-5.15.127.tar.xz 126542840 BLAKE2B 3c5f6ec2b917099deff2bafc2c144f06ddf2274f02ccee386cbde34323b7b7dc01b82f5914b0165c2e9dad48a13f4fbd22aedb25e7a07533be3becf90e7b7a9e SHA512 5245a87e10c986657d42dc78d0789905c1e61cc0af5ef619f0ed73788b0192375a8996a340e693604305cfd15ba202023fa4f4575ad4a7a5a38edf73aac892cc DIST linux-5.15.131.tar.sign 993 BLAKE2B 1ae63f986751fc0dfbc2f16be0ad28fc5db9d8d2d3367204c04deb0e33f0a1f30025b59a5d69f8071cc871f2f7d2a5431f4d677899e7040d22a612f6c68de476 SHA512 96f8961d2f32f144e3ab58cfb02175f5cc2ad829d1473dced4ebd53aa52ad281d723a55351d055147321fca7a9b66a63273282f6ea9d61879ce979c1391fc0af diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.195.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.195.ebuild new file mode 100644 index 000000000000..de1f71e33f69 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.195.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 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g9 + +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://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[@]}" +} |