summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-12-16 23:06:34 +0100
committerMichał Górny <mgorny@gentoo.org>2020-12-17 00:59:35 +0100
commit9669f9703a0938f2b549fb8a83af30c3e6185c27 (patch)
treeba3384713bb6128172e4a06f770a5bd6debbc52a /sys-kernel
parentdev-python/fasteners: Port to py3.9 (diff)
downloadgentoo-9669f9703a0938f2b549fb8a83af30c3e6185c27.tar.gz
gentoo-9669f9703a0938f2b549fb8a83af30c3e6185c27.tar.bz2
gentoo-9669f9703a0938f2b549fb8a83af30c3e6185c27.zip
sys-kernel/vanilla-kernel: Bump to 5.10.1
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.10.1.ebuild97
2 files changed, 103 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index 31b2563563a1..a23c85d05c08 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -1,17 +1,23 @@
DIST gentoo-kernel-config-5.4.77-r1.tar.gz 1289 BLAKE2B 6612741cfbf458f4bd8915b476aac3aa6934e8bbab344da877fa4ad52b6133e01f5d44bf0e5d048e79e56c1a351774135ee55f1aa839b230e2418db7c5d9b123 SHA512 2a09dd85af37447b278847aeaad114ef47470726cec015ed5ee1b54b3080f4b2c48de8b2f7b817eeb4e27c753579cf0820053e22caa762cb1552116d8d69eba0
DIST gentoo-kernel-config-5.9.8-r1.tar.gz 1198 BLAKE2B 8fc6d432e9d7e1f7f2be75c5741ab18be399066e9837a52023bebfbffe6299eabfa7e8e94822ef205bd443f6d75a75530cf0c3989dc0414a7c3e4ff06d4743bc SHA512 bc554f46ffb8a4422269e5d9b8e9e0c0f1ecd29fd008719f7ab027e87f4b4bb284d7854d1af2e1e5af0784043db79de058b38fd1ff0bf50d3086e8adc6254e1f
+DIST kernel-aarch64-fedora.config.5.10.0 222666 BLAKE2B 54e56ffb94ceab41ad83cd909da093389bd6b01680441f150625413c9a15d34c5a9638cc978474f4d3bbda4372de97439569864cba6d99da1f7942884c7927f6 SHA512 bc0bf63dfab155ca082104dd65ab7e5413e297be7cd468b925c74eb420c243c5350ca362dac7f2e646bb75a2ffa15ce7729d6993426ff399ada1c4b53c4861a8
DIST kernel-aarch64-fedora.config.5.9.13 217955 BLAKE2B 80997bd8a3e2d6863d9282bf99378231c26a84fc52f3173b51e4519b081a0fde037357c5bd9a9216ecc7af29d6b16eb699e4d9f96dd2cfa31103f7ecce9d1c34 SHA512 7cd9a1689b24a9089be239ad61d7b8394e06e0e3086701fc5a7f77c02bef63b9164be88ef8dba0e0f116975a9a87800ce69480de963504d52fb8e105ff1868b7
DIST kernel-aarch64-fedora.config.5.9.2 217893 BLAKE2B 03a36c1fe81a16b434cd94bad3984bf8984808b2e7092089f9a23a565c6d9bc8a512baa4e5754633783ef47feb6cc67010a0093f096e5a15db0f13aaaf6d6426 SHA512 ebe29150ae625cf2f285649984c27246ef85cc13f0b5d4e40dd3ef479489aaa09b6ee4aee859d6e4361dd7e7b4432db8aec077a099a25e90609b9eac2d42802d
DIST kernel-aarch64.config.5.4.21 199104 BLAKE2B 578ad451a76204df2a9bbbe34b5cb27051d2ac5e2c33967f562b01338c43f35da6dc33a4c2cc67ea6c3b32b155729360d3748ec28dcaa750f18449245b2e8a09 SHA512 66e9a437beb350fdc59512c17b8f72c5b5bfacf2b35070d810d77e66f49cf7929026cc28ad44b04a016d61e65d9fb4a10af6996ba09b604bf97e9c467d08f8ff
+DIST kernel-i686-fedora.config.5.10.0 204929 BLAKE2B 74de8957e749828c7b76fcfb03a921e26592c5c1b0f4803f781542800dc2635fc356b524059d75ec45080432381be4ef31f9a8a12d10c9a896d722a106b90210 SHA512 e98497beb1da1605bfeaf1ebb400851dd8552941cf352389317e991623e6a3dde5d6edbe04df3f9f0b8b90f29bc05b9a523eea3489d1c450bb0969e399427978
DIST kernel-i686-fedora.config.5.9.13 201435 BLAKE2B 1eb2e7e816859fdb15ac77110c69cfb92b7e3b1ec175cd21be7100f7de688ebf1f3e2661fc10bfdb7c68eede963beeea0494802339e0d5c447a909f75ed72935 SHA512 031549785d7d00cca491f9c48a62421dd7106c97e8f62047a62b58cd96965b056ab109b388c7c7484860dc0888ebe2df2aaf434f4d4574666f3c39ae6e84b904
DIST kernel-i686-fedora.config.5.9.2 201362 BLAKE2B 93e5dbbeec7761d777b8cf8795b38dd6a727f07c58176013dc5d18c60165af21c6e0e9140c7c7217fcc31f9b9a9c959be9d3ef0f853035986605fc513e7c70c1 SHA512 7bb41160333fa0f751c80ec9ad1e49ef991c26e05575a1e5fb41967bd984c91294629d91624eacbbdf2f307a28f9de8c994a9a7bef63cc933b0e13727dd33619
DIST kernel-i686.config.5.4.21 183910 BLAKE2B 185126ffb85718bb73761d01683def80b6f002d7a7a6eddd8e858a30d8eadc863fb378d83a1cd2ed82b3540337fa66ae44475e31fb41ebc46d77005b6f54e5c0 SHA512 6307afc2295902e44fe65b1cccaa7a0260b295a5f21f1d67ec66197bd972bd3f5675b624f08d9da8b224cb3ec987d5c21cbd743599aeab9ac6214bc651f43476
+DIST kernel-ppc64le-fedora.config.5.10.0 191600 BLAKE2B baf50581ae4f0d10e46bdd3a94889cc09a5c54b388663a750f4e6f46f54ae9194588e82bd473db4a6662a7b5f755ca6604f0cb9c0c5d7986c8d358830aa188fa SHA512 d5dbe4313163131448425f3385ffe0735ba23afacb802b8a54622a497aaa2ef05c9dbe8a1916f3e8b01c710938443b5eecbe2a3233dd5dc47054a38bb1dac987
DIST kernel-ppc64le-fedora.config.5.9.13 188055 BLAKE2B 45c2247771ddd47922b05f7b5d56f993d7d8dcd2ac5b8143bbf06085e2b08c4fb4c30021c7489d6f12916a4c3c0123c81713bfafa1ff0902199fcec2d5af051a SHA512 526243f4a247e2a25f1b256e756034591ee7a33d6c6273881f44c8b0fa1b657d7c6654cfe1ea8090b6f1bac638503c93947bc1df4165a2d2e4b9a63f3098c292
DIST kernel-ppc64le-fedora.config.5.9.2 187957 BLAKE2B ae15f248000095a593ca67223818379eaec9dc878049eb36c5812ef70bd27bb5159ef16faffd4fa0f26ba5d4fdb907cb8658ff3fc34c93746f04f428d3598d98 SHA512 c331ec3301baeedaefe2e31e3fdc5e9ae48070e8e4f8e3469efb4a9907e4ceaa38748dc1fc99305b630e06c68993007182d3ada3cb9c518a81414b29c854fb88
DIST kernel-ppc64le.config.5.4.21 172003 BLAKE2B b53887cb44f7c378cb3866780f8e556e19fdb02130d3b0df01d97698d2a91f7d90a200012559f288e962935742c3fdb67dfb6711876fad37862fe55cdca5b5f6 SHA512 82df8d0be47e9eb20bd7db570539bb061d0b6e2101dc78a54596cf4d0b4e0c536041449304ff9240b051ee09b342ea336c5645e9a3b66a5dfb96d7778ff86008
+DIST kernel-x86_64-fedora.config.5.10.0 205885 BLAKE2B d81a5e48f1ca76d2e95cd7921134a9775121bdf5a31c89210cb53df85e298181ede6ef97468abffaeb9c02d05eb6c12c9b4f01ac695ec089ae54a74ccccf2cab SHA512 b84b03581136d291f4d7a952c9eb9dcf4bc550cb88065c74b4e80ec3c3fb6ad41c24c46e0ac0140e4d05878a21334cdf1592d5583f455f314b4a99b8a8a699ee
DIST kernel-x86_64-fedora.config.5.9.13 202355 BLAKE2B 5c74baca1940667ff5d5c8bbd2f1d6551ebc40e8f2b1d973e2e9dd1fe0ed1c6a36787c56c8881b2948f7dbe72c0eefdf8cc1860f15d8a70c0f6a5e3fedcc1caf SHA512 34bb65ac7cfa8374f2bd8d33fbca77859b75374831dc0a141a9bb292bd63194c2fa78ce2dec9a809390af64c0080d72162d8a1978f0cc5d57e518e47de25cc44
DIST kernel-x86_64-fedora.config.5.9.2 202282 BLAKE2B 5172fb3f682f912b14c4b2f15e04db4be6362d1291bc03b03352d00224aec387d4fe04150a617f9a8e84999aeabfda51f79e0978998ee232cc1c6f2ee130b74b SHA512 36375384215aef89b52b365a9ff82d732a42336c51e144ddc39b16f1fbafb858bdf0d1f5d06bb4927183bcaf8943caf15adfe2428fafa85db70a198e53854155
DIST kernel-x86_64.config.5.4.21 184907 BLAKE2B 0eb2b07c14cea7545350fcdf3a94f2a531f0137c502ebda9299cacf44da5385686e2049b480b28bc153c9d413d453cfe682b9655eefe70428cb720f57c7bd200 SHA512 f3b3ee6841555ac3a9cc11536a7d44e1a5a8df2bab14ba341fda7df1ceb0de45cf1c799a1d54a64f2858fd1272d348bb52cf269ffa396878c5402baf2730237f
+DIST linux-5.10.1.tar.sign 989 BLAKE2B 9277a2795ed8c0530b8859ce944f725ee63f01446cb672e32b77b6dbb247504b5e9eee65251dda7dadc75a8492c793b44c053ea8bf959c9baa2abbefb7f73100 SHA512 b15265e6402462e656497a53e94cd0cbfcbcfdf2e0f66c5f6244a4ce8658b8985583b4932127db44f8449de94ee681a2ec9b530829c976f375ccffc1772a8877
+DIST linux-5.10.1.tar.xz 116601696 BLAKE2B d965795fdd5fa6f6cddbd86c4b7af9cfafe9022cae1c149a1326c90b9fdddbd7ebf83465c7b04d227418ba19c3b7af99d9a47b2616df2f83ec92fe7c9306f935 SHA512 5b6cc32f2daa1de35ceeb0007536d6e49776064370d94f8d77c19cefc97e88c47ff55cb4c6add7c49189e7203ff44a05ffacf3c0f4b766f719d6df1a110f95bb
DIST linux-5.4.72.tar.xz 109606972 BLAKE2B 90dfea3370a78742c851d7c9ee21c6fe17204f6c6825f82ebef4bf9c23bb59ae62bafc71cd4bdccad151c6042a33c43df8449d10e93f71d41bdfe3006255b5ba SHA512 6f8b191732b1f73249f8d350500ade946f61309791b3c4021deec80e4781738141afd5e4a11d071d329ec792fc87ce2e6386e151417db0fbf344b6a5659bddf7
DIST linux-5.4.77.tar.sign 989 BLAKE2B d79c13fa311bd79dd690673f6f75cc308c28aea15ffb5c91b22717cc9c538eb7980dcada74e811939ea440f6b9a4843f9259f9f7d5be9521af2fd52ea676dcad SHA512 c7df7e53d4e463c4c776f3996ce7856f34bc63f1c4e32c58f1518d33e784d496945e394c5488807e9d02e3f51aa21e45bdd12a9a2377ea3ab9ea779aeed1ee1f
DIST linux-5.4.77.tar.xz 109619220 BLAKE2B a89f698636cb913574dda1be8794955c79ae6e221a05bd16afdf555a3a142679309b0c494912b0020bc59c315e0e793042bd504ff076cd910d36e62c943a4661 SHA512 f8501bac63b8d5d9d263eaebf6ab3d9a70a7c26fa39c186c31ce1936647bb08efb19bdbe4a8f2912c37616d370bbdd05bec395d6d818fad235c38832b9d9cb87
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.1.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.1.ebuild
new file mode 100644
index 000000000000..a2cc8ceb44fc
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 2020 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.10.0
+CONFIG_HASH=12700e38e8ba0a7be437a4c5804ba0e6417fdc24
+GENTOO_CONFIG_VER=5.9.8-r1
+
+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 )"
+
+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"
+ 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
+
+ local merge_configs=(
+ "${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[@]}"
+}