diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-07 19:24:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-07 19:24:36 +0100 |
commit | 7b5e4e1f63da7fb63fba5f1a9fc41866c8ae5b2f (patch) | |
tree | c9aa002e33c61cd30a2a1615be86cd9961239b0b /sys-kernel/gentoo-kernel | |
parent | 27a61babf89122aeb64d52f4ea8f6f068b928da4 (diff) |
gentoo auto-resync : 07:10:2022 - 19:24:35
Diffstat (limited to 'sys-kernel/gentoo-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.4.217.ebuild | 100 |
2 files changed, 103 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 286f0630a3de..049ac20cc7ce 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -38,6 +38,8 @@ DIST genpatches-5.4-220.base.tar.xz 5083772 BLAKE2B 643bbad38a1dc2d6140db59f2e74 DIST genpatches-5.4-220.extras.tar.xz 1812 BLAKE2B 59356642113a6ea0d2756a317a1a02fe375ca4bd1efd70ae0ca5093eea05bb00af062f945db1719be3eba11b358e80fe7764aa8e62df1d3259d6ac1ea2b95152 SHA512 b9ba7d70b577367316f0c9721e0783798f5c2c023eb3ccb9f95907963c79963b72a65338674bed7ddba3fc75cf10e330a4ae6a90f0ea788aa15f3ec1a042850f DIST genpatches-5.4-221.base.tar.xz 5091000 BLAKE2B ec89ca0a2c657c41784df399249da24f09a3aa08592815e17750365e09e49a7980163f27e2364f49edf35be7ccb80ec123d99693e1207f9d1561ae54687a1daa SHA512 0abb4f2fdb5e9211b83d5658fb55b62b3fd9dd93adc2c38e158c3edb6018f5daa0fe7fff3ef60b971d3307c4f1954d50c03172cfeff90643caab051863a58b74 DIST genpatches-5.4-221.extras.tar.xz 1812 BLAKE2B cf6270b24135f9b56a82547584a500d360cf0574030028f25af975951e5e3c991700977029d2a83190465e797eb27763885f3a0101483e3ac504927346cbf040 SHA512 b5925915b82583eb384a716d486dc5bf1562a08c7ddea932a583d69714a9c359d868993b564c0a98a0ed472c761449fba2e54cf7c4e84f250e55bdb07da4c1a4 +DIST genpatches-5.4-222.base.tar.xz 5109388 BLAKE2B 7897cb44b41e0b360d17b9a7cf3295682fc6c2c6173cea8b08814b6ded54d7c6aec24b51f01912769f35774176d5a89b2fe401bbb09e92890e28e491027f9426 SHA512 e4a4dd2a5f045c0ba56168deb4e557788a42f0db3420790b5103b074d297fdbb417251d6c1eafb0e30eca1b143b2391ab091f6fc5973c4a592a832c4eb338149 +DIST genpatches-5.4-222.extras.tar.xz 1812 BLAKE2B 4c5cff34d2bd8efafaaaedfe875efbda02af2903eaef2d536cd34ae953332da58944d39aa18f7d241479e93c202f9260d3a285ffafde05674709ce9c3d2f91e0 SHA512 338a0654961366814e2c6615b963fa9cbe83e71e01ca92744497997b41edb71d5a1c849be16e18d45b69d71a86f9b4cb53cbcc6af3d70b52ba29982e047a7d28 DIST gentoo-kernel-config-g1.tar.gz 4283 BLAKE2B 44dd51ec45ebc71bffcd6d85a2fefba053f7bce8035057f0bbe928e24816ad4ba03c9bf67dcfcd6d6d1833c0a2ea93e0fd486c2093664dc41ccce316e1e60588 SHA512 3a45f28df9d457df0fe0d185da8b10f4e35f49dad75075e041e8cf3cf6972fecc8145cd557b0bf3a8dea20ddffae0194f88e61c1e5098fa0a5ca301d40aeea2e DIST gentoo-kernel-config-g2.tar.gz 4359 BLAKE2B 965392fb5b3c1290c596d3e8593cfcf54e76cedd47de335c1b9658c1b35649af18a94639bf3df84507c797e6d7ea074f7f2a2579d2d01073478b30a4f167b2aa SHA512 d1bdef2e817799fcebbcdae1f3b1666f8ca70b0d5adca74014dd665f6b02c81b839220d8fe3794ea1202e1f2589d281344699864207c98b95d23a1d1f03bd42d DIST gentoo-kernel-config-g3.tar.gz 4411 BLAKE2B 00edc4b5dc943834bc7ee977382b2960160888db00a25c5a7f73968784aa39a2b3b69f0bbda89b3ce8eb55e746006cff2839481493ac8bfca6a21de2299564f7 SHA512 44beae869bebf5445655dafe1facc47c3dbe602b34c5bf2fa984a581bfe3250fa0df908b8807c333c2e66ab9d1a2bb8026e22140f2a1f522d0dd647c96ca4d5e @@ -85,4 +87,5 @@ EBUILD gentoo-kernel-5.4.213.ebuild 2799 BLAKE2B 925a58a4afcb3c66f5179e8e5c23912 EBUILD gentoo-kernel-5.4.214.ebuild 2799 BLAKE2B 925a58a4afcb3c66f5179e8e5c23912332e7a1025ecd9d77b7d53cb89b25482c3dbf136b0340ecbbc4bd1430599302e5537d7a9e9e0314b5bbec1f9b98e76166 SHA512 4d67a306017b4741452ebbe3d0be3f29cffb0debc69bc2a605c6298d730c19a908ce8aca41a30888d9015f1330b9b6a4f5ba518714df41daf17900e8f29ddd44 EBUILD gentoo-kernel-5.4.215.ebuild 2803 BLAKE2B b7562ff0061430bc6bc4978000cf3910f77d677262c29b1049d7cc9945f97319fcdc590a718ada8b6d51e7f84e2ba4956b37e770b4a6f933845889f32fe70d8e SHA512 3c00eea38ddeb1a18b6e1a57e0b6043835817e64635fec81928590f7833102265ba4db2c5783e218a284cbfdc7061a9e43da2ebc7fb34e3c5c0378a18ce41d81 EBUILD gentoo-kernel-5.4.216.ebuild 2803 BLAKE2B b7562ff0061430bc6bc4978000cf3910f77d677262c29b1049d7cc9945f97319fcdc590a718ada8b6d51e7f84e2ba4956b37e770b4a6f933845889f32fe70d8e SHA512 3c00eea38ddeb1a18b6e1a57e0b6043835817e64635fec81928590f7833102265ba4db2c5783e218a284cbfdc7061a9e43da2ebc7fb34e3c5c0378a18ce41d81 +EBUILD gentoo-kernel-5.4.217.ebuild 2803 BLAKE2B b7562ff0061430bc6bc4978000cf3910f77d677262c29b1049d7cc9945f97319fcdc590a718ada8b6d51e7f84e2ba4956b37e770b4a6f933845889f32fe70d8e SHA512 3c00eea38ddeb1a18b6e1a57e0b6043835817e64635fec81928590f7833102265ba4db2c5783e218a284cbfdc7061a9e43da2ebc7fb34e3c5c0378a18ce41d81 MISC metadata.xml 465 BLAKE2B ea1260a1638588a48d9dd776e9eabd9730a181af8416ba778c936fa2e80a2360be146d3cc80599e50e0a72ac709eb9538184aac87cb96528e445ed450e34f4af SHA512 c7b7b1a45fb7082b8d8d66cf5a387cc4f7207cd9488d1d5e1d6900f1e4147aa9290b5522a94d941a885f1599b5df2482b529e40912d2b2cff400ecd4b1704c41 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.217.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.217.ebuild new file mode 100644 index 000000000000..5fa543cace37 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.217.ebuild @@ -0,0 +1,100 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 5 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.4.21 +CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea +GENTOO_CONFIG_VER=g1 + +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/projg2/gentoo-kernel-config/archive/${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 ~ppc ~ppc64 ~x86" +IUSE="debug" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +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.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .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 + + 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 + ) + [[ ${ARCH} == x86 ]] && merge_configs+=( + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config + ) + + kernel-build_merge_configs "${merge_configs[@]}" +} |