summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-01-11 18:22:05 +0100
committerMichał Górny <mgorny@gentoo.org>2022-01-11 21:51:14 +0100
commitc59883272cd5ca5b28118d0b81bceef0178f6d12 (patch)
tree0a18d9879b1c16fccbec8ffc46768f246fd60edb /sys-kernel
parentdev-java/angus-activation: Keyword 1.0.0 arm, #830997 (diff)
downloadgentoo-c59883272cd5ca5b28118d0b81bceef0178f6d12.tar.gz
gentoo-c59883272cd5ca5b28118d0b81bceef0178f6d12.tar.bz2
gentoo-c59883272cd5ca5b28118d0b81bceef0178f6d12.zip
sys-kernel/vanilla-kernel: Bump to 5.15.14
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/vanilla-kernel/Manifest6
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.15.14.ebuild129
2 files changed, 135 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index ae43d99a028e..be8b2c6ebb49 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -4,18 +4,22 @@ DIST gentoo-kernel-config-5.4.114.tar.gz 1298 BLAKE2B e494041cd63ba53f055cfd555e
DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611538d24382ac87a8960077811a859c9595ac67f961b4bccb7e139a89abc7c0e26e80832da5c94211fc658082f2e7dde984f14dd29d SHA512 7d803b347b136331db1ad6e22e0445fe0224c3e26cd7c034cbe9794915d457b492e05f77664865079874ec001351553652646e2e08d0fee31e30b841b0008f52
DIST kernel-aarch64-fedora.config.5.14.20 239144 BLAKE2B c0338596572c41326cab4248f7cd8cfd3e4bbee2298ac672d83fa3a9551c3f1cd571f4cf1b3e9ba9ed39b73d724f0810062f33a98462079dafea0795232a0280 SHA512 62ff676bbf2e218236c7b19fef388c1b9cda640a690e4482617b565f0c08778bbc69be8d807fb1f3ada3ab6c2dd578f53058b8c1c49ff2d08a6de21b394fa531
DIST kernel-aarch64-fedora.config.5.15.10 243077 BLAKE2B ee19d6963cfa977b40ac7cf621c03f0095f2dc538bbb0c075e6a273750032870312b42df0bf63affd1077215f671156a129ee3f670174b0c9dd6027839125f7b SHA512 1a5f254391201dd047a07419e5b83bcdc10abd34e5408b9b649119cdf34d1e2320d4aeaa0e57c11254c612a37ac6991282d8a1b82957ac877e4f8573de28d4b3
+DIST kernel-aarch64-fedora.config.5.15.14 242650 BLAKE2B b5587c0e365a00a5283ea3a5184b473783ad6296a6516372c6c79305d2837e782d18fae8ed8e852eb6d946d1dac6c6159231f2249f3360dd1651e4f1f06d5694 SHA512 2a8447d8128a881c08745f58704a9fe46fcfd2048c5d5775a518e16b6f5b5603e22bcd4f04c192d541fc83e6253be3b29a5f0f39ddec96c8668bc801d9356a9a
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.14.20 219422 BLAKE2B 11aad144bbce274c52f4210f0fccb1edddd1bdb32f24845c34f07ec969b2da65f57656e56de99ca32a35639c210440eed7ec5ac6e18c26ec14230b2969f45466 SHA512 585000275c4afc45c5f35b9767271115f1b0de4b7a1fc8f111076895a07bc9ce31a912c50730ad6fc6cdb145639da664a44ce550a476982c14f6c8a89d10e15e
DIST kernel-i686-fedora.config.5.15.10 222607 BLAKE2B d5c99b44d9bf5e76a91850c342702ad5db8337abc7deba0a089c53e296cc043ba1403de696408bd444e781903e303a3cdb1640f6d279598df625d7b758ec7b37 SHA512 6eacc314cd1770a7bf935d26537c3c9f88d0cf4069817f1fff355f5dafe22794fdaddf14c2cebe5757fab85d3731e1969e92ed1a7a1c7a778a54513aef00910b
+DIST kernel-i686-fedora.config.5.15.14 222268 BLAKE2B 96e283052369a936fbe0f415d7176bb922bc0e22925fc25a56e6e0c36a723bf7e9ae29bbc661c0a8a6c44a218482896f25c529f9cf7a0d3bc31de8ea88f50a5a SHA512 b5ec452458b04ab316622239ffd98782a10eab17a02697d15359efdc18dfaf8052a189c66729157d2e9eed20aee25a47fa9b81f1da78d42150f10b0746f57938
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.14.20 210212 BLAKE2B a79cad7e602acfeac644c2d0070bd6262e1d87b0681362ca0b6f9cdb5f9a174f8d4839e94e33a944344427024d44e10cdee36c285a42da4a78a89225bec0da88 SHA512 c07350360bf6457cd3b4fa2c822a347b3108fd79bcd314cad32cb6b4390efa9bd474e05112df48caa5e99675cc0333583fde668ec48ae341b68022c9c6952c60
DIST kernel-ppc64le-fedora.config.5.15.10 213801 BLAKE2B 29ca7ebc0470c954fb4ff282efbbb27b5552c6db54342bb9e3a3b8086518f724bfbbff4948ddf9729f179f227a06e1167e93558169be9f3a73186efef6ab6924 SHA512 f3d276dd44bb8adcaa5713e7e4e54a7199c9dd51d6891ca25d904190ad6fc07fa8a5e4d1416b7f25ed944f6f3004776e1748de8b3b79a977b398d0f448a74fbf
+DIST kernel-ppc64le-fedora.config.5.15.14 213374 BLAKE2B 527fcc240988d111f41a366dcbeb1a04938e8cb1c83406557fd9fefc64677ee7d2539fa21fb78ea66859c428870fd54b1d3827deafec17569cdba9991913c960 SHA512 9db1d852c9385a5771cf9992b1b3ba34a44d95abdee929ae85b6e6ff8baf6b1c7a4a6c4b2446ae7ce7d1bb59b4b915d5793b505e21d643e24dcb408afd60457e
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.14.20 220444 BLAKE2B 7cd8a820ce47d8f9fa6271df0ed4330cdf43345676a5baadd6d32da22f7962bd4fc0ea436e0e86a82e1a35d585b509379e6c40d6a0065b44839e6db76c3950ff SHA512 3229eeaebd52a8f57790c23c8ac027a2cce3eb43a8ef9b6cb8e54cd8b24405dc31d203a81188dbfb4bade814adffba471051f434e2b947f3cce1fda5645e489c
DIST kernel-x86_64-fedora.config.5.15.10 223671 BLAKE2B f45dcf49155b383c2b04ebcf0964355e1fd2a306a3523bf1d1dab57e456edccedd6701051d6de5d9b2e0d12b3e5409546ed1034261af656d2a929b3af4eaa6ec SHA512 a9860e58a1005fd2a437fe1e4e99d60cbde71b251ae13daa49aaa60b8081515fb20e0d930b2ffcf78b65ad6453b8be9815d91a1b0d59c96301d0e3bb553a9a74
+DIST kernel-x86_64-fedora.config.5.15.14 223321 BLAKE2B 7605b06ba48c40841927a4f384d6b078b9b333ea5fb4b2cfee68a7ac9510daecd6e9e3555badae23f93b072a8d08b9503ef110dfbe35ebb058cd9a0c57437310 SHA512 e5ef924333714165d0afe5c33720920bf277ca341e939a99bc058f9ea52377a583fdd7aeb45a4060c6426c240fbeb9a6b80fc3dad19c75b112b507bd65369c98
DIST kernel-x86_64.config.5.4.21 184907 BLAKE2B 0eb2b07c14cea7545350fcdf3a94f2a531f0137c502ebda9299cacf44da5385686e2049b480b28bc153c9d413d453cfe682b9655eefe70428cb720f57c7bd200 SHA512 f3b3ee6841555ac3a9cc11536a7d44e1a5a8df2bab14ba341fda7df1ceb0de45cf1c799a1d54a64f2858fd1272d348bb52cf269ffa396878c5402baf2730237f
DIST linux-5.10.88.tar.sign 991 BLAKE2B 8ba7edd3b3d0b96c5b9ab70d4290952c41327edd7e7cf707b84eca94714a1cf05577d8b6d8d7d419986ae384a268f36157edefe6b950a08aad08fc37d061102b SHA512 2c609b8baddd47db61091b9284a4786b1a22fb2848ec2d51a2b7b73232148a0e948ed35fcb39a7bff646f90ab6be28d81e12bd8358cd3161a88beeea8762d306
DIST linux-5.10.88.tar.xz 116476744 BLAKE2B 89a496f0ec427061c04a5568bdfdf04ad4ca55b3c81853ae9f64d53608efd39d55d8f2074f7dbeb9424f6b9cf9b5d9674b98a05d24414dc0ccb076a9f9d27685 SHA512 b4400a65dee1e5e7bafff69012078e81467e9a7aeba0eaaa84137e7056b5b79893eb62ef4309a340b23770d3785a7d236e837e6f39f24e58db00a8b4d9190a4f
@@ -31,6 +35,8 @@ DIST linux-5.15.12.tar.sign 991 BLAKE2B 2eabe426cd804a5515a2fb2d65c763322d313ba8
DIST linux-5.15.12.tar.xz 121949156 BLAKE2B 6e201ffe5832a998b9bc8f63e9fcbf7f0384d4e4abb1a68c2299b8362b51ddcfbc35639bfc836a84202bec3705f5bca1616396c16daa05d778659d286f63b6a8 SHA512 8b79f30c26a865578d771b0c1a8273ecbf19135e4844210cb31c81784311601b8f7adfe1b3a9bc75c6bed99dcad9a5ff5e1976494b64f0de45be3a6570336890
DIST linux-5.15.13.tar.sign 991 BLAKE2B bc12b1eea7a7ba1bbd135165b320c4cf775bcbd1ea6d95ddeb1a55a1b43046c691b26b06b5232fcff39b0fa9ccd458d6f92380080050925d974b845bb66708a2 SHA512 beddeedbbe2a69f78bbb4f324bde11a64d8eafd50cdd8acdd35ff905cd1d1ae8b652f14adaf9dd104a1d17b608bcf18ce0b2685321c672160c75205cb7c54e25
DIST linux-5.15.13.tar.xz 121958852 BLAKE2B ea8775ffb1e25107b62dfe7acac4e9098094f7e1cd9846566cdf9fc1f0a6e2520f27dc48ce85c29e91032eb21a6f6682f6698a91b02b9424f2d895b5c9b468ec SHA512 0775216f9a5f828b23bb8f96810ac65d178aeede0d1ee258a01b6f83f4a145809ab6699fa07aa07721e118cf0b608ee98885fe76be07b8707a2f9cd1c0833ae5
+DIST linux-5.15.14.tar.sign 991 BLAKE2B e6a60db6caa728c9c182e5fa633603cfbef54657c6e8b0b4420ed853890fb2e2b7eb659120b8e0ca0894c4418fc2f0b53dcc1b2b7081f9cc608f27c1fc95ebab SHA512 beda790ca4380895b3c8f7040154378728cf050366a2712264ca8835dc6669da1d596825f955961a598ba510c3e11d37b11efc3897b3824b7e74f70c0ca15ccc
+DIST linux-5.15.14.tar.xz 126183640 BLAKE2B 4276e3a03f6a8fb44ce91f11ff4abbf8e0aca20122c5c1231da74fccab1105af8a76c34a686ba8b038737ec5117d64b549e85cbfc1b3238c69bbf8149e8f7774 SHA512 fe4840ae50777cfeceadf6482fff46c761059921eab6b80725f32b90da36d2a12c07bb177d59c118d6b76037c4f84225fedcb22e46eedf83f77db5b7a70085ce
DIST linux-5.4.168.tar.sign 991 BLAKE2B a581b74de0296ef69cd10686381571aa3c2e73b59dd495e78a7ba168dff85f7af3a3b7719419b767fe0b8380a904248d624bd1e17712327d2ebd62335943f8dd SHA512 bdd0a88b6199d57b3c86521e58a356a35273007fb421e5d3b80d40e4b9337c30fa1b982dba61673fda0ddc9e3107b8da5cbe4916364fbbe035ab5026befe1c74
DIST linux-5.4.168.tar.xz 109188452 BLAKE2B 72e7da0a2a2d2ecef4b73b268db09a7cdb7a0e76cbbbfd7111ec727593f8eb60026ecd8102bedf9b13b393cfc9fdd4b5297ed4c48869152c09581d763e156552 SHA512 119856b47f2fb2d3560fedb60fc3dd432e5b150261c9d959e5e9426f7f6e03630fcade800b8e97fe6fc6edc717bc6a0a296c875c0dc771045b65d20b9df8a510
DIST linux-5.4.169.tar.sign 991 BLAKE2B 9f1deaf031eec59ff36d5cf72b9154cda6fa9f4c90f588e7f59d9b2b12990e30d329ccd4127b52a52aedbcad06373f907e0903f0bfd76be98c78f135dee78cda SHA512 0683df80944f76eb8b4101237371fffd310f329662e8464452637e2fd46a86ccb4498d0e7781055c425e6ff6590e582b7641e8277ea22ac4084ed5b591352c45
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.14.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.14.ebuild
new file mode 100644
index 000000000000..31d86b549563
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.14.ebuild
@@ -0,0 +1,129 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit kernel-build toolchain-funcs verify-sig
+
+MY_P=linux-${PV}
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+CONFIG_VER=5.15.14
+CONFIG_HASH=8cc461d9cfb256bb831225bb38e29fa944bd890f
+GENTOO_CONFIG_VER=5.15.5
+
+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/mgorny/gentoo-kernel-config/archive/v${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 ~ppc ~ppc64 ~x86"
+IUSE="debug hardened"
+REQUIRED_USE="arm? ( savedconfig )"
+
+RDEPEND="
+ !sys-kernel/vanilla-kernel-bin:${SLOT}"
+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
+ ;;
+ 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[@]}"
+}