summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-12-16 23:07:34 +0100
committerMichał Górny <mgorny@gentoo.org>2020-12-17 00:59:36 +0100
commit22a02e23e7e317bc6c19d775901b04455164e5f9 (patch)
treed8d7bfe563d3103144daec9aaefe3dfdf87f5b60 /sys-kernel/gentoo-kernel
parentsys-kernel/vanilla-kernel: Bump to 5.10.1 (diff)
downloadgentoo-22a02e23e7e317bc6c19d775901b04455164e5f9.tar.gz
gentoo-22a02e23e7e317bc6c19d775901b04455164e5f9.tar.bz2
gentoo-22a02e23e7e317bc6c19d775901b04455164e5f9.zip
sys-kernel/gentoo-kernel: Bump to 5.10.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/gentoo-kernel')
-rw-r--r--sys-kernel/gentoo-kernel/Manifest7
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.10.1.ebuild87
2 files changed, 94 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest
index c6360a46ffc..563899fea65 100644
--- a/sys-kernel/gentoo-kernel/Manifest
+++ b/sys-kernel/gentoo-kernel/Manifest
@@ -1,3 +1,5 @@
+DIST genpatches-5.10-2.base.tar.xz 4604 BLAKE2B ab25c50b6fa200f303b2e9f6f203730da460feea7b473d8be794c833c180239b0cb59abf115a58c4a6c671c30297cdc3eda86aeeb47451395d39571d45bd9033 SHA512 550c34ae1c8434b06d07108f126d6fa386b065d19439226c375623b5f37aa36aec642f318f82148dde168fd85e154ceaeb35d1b88271e62a20675752f6b33c60
+DIST genpatches-5.10-2.extras.tar.xz 1772 BLAKE2B f4bc68ab7c83508265848d9782ce19046a5870c428a9b2e99c473c7c1e6451bdbe2e22152e5ec81812502547b6282e5286dcc2da591481249d75ba69985300a2 SHA512 ab99eae22f08f5894b5b027440e715558da9fe80542f824a260bce9951dda6059dca705a4b29cf3b5e295726eef9c1942a5d114259702733d7f6f6b68f828020
DIST genpatches-5.4-73.base.tar.xz 2527064 BLAKE2B 6e0b392681d6e5e709a02c1c8f15fe06ef1651f1530506982feec7fd436aa04ea75079eeb5d3a61c91bcbb46c59a232cb8cb67c62fa7b2e8b289591142dd9430 SHA512 db987b95895fc37243e3697f3ef8f33787489e173fefb84ad09a6600898b2b9b285d9113e6f867aab0c3d5b4c65398f4bcbc40a4220f3cf2b355da9def209dae
DIST genpatches-5.4-73.extras.tar.xz 1772 BLAKE2B 7475a0907f287fef28ee8bf220932528107bbac0d612dc05de6ca8b2dd86ddf37d9acea31ab2977a677f6ea3a19c594737b23e504da405fa811c4d0faf00b94a SHA512 751898547b1f60070f1d8431cd89daff55e33473c8fe68415a15e3b8079ae2d3e44318815ba47a1ce9750feb1cac1812eb8eb7765426b204eb1357993cc68cb0
DIST genpatches-5.4-78.base.tar.xz 2710752 BLAKE2B caf08c588198fa9a364ec299c9918ef6cc51495df40cc875b0e60c4abd6f3195fcb67581b276cea0ed8150220f8b84c04344acbee71c26598cc1871e6520c1e2 SHA512 fc4bc267a20e8c7f5326893d89e45d064c9ca7372d13657a443432e47a34c4b835de885c8f3d93ee1aced43d5016886b774d55c29d6839921089bacc40a742c3
@@ -32,17 +34,22 @@ DIST genpatches-5.9-9.base.tar.xz 513024 BLAKE2B de77ed5aa32336d44f0a299703ceaf2
DIST genpatches-5.9-9.extras.tar.xz 1768 BLAKE2B f97e1741fc12f3e00f1f71f6d9277d0233ef65464461ad0352cc211f32ead0ab67ba8e0fbbdf187bedd6d2d3728dabc1d38fee2552e1b06b9a4fa4c5fc0c9d62 SHA512 148eaf715b3c4b7fa6d613824dc19d2b70e580e0316cfcdd405ffa7b946b1dad4af5cbc9e2ad4b0c0fd31041a60d5410c3ac789f53f41e85f37375df101ecc00
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.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e
DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f
DIST linux-5.9.tar.xz 115507140 BLAKE2B e8d11472d63a9f8409ca12a2e8c97c6963a3d4516b5a398b627d6ece565584526f9b5a1377a2fa4bd184c09c7db94c987428bc5d52df0c788464a67e9e8d6dcb SHA512 d3d92ce4246bad74c9a784212f160d98449b1e8793970c2c308276568d852b8effe0528686bdb87d55d691f09a826abf7938d69bdd4759ce65ddd5c05ffe4eca
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.1.ebuild
new file mode 100644
index 00000000000..f4ae3d7589e
--- /dev/null
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit kernel-build
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 1 ))
+# 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 with Gentoo patches"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
+ https://github.com/mgorny/gentoo-kernel-config/archive/v${GENTOO_CONFIG_VER}.tar.gz
+ -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
+ 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:${SLOT}
+ !sys-kernel/vanilla-kernel-bin:${SLOT}"
+BDEPEND="
+ debug? ( dev-util/dwarves )"
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ "${WORKDIR}"/*.patch
+ )
+ 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[@]}"
+}