commit:     cf803a362279acadb99277fd9d76ec8e1f708bbc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 25 17:00:01 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 25 19:09:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf803a36

sys-kernel/vanilla-kernel: Bump to 5.11.10

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-kernel/vanilla-kernel/Manifest                 |   2 +
 .../vanilla-kernel/vanilla-kernel-5.11.10.ebuild   | 102 +++++++++++++++++++++
 2 files changed, 104 insertions(+)

diff --git a/sys-kernel/vanilla-kernel/Manifest 
b/sys-kernel/vanilla-kernel/Manifest
index 4b674b8fbeb..34b13b0a669 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -35,6 +35,8 @@ DIST linux-5.10.24.tar.sign 991 BLAKE2B 
4a095d90b5703f0df09dfa742e72238f5f9c56d1
 DIST linux-5.10.24.tar.xz 116299600 BLAKE2B 
104be7cceeff8a0e89c8f9a15a8c31f269e8f15eb00b573edbbb555df4861a8105a1a5547e790c23f74d36d20d5dc3be91457869d3a3766fafe536262ea45405
 SHA512 
27a3bbe8f01e420381dfd8a69e89ea68ae26454113286ab5104ad11e687f3628ae886db2dd3112a916fc39d182fb6269c52caa2117c9a8d22ad7d21e247c0141
 DIST linux-5.10.26.tar.sign 991 BLAKE2B 
d0a2b78b68f7220ea119926c9945d5354a6575d10974277c302e97adb51dc27fa48e76c31129963bb13423c36a9901986c582eb156e14057c9c1e8ef6a3b0cac
 SHA512 
abac1ce410454a3abb055d4710bea27d8bc15dc06559c55a2ee29ba1928c65e83f225ba3419669607a2cd466cb0ef6c9f24d9882275de24c9daa4c98c5957480
 DIST linux-5.10.26.tar.xz 116302632 BLAKE2B 
cc3f1632ad24e205f485cc2fef036e4356f67d70fd8ec14e965a24555843e721f18edc0d2f588cba2141a34ae16c13945df21245e2abf03c812d9f35d62e0a15
 SHA512 
2ff537f519f9cd706f0f18c9635016cf091f2a97b1ae61779955b3861c006a338906acff3bede342d3dcf334cd636bf00a5756f4d55be0c9d924668149534755
+DIST linux-5.11.10.tar.sign 991 BLAKE2B 
8c8e423e547e665369f7e62779b6f612f9b05ae2631a53e2333c623b7a65e3f69f25510451731555829e9d36f78dcabd83eddc350837025323c5ab5dc91e46ed
 SHA512 
8f1e37e39e8ce56a3bb5972cf6a0045e1415395f0cb52a8c12f2c2440a7669114d5f19a739bd803a422abbefb073ebaf32dc6a5b3af46068b965217372bc33de
+DIST linux-5.11.10.tar.xz 117644104 BLAKE2B 
84b97aeb190d570144d0e315edf8c0b51fd92a70f94a30f08ef49a65eedd48ee135b2c2f3a1a2827ace96fef2d1963e83948790c7729f3d7c1f615f8d32c9656
 SHA512 
504f73124e730df2a9e1399b64ba388fea4adf66b52f145cc39a9807a0476b998ea66b6de6d5aafdf9cc1930c1dc8de7bb8c1ae0da93d9ee9ca409ce0b0aff38
 DIST linux-5.11.2.tar.sign 989 BLAKE2B 
404589119de8a0bff3e0feb77a54eb98add568470d4260767830ecb488fec415a0eb79a87eb6b19963b26a78ab8944d4041a38a80dc515f42f14350dcf825fcc
 SHA512 
497f0c06d43cede60cb60816bac0cc22a3c7976bb71bb2f2aedced69c44561b842bae94cf51d5cd0ed506c1eb5b58c038bbf17049176f074cd0e7442eded4fdc
 DIST linux-5.11.2.tar.xz 117609344 BLAKE2B 
62f47c769998fa713cda9024a4ecbe7ba2140acde629082630c2c0b076b4e941b0a1e82f7d2b7cd4ed6e84759ea93de78e212ecbe1341d9055091d26d83286dc
 SHA512 
16090ec6dea7a8c417ca7483b296902c9b55b423482ad8a881dffcaae76411806bc9502373efd6a51b0acefec3a44c19c5a7d42c5b76c1321183a4798a5959d3
 DIST linux-5.11.3.tar.sign 989 BLAKE2B 
32a3eaf0cf1ca17fdd3d541def9a6cfb04d6b9fa701df737cb7713c7969a7452a5b8366751c6538f5171af7875382f2c3706d968f41ddca49a00a46b5f108dd0
 SHA512 
719150274d08392b51564ac35c45a6ba987ec329d69af28351a0f8842114ca30ecf23d025594ea3ed8280adfff7ca88754f850f512acd493059c71c98d9a7c13

diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.11.10.ebuild 
b/sys-kernel/vanilla-kernel/vanilla-kernel-5.11.10.ebuild
new file mode 100644
index 00000000000..647cc29e2bc
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.11.10.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.11.7
+CONFIG_HASH=ee22e4872dec1ab1f08fabe765e18b945ebcc29e
+GENTOO_CONFIG_VER=5.10.18
+
+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/dwarves )
+       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[@]}"
+}

Reply via email to