summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-16 21:38:35 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-16 21:52:44 +0100
commit8f24d290848064ecb0fc12e0d3ab6df5b704fa82 (patch)
tree33341ca61cc6123957063196c3fee143571befbb
parentsys-kernel/gentoo-kernel-bin: Bump to 5.15.9 (diff)
downloadgentoo-8f24d290848064ecb0fc12e0d3ab6df5b704fa82.tar.gz
gentoo-8f24d290848064ecb0fc12e0d3ab6df5b704fa82.tar.bz2
gentoo-8f24d290848064ecb0fc12e0d3ab6df5b704fa82.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.10.86
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest6
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.86.ebuild125
2 files changed, 131 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index f5705eaf65bf..ca7b57e28c65 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -12,6 +12,8 @@ DIST genpatches-5.10-91.base.tar.xz 2708936 BLAKE2B 65251dd2fe437bf95f82ff3c3b82
DIST genpatches-5.10-91.extras.tar.xz 3844 BLAKE2B caf397547329c9656aea77d1c68bcf73819b2f5bcd5530f728ad315eac86fceaeda88aa1d3fcfad928e7c97f2a7b148c85500574a0a52130c3289a47de140a0b SHA512 ca5fa3a15abf90931b0c6e7eefb3d1253e934d2d71162e057fa99ddfc19524335e34fdbbc83a261ea97debd5051c823aeefc02d6a308eace1b44e9c0c736447f
DIST genpatches-5.10-92.base.tar.xz 2744152 BLAKE2B 17fb94359b2c2c137093fb7d54a6e85b3a986837f6509a40815582e5e1cfae504b3340281199020388eef0be5406b9b7cdadd6395fc418c968dbbc22093965dc SHA512 53fe7c3b446a4fac5d1d10fe17e124414506c1f5fe53d810085c3f754a44cafbb54f3da7f3fd2000470edf4a834b4433d96c6ef63785b8019533624b46a8f351
DIST genpatches-5.10-92.extras.tar.xz 3844 BLAKE2B 0adbc9d201b5ef2f9ccca1e05bd2b4d086ceae9545526bf92a5e9704d63827b3df1f0f784155a517c989cb9fc87fa3203cf45cb5cf8212b8b30dc03a318579fb SHA512 1ac5acb0734ce0ed89c0358ba13f14abc54e63ebb20ad7a32b2ab5e7491f26a0f9efccdb9322ae35c8b4dd29e64b9a27892fe04a92938e9b439ea13028a61f79
+DIST genpatches-5.10-93.base.tar.xz 2744560 BLAKE2B 485d90002a0dbd811eae853d5fd080683a915ee064e539432edf8c763ede0af8aab994381b3d62b13039fb7d5fbbf8840c9d964dab7577066303ac1d5e6ea165 SHA512 2eff7fc0db785913a3c43cb960a136d8209a727608c91157580e3c30a26a85f72f1befa07630ce9e2a8dbb73257e0e685f560f3deb2bfd831555b92ce1e4b910
+DIST genpatches-5.10-93.extras.tar.xz 3844 BLAKE2B 679a8530673988a4c3307aa322164bc2194299e9eeb5823571234d075839ec66ef8592ebdd324c0ef999e9297eafb897b04326ea207db76277837b1a3deb303d SHA512 46a3079a340dae831183878fda86f19fd687c6861a06f1eca900ebddb6efba98d773b6869d2ab0729d449e9506f8636ada5a063aef6267bf0324a7da74eb70b7
DIST genpatches-5.13-21.base.tar.xz 951176 BLAKE2B ba681ca3732dd42d0242c2b4e95f90f92bf4737eee326a33297c03d9cefd5da3182262626caf4635a3c66329df5fd0f28d55a963b5fbba110f025e7874f00726 SHA512 55f21fa1711464d686dcac9886ed0420cf48d2ab4e1b98ec1d8ac52c8828d4d8c2d71c4e57df989d23df670d46a00ec2c7dcdd4dfb7f411e904e379f9fb702f1
DIST genpatches-5.13-21.extras.tar.xz 3852 BLAKE2B 5f1b6adf7944a5f8b8394ad651e08647284c685838309f4ae9c58e2fb6ad127ac48e8ba10b65f058793731ae39ea683c290e30425aeb306ee8e6baf7bc7f812a SHA512 397e625d456feb5aa3ee75c18348401c976556a38c401afdf7e242e036fb432c3fafaa6bc8b44d046ccd64be418407927fcd366d172386765832be4877a6d3b3
DIST genpatches-5.14-22.base.tar.xz 864000 BLAKE2B 0a2ef4aa3504d23bc2ad1047d76d705ef4fb15e15ccfc59f343bb1f817ba98940d9bcf7151cac74cb02db4e946344e43679ecfd848aca65951764ede5288ad59 SHA512 b597484d880cdcb1e8e7450c48cb5ca6a5902109182ac01725be00c264450e7e0d24e54940d3d55084383725398ee05159dc71ce7c152850a57aabbe5c26b1c7
@@ -68,6 +70,10 @@ DIST gentoo-kernel-5.10.85-1.amd64.xpak 65547854 BLAKE2B 4561be684b767885546ad63
DIST gentoo-kernel-5.10.85-1.arm64.xpak 60926138 BLAKE2B a393398e4c8a27f9c62cf94d0c21fe2f61d08edb5f3a0f3514ea1be43a338785344f103fdb429feb5d2ff5772bdcd8ea88620fd762d51e2429d7995e2d6953ea SHA512 89f969392875df4f83cbb5e09061c5360d4dbe718f38d6571b71e8fc970b29ba95ae11c808e9666a632b3d3dbc3f1a3d0030b67ad60ff0661a53b81e0aa2403b
DIST gentoo-kernel-5.10.85-1.ppc64le.xpak 55898761 BLAKE2B 155df695b2894a34f9f4f571480677847b6b8214a809910fe989d5831035b2615cef60d5d3aae6d05d162a1023edb03c4182ff1a2492c8f7a2758d1c2f07e7c5 SHA512 0dbc52a568718be2245e0895730a01d21dc6f9e693df559e9c4cf21eb5a13279d5b1fa519d0580b7a113af94a1845965710f09dd5e61ab1b9ccd12afc52819af
DIST gentoo-kernel-5.10.85-1.x86.xpak 57303953 BLAKE2B 9f0a600d16e1e0fc9b89b0c6cae6e9251a0e5825d38cd52799d4a91552365e7266703d96a66909bccedb84df7e83361d62ea344968c2199ec8eb8dc26fe86297 SHA512 e751915d13ff56699bf086fa45ae4b4ddcf3217224fb99583949064ba3821eed4cce2f133aa973297c91036feb00fd46b8c80c8d2bb76e264922c01e1a7bcfe9
+DIST gentoo-kernel-5.10.86-1.amd64.xpak 65528530 BLAKE2B ca8def67987d0a808110be50b151022b8c15039dc21704dd6a1853095b5e63340cc36aaeaa0273a09ecd9df603e09ca9f6464fbff8510825a9c3258e174ba1a1 SHA512 d3434d22cc916100dbb5d82e39d6f8c105dacec65a7be655c829ac603d3736527535a9f47e06bf647b1c7bde2774d3d0d6bdd54ffe3db84715c31810946e995e
+DIST gentoo-kernel-5.10.86-1.arm64.xpak 60933980 BLAKE2B 78fc06b38782c0ca4aa6f18f5d38a443767cb46e3cbb91684f4eef1eb5f3bb6c95489b657f749342755642e405c6bdd790d7de299d54f3ba8e67af670146a06d SHA512 dcfd0d3a27887d838f655868f5fc6fde2f9673957756a8d1f2e22a6e156dae37768cdf275b77b943b1ea17e872a3991dccbb49d01deb28dc0bb8df5ebe8e0ca0
+DIST gentoo-kernel-5.10.86-1.ppc64le.xpak 55779341 BLAKE2B c4fd534663b705159c97b21fb077d0c912db61637cb9b538e0b47b7b7626ede881aed899a6f21e8d583a56e6a8f70177972899a369481fbf8225cf475a0a8e49 SHA512 36c5a8da7d879470f906d3459597805e9a6be9ee6e5012d27986843ae0f006ae49fa9cf4a141ab7ac292d7de3fc80a203624397ce08517ae67a99f8e16a6c1e8
+DIST gentoo-kernel-5.10.86-1.x86.xpak 57260631 BLAKE2B df338a62985ce78c9d08e849135a6cb03171d60ec156ccbd041be4c4dbcc185ebae1cff39229c8118feea8f0ae73794bb5fbba4a31e5b01ae6d907384602d950 SHA512 42d4c5a20eb293057a1eb25de55d5be4a6281cad48f670f86ff301486015768ac36b5768d43cd4aa61b06f88d7f56566caf5c6f1f42d62f7fe7069d7801443de
DIST gentoo-kernel-5.13.19-1.amd64.xpak 67338326 BLAKE2B d9e718a94bf9a341f5b57063cbde2f3f1f0ea6d03f1805051c084b792388789494a49786d643f1570871ca2b6366a206497aed83f9ed00837c542ac970a71fc6 SHA512 aea74f6f39861752f7a5dae16d955d541f65d3e7b8a0e5fba593011d9ca8583f3dd0964e76aa21daa6583d5d26e3616885aeca8a04dbba222e0aae2a85062b40
DIST gentoo-kernel-5.13.19-1.arm64.xpak 62747957 BLAKE2B 1981ddb4e35d2210e1c678856ac58e088cd100ecbd70d2b5c88ffe8eb25b56f3f0c90e45d12adb74c7a0fb881dfd36b1d46d6fdfb837dbdff1881ded066b906d SHA512 d8c1e524a3e58def5352b3faae07c42074a2d67015cc62b9601e20bb9b7f29d44d2843e7771e0399e9150be1de2be2b28776f96f7fe75ba7ec4e8f2c31e1f715
DIST gentoo-kernel-5.13.19-1.x86.xpak 58517020 BLAKE2B 1dcd347af7693696f93f7a28326aff4c7936c4b71238500b6dd2a4b7cd2b88891436c7c8b7c6a56f638182b722ba5e75f52a1befc74eef4bfe9e6f6fd7d8ef8e SHA512 7bf1cf45d06cf4c6331d8d0c0378d253f6760dbd2f564cac6f7e53d30748ea01ea2d96a6c409a0d653ed74366d319e28ae1e2924b07f4ce7899c5bae121a3630
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.86.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.86.ebuild
new file mode 100644
index 000000000000..b9e45376fb18
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.86.ebuild
@@ -0,0 +1,125 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit kernel-install toolchain-funcs
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 ))
+BINPKG=${P/-bin/}-1
+
+DESCRIPTION="Pre-built Linux kernel with genpatches"
+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}.xpak
+ -> ${BINPKG}.amd64.xpak
+ )
+ arm64? (
+ https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak
+ -> ${BINPKG}.arm64.xpak
+ )
+ ppc64? (
+ https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak
+ -> ${BINPKG}.ppc64le.xpak
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak
+ -> ${BINPKG}.x86.xpak
+ )"
+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
+ virtual/yacc"
+
+QA_PREBUILT='*'
+
+KV_LOCALVERSION='-gentoo-dist'
+KPV=${PV}${KV_LOCALVERSION}
+
+src_unpack() {
+ default
+ ebegin "Unpacking ${BINPKG}.${ARCH}.xpak"
+ tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH}.xpak")
+ eend ${?} || die "Unpacking ${BINPKG} failed"
+}
+
+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 "usr/src/linux-${KPV}/.config" modprep/ || die
+ emake -C "${MY_P}" "${makeargs[@]}" modules_prepare
+}
+
+src_test() {
+ kernel-install_test "${KPV}" \
+ "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \
+ "lib/modules/${KPV}"
+}
+
+src_install() {
+ mv lib usr "${ED}"/ || die
+
+ # 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
+}