summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-12-31 21:22:11 +0100
committerMichał Górny <mgorny@gentoo.org>2022-12-31 21:22:56 +0100
commitf496980afbfc3f6a6d150c84ede1addcc0fe3524 (patch)
tree49d34ba3cc60025f5cfa14c03e7971e3a1976701 /sys-kernel/gentoo-kernel-bin
parentsys-kernel/gentoo-kernel-bin: Bump to 6.0.16 (diff)
downloadgentoo-f496980afbfc3f6a6d150c84ede1addcc0fe3524.tar.gz
gentoo-f496980afbfc3f6a6d150c84ede1addcc0fe3524.tar.bz2
gentoo-f496980afbfc3f6a6d150c84ede1addcc0fe3524.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.15.86
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest6
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.86.ebuild127
2 files changed, 133 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index a185062fb87a..da35e8a2651a 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -2,6 +2,8 @@ DIST genpatches-5.10-170.base.tar.xz 4506932 BLAKE2B 9503a369d1d653fc08e0c244389
DIST genpatches-5.10-170.extras.tar.xz 3868 BLAKE2B fcba4ddac271a957a8f2645fc833338bd2da71ded4cb935bf1f2df267f50fdf1bab0e2bb0967a3cae975bc7cfaeae932261ae0aab4bcad40b32546ff69850c41 SHA512 bb272928563d33ddf9a90db610ed013f625121f8a05cf497c14dfb74052300cae361474e71203be35949ace7aa9bdc23e98f2dedfe3eef885a59674a90166c6e
DIST genpatches-5.15-89.base.tar.xz 3552056 BLAKE2B 2131869a216e9e99fe893e502e9dff10ef486fcbd0a130db2621ecbc61194d4f224745d146213edf35083752de89624346eb7fcd7c2fb53f414d3ddc200b5b51 SHA512 ac840d8ea832f5a388ace30cc435501112992a16834dfd01bef764683b415405b1f9fa644062c8ca3ecb18739e55133f2282281436847d9ceae8fd6104dc583e
DIST genpatches-5.15-89.extras.tar.xz 3932 BLAKE2B 25a5b47eed2412b6d660572c266fd8d22be0c3e570dab6d45a7e6a0015227a1b4cd468582bebe3ebc7f47600d3ad30a5853dc2398e39ae02352a1b5df1faea36 SHA512 b4ce39a33610e5ff1c3309f787dddca702e55d81b19dbfb9300386a246e758ca9192eb98189ed01ba138d38947fa35e27dc6d3b459da059807bee93289845879
+DIST genpatches-5.15-90.base.tar.xz 3757428 BLAKE2B 30e129e5362a5fd690d8273a36e102510e113415e3241f838b366c2e35dbf1b95fa30d6e34e6e36c5d938855aefcc66a039f1242ea8a69263fdbaf84c46434c4 SHA512 bca6d1252657ad611a71ed2ea128887b131f9dad83f4c0007573b2637fd79b117023d0ade5b833070a8c86ab4f698d0b3250e01b612a0b65515a164fdc9d1212
+DIST genpatches-5.15-90.extras.tar.xz 3932 BLAKE2B e84edd591a94f2d21593f86aa7ed2a27980e099b388f49e899655dd687d459be87491c6441b73a5c024c43bb81f74103ef226d3bc3ae42d089749db0b06ccf45 SHA512 687240f034abd1e91d85e057bae2693129ef6fc4b6119c71df00c306ae2d1cc64ea294a76ce8017b7f2b0ac557c41b9ac70d4fb466ca2899a3c544490421df45
DIST genpatches-5.4-233.base.tar.xz 5294692 BLAKE2B 357046687c6f2797d5d7090dad357e00675eed329ccef44223dd476551cf04e9f711f1020144cfc59796657cb5b1e6d76b607ecb164e27636869a8bc8984f567 SHA512 45f6b35dbca12e8b9e6a9f99d12c44e47a6e471e5091ab75c42346f1d8bc12dc454cbb335f1549b497842c2d9f13a5930c80b5000cb86bd3db7b03347dfebcf4
DIST genpatches-5.4-233.extras.tar.xz 1812 BLAKE2B abedf631da893391a98a98cf48d264f9eaf9f9f7811bf595c36a774c8dde21f105afaf6f4e113e04de472bd6ce0c759bd41fd95aa980b7e05499d8571f3e8a44 SHA512 16b09d0a4465123079360ef9f070e0c163f45f9784714e98fe53f7174e836fe7b2562af01e5c2dc932571bb3eafe2d9afedfd60b5c8467bd8410de651ab82473
DIST genpatches-6.0-15.base.tar.xz 709204 BLAKE2B cba74ce5f9a6d8a00991f87fe33771f615640c8c3adaee94432580f5df51cb2a488794a376c9355d568ab4b3014fe23e4c9fb000bb9ed6948b4225211df862d6 SHA512 64d5d04b8c1b3c3967fd22cfd975b7f9bbf37e7d7d4e966c7017b589837cfa02200a80880f13ac52942fd845c9835143d809817f5517c91992e30e101b15c775
@@ -20,6 +22,10 @@ DIST gentoo-kernel-5.15.85-1.amd64.gpkg.tar 69806080 BLAKE2B c8a30ead36075a73121
DIST gentoo-kernel-5.15.85-1.arm64.gpkg.tar 62873600 BLAKE2B dd718f470550c4243b13dbcb3c2513fbbcbc168554b4fccf483689772a59c6bd92342e80ecaced38e2c5ad139b6cc19fae54c6ecd90f3d58bbef5e7bc2692799 SHA512 6c056798c28245c297703b97859c2219123ea00a8ee816694ddc186f5694444c5854c469b52830e9c2f3d4978b469d83707626e10f9cae4472c29ea8181d4472
DIST gentoo-kernel-5.15.85-1.ppc64le.gpkg.tar 57231360 BLAKE2B dea31232116da911864d2ce1ec8a62e2959658ae339483fa23a3251fb98cee1821ee51a24041b711bfa317f9b4c2443f1c34b4643ac9b8be3788b04fee0bcae5 SHA512 de537a3f7e0059f94b6b7de56776e10fef13658aa464e54e528cbd5dc78eb5fec41b0c428bc5f106d16b87745fcaa4d767cc3b5843c83de26a5eb568f9afe613
DIST gentoo-kernel-5.15.85-1.x86.gpkg.tar 59146240 BLAKE2B c56de581cecc5c639f674b09f005b504e886ab9b2cbcf8d3d69702f1db4939901a259c5cdfcaf60314093e261177b6128822351c2f4973e9b16968378b6a74d1 SHA512 eb01dbef71c2c392148b1c344a735382f077d3c69f69a13b18aa9cfcb74738c973b782083853b1a038bb6bd85364efb563d353523e72f26109a6644d75f25850
+DIST gentoo-kernel-5.15.86-1.amd64.gpkg.tar 69836800 BLAKE2B 96a6e194e19491060879eea487db56fcf75f9d4dcc5e5324f56c8404d91097c94677344384176ae9025921eac14cbdb6c9eaae102395ff6812ff4227256efe49 SHA512 92c671ec2176be4b22f11a2e56aa920c58d01618a20300e0fcf8202d02c9ce97b816e31d9d09ef4a8a6d58ca9c1e5e805810373787c60b66e58e99d2b399c096
+DIST gentoo-kernel-5.15.86-1.arm64.gpkg.tar 62883840 BLAKE2B f764ef5f86089649f806ba8dc4589c50fcb3bc4b2911dccf7d342dab7398d0764d9f815ecc4198a8b60d031316bda869c74d3255b560a37524c48d7f5495a78b SHA512 51edaffb4b215d1da3822a0d41b5ac6c44474bfc4ab81c7f839c66e681a971779061b7875d10b6a9caf6e0cdbc4f57d69ec59c3bca3ad34860639b4c2671eedf
+DIST gentoo-kernel-5.15.86-1.ppc64le.gpkg.tar 57241600 BLAKE2B b385d1d76bd7fee50580807fa5441ed48a556623c5c0c1fb85b67433599b8015ad789049476895c29cf0f2817e2515cbf0520b2854278d695d246f5680720c65 SHA512 9c72cd372dd1fd81474cb39f6b0314f6c9da0011ad411613627cd6707d11e926e3912d328dea243f3c99f7a562e2455b9c0471d318882ab721311fe10afdea1a
+DIST gentoo-kernel-5.15.86-1.x86.gpkg.tar 59166720 BLAKE2B 30d671640a9d4c090d2e1852993c42b6759bb8350ef7a38d92d6f4463fecbc5750c818e4a11693d268e51d7589b9815a6afb99ec40978401ec5be998a65d287a SHA512 b74e26446ea61c9fbae107f367e21bd8fef7f4f101da946c3651fab26974607560262cb0f678f04b746be88bc959573ca4dad556188dcbfa2cf7fa66875e63b4
DIST gentoo-kernel-5.4.228-1.amd64.gpkg.tar 60620800 BLAKE2B 99531b57d6e1135e239c1b392c475dadd2e5cca94e05921a529c0b7ed8246c23087f9fa2d7a3b21d316b3dc5dfeb6f49aff492b1b7d112cfd1478dab8467d21a SHA512 50803fb2b45891c6ce342e16d7b3968587f5dadbe26f3937eadee59678ebf23db1e1add37f3bd1d7dfab27d270a0f403b09b279790091a24fa81ce99a490112b
DIST gentoo-kernel-5.4.228-1.arm64.gpkg.tar 56821760 BLAKE2B 554bb0c19cc971551647a7d7189264808e2cb8145fa091ae16758ab7593d6c3707e23cc88501c1ec5e86170c1d91d94a080eed7dbdec2210640af8ff4b2cc7eb SHA512 e20226c43556b0fd33b267833de5ced1d3b7e8b6b8ffa060c5b61c5a96957b5a0825d569ea6a662dc8d4368b1dd69ab9fa2a42ee57d53e8456be1e927f766fec
DIST gentoo-kernel-5.4.228-1.ppc64le.gpkg.tar 54343680 BLAKE2B f85a074a1b492655d14cd95b1c966b1bdc4dd997288475204810a693361f9dd17ee3d3c519a413dc157a3e5a2f47ad79c4d596a9b7b1144f6c62c4ca4dd8f577 SHA512 1025fd90c6b32f165fa37b2d27db25b1c5295f14fe55865104431bd512e2c22de58824b309382e6b6445401ec43168e4ecec31fcc052df78854333fe58ca9f71
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.86.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.86.ebuild
new file mode 100644
index 000000000000..43ce4df76615
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.86.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-install toolchain-funcs unpacker
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 ))
+BINPKG=${P/-bin}-1
+
+DESCRIPTION="Pre-built Linux kernel 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
+ amd64? (
+ https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.amd64.gpkg.tar
+ )
+ arm64? (
+ https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.arm64.gpkg.tar
+ )
+ ppc64? (
+ https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.ppc64le.gpkg.tar
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.x86.gpkg.tar
+ )
+"
+S=${WORKDIR}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel:${SLOT}
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+BDEPEND="
+ sys-devel/bc
+ sys-devel/flex
+ virtual/libelf
+ app-alternatives/yacc
+"
+
+QA_PREBUILT='*'
+
+KV_LOCALVERSION='-gentoo-dist'
+KPV=${PV}${KV_LOCALVERSION}
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ "${WORKDIR}"/*.patch
+ )
+ cd "${MY_P}" || die
+ default
+}
+
+src_configure() {
+ # force ld.bfd if we can find it easily
+ local LD="$(tc-getLD)"
+ if type -P "${LD}.bfd" &>/dev/null; then
+ LD+=.bfd
+ fi
+
+ tc-export_build_env
+ local makeargs=(
+ V=1
+
+ HOSTCC="$(tc-getBUILD_CC)"
+ HOSTCXX="$(tc-getBUILD_CXX)"
+ HOSTCFLAGS="${BUILD_CFLAGS}"
+ HOSTLDFLAGS="${BUILD_LDFLAGS}"
+
+ CROSS_COMPILE=${CHOST}-
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ LD="${LD}"
+ AR="$(tc-getAR)"
+ NM="$(tc-getNM)"
+ STRIP=":"
+ OBJCOPY="$(tc-getOBJCOPY)"
+ OBJDUMP="$(tc-getOBJDUMP)"
+
+ # we need to pass it to override colliding Gentoo envvar
+ ARCH="$(tc-arch-kernel)"
+
+ O="${WORKDIR}"/modprep
+ )
+
+ mkdir modprep || die
+ cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die
+ emake -C "${MY_P}" "${makeargs[@]}" modules_prepare
+}
+
+src_test() {
+ kernel-install_test "${KPV}" \
+ "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \
+ "${BINPKG}/image/lib/modules/${KPV}"
+}
+
+src_install() {
+ mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die
+
+ # FIXME: requires proper mount-boot
+ if [[ -d ${BINPKG}/image/boot/dtbs ]]; then
+ mv "${BINPKG}"/image/boot "${ED}"/ || die
+ fi
+
+ # strip out-of-source build stuffs from modprep
+ # and then copy built files
+ find modprep -type f '(' \
+ -name Makefile -o \
+ -name '*.[ao]' -o \
+ '(' -name '.*' -a -not -name '.config' ')' \
+ ')' -delete || die
+ rm modprep/source || die
+ cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die
+}