summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-04-21 14:58:51 +0200
committerMichał Górny <mgorny@gentoo.org>2021-04-21 19:35:40 +0200
commit0fa3bb0aba9aea12499d3acf151b9a38c334d9f3 (patch)
treec39f88d0995c89c0c0ff49b0a3100258e87e864e /sys-kernel
parentsys-kernel/vanilla-kernel: Bump to 5.11.16 (diff)
downloadgentoo-0fa3bb0aba9aea12499d3acf151b9a38c334d9f3.tar.gz
gentoo-0fa3bb0aba9aea12499d3acf151b9a38c334d9f3.tar.bz2
gentoo-0fa3bb0aba9aea12499d3acf151b9a38c334d9f3.zip
sys-kernel/gentoo-kernel: Bump to 5.11.16
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/gentoo-kernel/Manifest6
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.11.16.ebuild90
2 files changed, 96 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest
index 8b391abe2251..f0e7ab73004e 100644
--- a/sys-kernel/gentoo-kernel/Manifest
+++ b/sys-kernel/gentoo-kernel/Manifest
@@ -14,6 +14,8 @@ DIST genpatches-5.11-17.base.tar.xz 626484 BLAKE2B 4b6d07334c1da48619d820b102df5
DIST genpatches-5.11-17.extras.tar.xz 1768 BLAKE2B 2b8d33e5c6c03098dc43b95701937a3ac372301bdb9671a0e4fc40b9f8dcf2a9f6bf00de7f60d1136e3d904983273f17366bb4852e02ef229a92b166e37a30a0 SHA512 966c57720d558bb60e16b9c0f9d7e94e155cf1b3ee61c230b7c26a28757a1178e06a047edc5cd7b83bbd4aa31d6376156c390b1165e8b26fd6bf50439b2c16a3
DIST genpatches-5.11-18.base.tar.xz 631896 BLAKE2B 3274495dc2195c00229748696bc228582d4dc47e5be42afdc0a2f62793baf1981d721065e63f5a0534ea65b1a1393e9201052bcae7e8b411235c6e36390b8882 SHA512 7b9502bb22c9f4890bd83a45e545d1e080cdeb7e8e5ba5d637141c557b0cdffd44b0138b36920e476bcc0b15df2e8586694de964cc6b814dd2a6411d9c9d9d1d
DIST genpatches-5.11-18.extras.tar.xz 1772 BLAKE2B 016cd938f17a67dc1b402ae5fa4aac1aec6539b44122b6f843bc0ee1793d4c27307e08edeef8a967c42819c40a594aa0e93973cd320752e26d24367555967591 SHA512 bed57956cc6b61222859275c3e4bc0dc3d352683b5da02777170450166840d7a16a1418a7505344bdda5da157ab500d0950bcf7c994d29e97faea7b194e37422
+DIST genpatches-5.11-19.base.tar.xz 660328 BLAKE2B 89eea3501d394d62cb116afdd0350985403a98edf6e7a479bc67efc4888d826a4a7a46c0d28e4dda5685af4095066dad26c639b4c66265fb68cbdb2cc9d9c823 SHA512 edd96b0ae213dfe7ea6d467cf738a0a71bb032914ead77646dabe512adb9d36ea33e479e28ebc0ef3df4ea96fa1d2ee2830bacc0965559530eac9cce0ede4b93
+DIST genpatches-5.11-19.extras.tar.xz 1772 BLAKE2B 4d5771f406d8df3752f7512359e4f98a2f8caa07ef230785da07ba5c4241403f940a856b7be4552ca9a48358573621b8bb8cf069077bee0282554ce60d92769f SHA512 615a895738ccdea871dc45502da6695f42d28b6619530683100994053dbc01b9f0d3fd2d550f73305cbe8e53fcf3c1265364bd17de926107a1485302f4f1d65b
DIST genpatches-5.4-112.base.tar.xz 3278220 BLAKE2B 11c4a33da1081ce777019604d06740368895e74893cb88f4ba6e3988fe3204f2d5a0ffe2204f77aed427ce8decdd77c5ea7dd374e893cbf7ab346b8fb87a918d SHA512 d2c5378076390358ec60346e832a9454f1b61e67c68da4c6652d7d6cfa29223417fd0b95ea526cead86af5692e4e702a0ee5a169a894d04644f95bbbdd7d727e
DIST genpatches-5.4-112.extras.tar.xz 1768 BLAKE2B 7f77e833bc17035063b98d89135455fe6200eda135a92221c0f2eef63c6b41235653a8d11a7c99e542010c2195c1af8f5ae84a7da27d159fef67be5192537722 SHA512 6dda1c917736f8a45b1d79e3d7f30b243f922b274425975f520d1d2a5a0fb95b0ab242e0f24bd3a5e0b09e8eac76b6f71eab94cbe1747e3162ce85d892a6da5c
DIST genpatches-5.4-114.base.tar.xz 3305288 BLAKE2B 345acf1ef846178a5a70f385f3d9c2dea25b1892fb755cbd43c78f3aa553097294549a5f24e9552ab0d37d5086fb58e98b72db5230ab8506e725a0908edd5143 SHA512 fdbb6b9c10eafc3069b72460db1209843ec4d4d024548a384dca72592e3c6e5e4eb3b9b34058266499da26caf0a168a1469de7bf4934e0855c6a5db1f4d8d69e
@@ -30,15 +32,19 @@ DIST gentoo-kernel-config-5.4.114.tar.gz 1298 BLAKE2B e494041cd63ba53f055cfd555e
DIST gentoo-kernel-config-5.4.89.tar.gz 1240 BLAKE2B 50bd2e64eb1a62d2f0d67e02b78da56cb507fd7a5993d663b880c94ecd535898285ed01e00d5d07fc1ba0d044657e776456736d8fdcacecf7ca464979a8a1d06 SHA512 ad31f9895b9dd45edd7f8715516edfc303c23600f243f3ca122c7c554c9fdbe3c3aa62970a24ef7291d7937e04c63c0258f6348e796686902a011c055c1bed01
DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611538d24382ac87a8960077811a859c9595ac67f961b4bccb7e139a89abc7c0e26e80832da5c94211fc658082f2e7dde984f14dd29d SHA512 7d803b347b136331db1ad6e22e0445fe0224c3e26cd7c034cbe9794915d457b492e05f77664865079874ec001351553652646e2e08d0fee31e30b841b0008f52
DIST kernel-aarch64-fedora.config.5.11.11 225875 BLAKE2B 132f9ef1393edf843a7a5026da736975a465084e550b354e09a13c598fed6942c9eef7f46c2f04dd40861ed227b533041c5efb6f6fde442bdbad718aa563ef0c SHA512 9def40a4df1d20497050c2badedb8b8828d67793b465855405fcebdd04d624b6c3314347c93db07acbff0262a41e68290365d2865945138468cf5ba4419594db
+DIST kernel-aarch64-fedora.config.5.11.16 225910 BLAKE2B 2715de95281a315896264a17e3c36fec88ba51e6855c5f8aee786f6f44918b9bde57d0f4a8bd91623919cff86c1e5c00d183bf13da42fa363908ed041744a2ac SHA512 b2efc941cd896b3afc024dde618aa017444845d6fcf779a72522d91abe3fdcb55e3d5bc67dba7632a0205eaf8e70bc74944f7f6554ee1a07909686adbceaf65e
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.11.11 208044 BLAKE2B b6600736914e25e3de288850759e044731b08c3a386eb65dc6e44613552f362905d14f02741a7b74e9047bf5ee7e624904e84a3be7ab86ba1112658208fd4cf0 SHA512 d5601dcb2b3a170d6af14633563891aba3df8d3f396e4496637236a59cff8d6da52d0154ea199af28faa0a614bce50868e08aabeaa374b910d21b591e6bbb11a
+DIST kernel-i686-fedora.config.5.11.16 208055 BLAKE2B c2de08a40c1d4525a9b4d137a48c3e6386a4f2df2cc1ba526a4e946835534c3cedac23edcd31cde1631c2cadceda2365180c5d4a406c7301478893ad73a74b1f SHA512 0df04c54c01d506d6855d8c8c2ae72af081545d8e91e6e8416a4a8a8ab7b238c4a18ab44575962facedc3300258cddcd32f035237e71c4722163e0f4982f31ff
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.11.11 194887 BLAKE2B afc34e8e59a0c99be6f5547dc0b60ffb1a68293ecf46a594ee951feee7cbb689f186d0686dab02658ca55dfb2e7c40de1bd37951270046bed71e1f11cbfd888f SHA512 eb60ea14dc4bb7d2e87b650d1f59ad50d622c4cb2229882f393def628a447bbbea378ff788c91ae1227fd44289a1ed604ad41215f561641c4048a3f82c6a9c83
+DIST kernel-ppc64le-fedora.config.5.11.16 194898 BLAKE2B 75f4d16e191f1555cf3450cbc61ec7d3d4b6b305a7717d25ea3d58a92995850a0cd3090cbce943219e229bc9bf1d96491519c95dbb1965d5aaadb31a89877df7 SHA512 78189ca4d60ebedccd04fca02ee986a05d5ca78decf2202dc9821475a002f2630b424a6122c867050acbd1324341a065a9cbb897b38c33e79db805ab402ad44c
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.11.11 208887 BLAKE2B 012eb42b2ad148eb0f2ece1e3e6a95e71da409796c1e6dbe758f9f1031fac022e18a0b6ceac083f20928938aa7e353307c016950a53a9860dd9b1151808dc1e0 SHA512 0e0b61780a1d86760c50b523ce02e57bababa4e8175105d5908dfd77b699e30cb2dd5a64518a81d2293e56968e138e0dd8653d4e94a7bbac1b69d8297982a39f
+DIST kernel-x86_64-fedora.config.5.11.16 208898 BLAKE2B 88cafb42a74005f7e5410701e3723468631ec99b433a74231f25fc39535a5472cdeca13996cd4c5b3a864c238e2d713d0ac8ff95573ef7bfa32e66acb7c57e68 SHA512 a35e8d6eac8efc76028a309f712b839d2256c745ba878548b408c3dcc5312d3af3f3eafdedb47c85fc0358dcc21d2a2742169140aa34adb92e04a186e79b47b8
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.11.tar.xz 117619104 BLAKE2B 81300c27bd5476387a83123aaeb4163c73eb61e9245806c23660cb5e6a4fa88ffc9def027031335fa0270fc4080506cd415990014364e3a98b9d2e8c58a29524 SHA512 a567ec133018bb5ec00c60281479b466c26e02137a93a9c690e83997947df02b6fd94e76e8df748f6d70ceb58a19bacc3b1467de10b7a1fad2763db32b3f1330
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.11.16.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.11.16.ebuild
new file mode 100644
index 000000000000..22d434932a65
--- /dev/null
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.11.16.ebuild
@@ -0,0 +1,90 @@
+# Copyright 2020-2021 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##*.} + 3 ))
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+CONFIG_VER=5.11.16
+CONFIG_HASH=020a7e573eb59b9d2b935e955c62c987e04751fa
+GENTOO_CONFIG_VER=5.10.32
+
+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/gentoo-kernel-bin:${SLOT}"
+BDEPEND="
+ debug? ( dev-util/dwarves )"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}"
+
+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
+
+ echo 'CONFIG_LOCALVERSION="-gentoo-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[@]}"
+}