summaryrefslogtreecommitdiff
path: root/sys-kernel/gentoo-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-28 20:40:51 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-28 20:40:51 +0000
commit9c417bacd51da6d8b57fa9f37425161d30d4b95b (patch)
tree47c9d6e4243f39a1f48afd54c969b65b00a5c649 /sys-kernel/gentoo-kernel
parentd934827bf44b7cfcf6711964418148fa60877668 (diff)
gentoo resync : 28.11.2020
Diffstat (limited to 'sys-kernel/gentoo-kernel')
-rw-r--r--sys-kernel/gentoo-kernel/Manifest5
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.4.80-r1.ebuild94
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-5.4.80.ebuild2
3 files changed, 99 insertions, 2 deletions
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest
index b86052df2c6b..2dce54fda097 100644
--- a/sys-kernel/gentoo-kernel/Manifest
+++ b/sys-kernel/gentoo-kernel/Manifest
@@ -8,6 +8,8 @@ DIST genpatches-5.4-80.base.tar.xz 2561892 BLAKE2B de5b2235bb041cc87bc9e227aaa7f
DIST genpatches-5.4-80.extras.tar.xz 1772 BLAKE2B b549a8901e55cddb1742e394166f8d948ba67552f1b7488cdaa5b7b3dc1a08370ddf7b32a9b243842e995472ae03837e53ae7e95bed6bee0417874f031f3785f SHA512 bbf37e04615bca2a1fbca6b490bae4665865f4f5221f0268ba2f2ff5779fb3eebb0685654281dc5753b553d20a6864a950661cc75fc425b28844dbd524697caa
DIST genpatches-5.4-81.base.tar.xz 2591356 BLAKE2B 63c0ef166e2691c6747a2b2a8317aeac286ddac1454ae1eba7a34035abeba67ea2627257d17f266fde57da0684f83cb102b465252a3b95075c1442123c2473e4 SHA512 88d4deb9002cfe6aa8a8045770cf5c7ffde8cf9bad324a72296b1a5202c94386807fad53460147420363b3c73613be424bb54000e5cade7baa4df254ef2c61ab
DIST genpatches-5.4-81.extras.tar.xz 1772 BLAKE2B 93bedfbb023ab9d3913751cd242a4221b204685751f57d0ac31494fa8f8caf8e5faeb3ae10eed5332016f9a40b20670a6af6c4198eeae1136b14a3b28174beb7 SHA512 8776735a73aad4672d4b857d750f985ff6681f8e565a906106e2cfcd4d7839fa518d8fa19b39a0ac948736a3384656be44aad239ce2516786c797303f492ce01
+DIST genpatches-5.4-82.base.tar.xz 2792480 BLAKE2B 39960646116f5f85ee657a29557d8fd9e809ae9bc60aac349c91e7680f2a0565800ba37a478573098dbad41b686336a058985d2925e5046fa68eeaea8df25477 SHA512 6a76eebd7178e2ccc522477f53c36f74e6fd691f87c547dffa2602a516ad9a6a01f05c953e12bbe6ba9aa2ce34b176a6a081a22da40c7d86855e5dfc34098059
+DIST genpatches-5.4-82.extras.tar.xz 1772 BLAKE2B 8eff7ca01490badd5dad15497f77bf43c268ccb494db9eb4c18f4f59219f1a5d79ef2a6f35caee87e3c423b0fff1ef94a6d6477e5074397f78e4bd23b9c40d95 SHA512 bdcc7eb08c1cdb599e69b254f55685f7beec83f256518d42c31d0df9a4e1c6376c184145ce47d28e0b688d2166e139445ef5f9f284e817ba9f37eaf812852a88
DIST genpatches-5.9-10.base.tar.xz 521384 BLAKE2B ea65c4e0977bc07459297883aabba1589b746de718c054127b1cb5fb2d79702798dccd918e8f5542d439d316d3c6c3ae38514155ff2cd5f61c7916eacfaf5177 SHA512 54836cd45b62fc97c857f85bd96ebcb99d5f5d80b3c80c31e70a48e3aa8e54eca5eae802e9a8780c0eb0a1d166c190f39751512580ab10eb122a887d31ad3a57
DIST genpatches-5.9-10.extras.tar.xz 1768 BLAKE2B 8177c3e2b8d92785b9ee71a7733432c783977a4c18f2db282c3c5b079219a911f6c302cad0dc3bf14c886bd3765ffdb2808f353ba0ecb89bb01d522f24f54c0b SHA512 462b35b3ff7a142877d11ddf02992a50043ba677f9f10619a308424f3e4df54d45436bc148fc503581c1c707a2a936ee278b18d95c02c6d5cdfec08f94257171
DIST genpatches-5.9-11.base.tar.xz 580544 BLAKE2B 59989b81c77e174e421b4fd6f570b7b8daf3649c4869eb61808607c98999467c60f9fe0a9f1c798807e9395ee064fd183a3110482536f1061b80349156af1b83 SHA512 5f5570bb06e62220304c235d5cd93c0d7f738bcc978cd1215ba262dd6bc9a0b0d43cf8d51cf36f2f0a66996b79f656463c7a0323e14f8c46899f28b0420155cf
@@ -33,7 +35,8 @@ EBUILD gentoo-kernel-5.4.77-r1.ebuild 2719 BLAKE2B 3a8fca6271d30695909ec44a6bd92
EBUILD gentoo-kernel-5.4.77.ebuild 4385 BLAKE2B 865fc5028592d4408053503b11117b98ced615020e6de40a26cc3cb8357065e28cfa70209d043537e69c23d62d3b9e29c978ea35db14b9f1bc94318a25e564c5 SHA512 1110813549c8a40f29bd0c224f247dc2c9826257f373bcc11961eafbc16ce2da4ccc75bf8c6f0b8805c701b84fac2efba58cce0e651d0cc4b9903b373354111c
EBUILD gentoo-kernel-5.4.78.ebuild 2719 BLAKE2B 3a8fca6271d30695909ec44a6bd929a9ab7da6a1b161be9696b3fc9014195dac5bf402fd1c753d22f84503e5514657bca863cc7cfea0bf0a566b1790a0fd0ec3 SHA512 5bec6cc4611461071be98e4184aa632666b63e54329ec4b26e8d38e17744d8c6b2cf83003914f08fc10c86b02e53b8d61f112fe4dec7227405da0a20140a15f4
EBUILD gentoo-kernel-5.4.79.ebuild 2719 BLAKE2B 3a8fca6271d30695909ec44a6bd929a9ab7da6a1b161be9696b3fc9014195dac5bf402fd1c753d22f84503e5514657bca863cc7cfea0bf0a566b1790a0fd0ec3 SHA512 5bec6cc4611461071be98e4184aa632666b63e54329ec4b26e8d38e17744d8c6b2cf83003914f08fc10c86b02e53b8d61f112fe4dec7227405da0a20140a15f4
-EBUILD gentoo-kernel-5.4.80.ebuild 2719 BLAKE2B 3a8fca6271d30695909ec44a6bd929a9ab7da6a1b161be9696b3fc9014195dac5bf402fd1c753d22f84503e5514657bca863cc7cfea0bf0a566b1790a0fd0ec3 SHA512 5bec6cc4611461071be98e4184aa632666b63e54329ec4b26e8d38e17744d8c6b2cf83003914f08fc10c86b02e53b8d61f112fe4dec7227405da0a20140a15f4
+EBUILD gentoo-kernel-5.4.80-r1.ebuild 2719 BLAKE2B 7bddd3ad74b8b2169923146f98b00913bd67017dba785bf561c3613448da3c5a30b3adb1dcd72625614ae4f46f7726bc9b7cd6c1f2457a3fa41acc829b32dc7a SHA512 1a58d81ed2717febcf73efe4e656d90c55b609e6ea3da89affb58dcadfac6246845c7c65cb0408c0272620c217225c4e3ebfacc2c67bfe631480ffd56be7dadb
+EBUILD gentoo-kernel-5.4.80.ebuild 2718 BLAKE2B c4427b3c3136587b38ca707ca922d55f571d55cdce6e4431b079b0472b0ec813c1e7395780e3ca5f393c47074509fb64a3d73480fea3f3e33181141fbb4d4c14 SHA512 6d26a76638de8b136f23066bef185ba5a97fe9d8b7f72f38bb82e1d05f3a42e4c1d7b44f9372632d3834e1ef1ca045bb8176bcd40c2f41c30cc45253061eb5ca
EBUILD gentoo-kernel-5.9.10.ebuild 2536 BLAKE2B c2bf44e94abbdf5cfcebe040e37881ed321396dbd00df8ca784d72a5514430f16e17db5872f2173b9f34bc527cdcfb984ebcd15dfc588df7bbfa4785bc169c3a SHA512 6503d3b862ebce4036b34d80a42d4ee7c4956677bc60a5aa5f4f6c761edcad670baa2f46851c12a8856eec737f2d5fa92baeaa546d8a57edb6b1ff7107447e1b
EBUILD gentoo-kernel-5.9.11.ebuild 2536 BLAKE2B c2bf44e94abbdf5cfcebe040e37881ed321396dbd00df8ca784d72a5514430f16e17db5872f2173b9f34bc527cdcfb984ebcd15dfc588df7bbfa4785bc169c3a SHA512 6503d3b862ebce4036b34d80a42d4ee7c4956677bc60a5aa5f4f6c761edcad670baa2f46851c12a8856eec737f2d5fa92baeaa546d8a57edb6b1ff7107447e1b
EBUILD gentoo-kernel-5.9.8-r1.ebuild 2536 BLAKE2B c2bf44e94abbdf5cfcebe040e37881ed321396dbd00df8ca784d72a5514430f16e17db5872f2173b9f34bc527cdcfb984ebcd15dfc588df7bbfa4785bc169c3a SHA512 6503d3b862ebce4036b34d80a42d4ee7c4956677bc60a5aa5f4f6c761edcad670baa2f46851c12a8856eec737f2d5fa92baeaa546d8a57edb6b1ff7107447e1b
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.80-r1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.80-r1.ebuild
new file mode 100644
index 000000000000..0c806189a34d
--- /dev/null
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.80-r1.ebuild
@@ -0,0 +1,94 @@
+# 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##*.} + 2 ))
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+CONFIG_VER=5.4.21
+CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
+GENTOO_CONFIG_VER=5.4.77-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.config
+ -> kernel-x86_64.config.${CONFIG_VER}
+ )
+ arm64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config
+ -> kernel-aarch64.config.${CONFIG_VER}
+ )
+ ppc64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config
+ -> kernel-ppc64le.config.${CONFIG_VER}
+ )
+ x86? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
+ -> kernel-i686.config.${CONFIG_VER}
+ )"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+ !sys-kernel/vanilla-kernel:${SLOT}
+ !sys-kernel/vanilla-kernel-bin:${SLOT}"
+BDEPEND="
+ debug? ( dev-util/dwarves )"
+
+pkg_pretend() {
+ ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch"
+ ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
+
+ kernel-install_pkg_pretend
+}
+
+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.config.${CONFIG_VER}" .config || die
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le.config.${CONFIG_VER}" .config || die
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686.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
+ )
+ [[ ${ARCH} == x86 ]] && merge_configs+=(
+ "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config
+ )
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.80.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.80.ebuild
index b32b759734b2..89ed2cf03886 100644
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.80.ebuild
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.80.ebuild
@@ -38,7 +38,7 @@ SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.x
S=${WORKDIR}/${MY_P}
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 arm64 ~ppc64 ~x86"
IUSE="debug"
RDEPEND="