diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-11-25 17:08:36 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-11-25 20:24:41 +0100 |
commit | bc3b0da03b086497033960da31b730f46e395d55 (patch) | |
tree | b4925029ad88a467c30ef6616b5229d39873e5be /sys-kernel | |
parent | app-admin/salt: Stabilize 3003.3 amd64, #817926 (diff) | |
download | gentoo-bc3b0da03b086497033960da31b730f46e395d55.tar.gz gentoo-bc3b0da03b086497033960da31b730f46e395d55.tar.bz2 gentoo-bc3b0da03b086497033960da31b730f46e395d55.zip |
sys-kernel/vanilla-kernel: Bump to 5.15.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.15.5.ebuild | 102 |
2 files changed, 104 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index ca140565cff5..b3dba8894e23 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -45,6 +45,8 @@ DIST linux-5.15.3.tar.sign 989 BLAKE2B 8938a9a4088db857e689c267829e0952d9d95cabe DIST linux-5.15.3.tar.xz 121928320 BLAKE2B 93379b68cfe85a979a7a39179e2bf622702d5e4f7a1d5a5bace1e8d11583d77966bce5b0e61f047fcb40c6c2be401e7725b3aa01e602c6ef4ac045a24ebcc2cd SHA512 3724428553dbba44064e044f960c1dd002427eca79ddc4dd5feb829cdc76394d3bdc99bcf8d67a89cd406dcc6c5f613cc629797bebbf281fdd3ef00aa0724839 DIST linux-5.15.4.tar.sign 989 BLAKE2B 3db07bfff684a8be760d0089076010182fcf726e5a07304f6f29c8f7f1e12b4d2a987eaf34ce5dd02bb67a1a8622a8e4b87cfb8cae407216ddecdb31aa2db934 SHA512 666a82dbbe0106ca9c6003b75cd7a976faaf93554d7c7bf04ad0dd0e59e751484b94f09b72db008c9e1a64275e5560844024d2c8fd29ae168b7abbed04a180c4 DIST linux-5.15.4.tar.xz 121922224 BLAKE2B 1ce31010ecd0945fa8c521da092f6dacef9b1223723fba9c271424427a4b23decac11c6dcf68eabf4f5f0f91cc4abab50e3bcbd776632f345fdc86be5ca7d986 SHA512 27c38e4772616852710671c4c9d2301e2bf4eea05e47ecd6493c3edddd23ae8e2a08ee9134f2f0e2bf599e095e1b8ccc92b124be2a9a943367dfe6afde3eb369 +DIST linux-5.15.5.tar.sign 989 BLAKE2B 64814f119b9f6759690c0ca590255e902038b956d0d3edf8e07496832f0adfa6ec01a9c610744a4745be8d3b5014bd797734d2032e253ce2745bf5a639fdd528 SHA512 5830f3a94f864152cfb25ff4fc31d22e3d01adff4507e0fcd48ccaf9866904854fee2bbc68feaaa232a46c9484917463f997b6ccc02915707d00c4ebef2c1239 +DIST linux-5.15.5.tar.xz 121927760 BLAKE2B 2921b549a44ff4202ab96d35d6b7ce99bef914db5c1dba066fb7c4b146ef987d1aed53d0773fbe07cd6bb3b964d40b6f3f8c47f6a04149ea1c64e2f8f87343bb SHA512 7b9a78c734a24e8b67f93c8de65fb57cce498f18f4ce6a5c4cff0b834407dbf66cda6834118e67cfef3101979f2df78a7cc45854d943ffecee60a990783497df DIST linux-5.4.158.tar.sign 991 BLAKE2B 533dbce299037f4b4fdb79a8562cad9d05ce4027b15ab0611d7901929051c333555caf4eefd621d28b8daf1101df9f557c47bb06c65701a880f0ab55b5226e0d SHA512 4bd5618db8dbbfe5c8f3810c9afd48b019bdb5ad10fa8e63e5ffd6f25558dae52475ac36444407b5350f7bd88bb307a3fa84abf594aa098a7f4e049d672f49e7 DIST linux-5.4.158.tar.xz 109178500 BLAKE2B 2f17825064e6dd718b3ed71014c9442fa4970066b496a81b059a8f84d22d1c5522569aa672ce08597a56150eff6315f19e7d0eb56eccdd8d9505f1cd1f6ad901 SHA512 ccbf29c70315055ec7f63eb29262970c68162f2e12046cb45ec17aacf0950e0ed8e60a236744f2fdbd4fe5a0b14e62cdbbb345c32b089e5172feb5e170faa14d DIST linux-5.4.160.tar.sign 991 BLAKE2B fee86930c4de94769f5c0f4baa4e268412873abf5ac80007aee6452e9a7ba340983b96e7ad5ae91298a245c0ba1541a389fe6070299d6183a05009e38c51dfbf SHA512 5c9b13103e2b7115854d32cfc39b508ef9f0c9fb74a8d83af63b3b514ae280ff6c6e8e576e35bb7ded3d848cf19baf33eafcab7c651002bcd235af5d86118586 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.5.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.5.ebuild new file mode 100644 index 000000000000..e7d7eec434b6 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.5.ebuild @@ -0,0 +1,102 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.15.3 +CONFIG_HASH=6950ef54b415886e52dcefe322ffd825c9dc15bc +GENTOO_CONFIG_VER=5.13.4 + +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 ~ppc64 ~x86" +IUSE="debug" +REQUIRED_USE=" + arm? ( savedconfig )" + +RDEPEND=" + !sys-kernel/vanilla-kernel-bin:${SLOT}" +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( app-crypt/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-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.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 + ) + kernel-build_merge_configs "${merge_configs[@]}" +} |