diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-10-27 19:00:02 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-10-27 19:01:48 +0200 |
commit | 1e4bcd45ecb1fbb0955bdfe2ad143071799f300c (patch) | |
tree | f67826cf8f1089781a83cc1143d56b1b01a7541b /sys-kernel/gentoo-kernel-bin | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.14.15 (diff) | |
download | gentoo-1e4bcd45ecb1fbb0955bdfe2ad143071799f300c.tar.gz gentoo-1e4bcd45ecb1fbb0955bdfe2ad143071799f300c.tar.bz2 gentoo-1e4bcd45ecb1fbb0955bdfe2ad143071799f300c.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.76
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/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.76.ebuild | 117 |
2 files changed, 121 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index df4ebf27ecda..e19c63ca42c2 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -2,6 +2,8 @@ DIST genpatches-5.10-74.base.tar.xz 2293400 BLAKE2B 2650a20ec34fb977583e069168b3 DIST genpatches-5.10-74.extras.tar.xz 3852 BLAKE2B a8410d8b87601e2f3531d42ba797e68d85e325763309657f7e701e8cf0ef9f1f25554efe9b02423ae6019b97167693f05c3a532178871b195e2a19efb3bb37a8 SHA512 5891aaaa160f0d1eabf6ff12b356492fa5fced698271ffd8c60416738a16e382467ec61d964a8f7a755a6ac6fae6670072429d8cc6833e01847889fe3fb3cc97 DIST genpatches-5.10-81.base.tar.xz 2412768 BLAKE2B fe3b30c2ebbf250eb62c5add14310326a72f01705c010b202768f37a29e6acff39bec319d0629450c0efd3dc69e414a0b6e541d95283f619e5efb425655d8329 SHA512 544e4af48bc55de74ea145a3d01392ce8742faa88580946c16530575512d8f0b7a6e152755c7bd96548080dfc5758a5a33d6b826e97f75a783e50f361f1852d5 DIST genpatches-5.10-81.extras.tar.xz 3844 BLAKE2B 9774afc1d893bfa0439cebb0d006cf1c0682571668e09adbf97df38c159f016176b8db538562e896a3ef0380e7ab830503d952d8448b2bd02adb22e84cfa0bea SHA512 c450131db06e63521ec0455a76bd4005f62527e92c0971b63e7076f4fdbae41aa6f4648dd5888bcebaffd41c3c5aff99d99efc0531988fdb54cc9bd3af1bcf96 +DIST genpatches-5.10-82.base.tar.xz 2436944 BLAKE2B 1ec08fa67b8d075aad46baee204f9965cba2a219c3c237f7310be5c23ec036f2a386488199ed09eb348a4f0575cd48fd3e14b90316e12a00228589f7e339fc20 SHA512 8b06790d5ab0dff514c0c03c9789537ee9ff75deff4a89e725df78a023bc29501c6c4d8bb9acfc4179bc530b021fdeddea62499d9c43cce842a49bc3b445f863 +DIST genpatches-5.10-82.extras.tar.xz 3840 BLAKE2B 013a2c13750a9d235477f5af6f42fb80703590db72ff254d1fec54957dc7a8eea7e1b2ab430c7a375699edb95c1776dd454b42add5d2ed78a65ea90aad58c831 SHA512 6d4eab6d4dfbfaabb1a117b2844b1fc110b4c7ea3178acb114c3ab862765f46d2fff32cacc3cffc50429f926cadfd479abf56332cd3630f734852e66139f5411 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-15.base.tar.xz 544344 BLAKE2B 5315b7c850517e559fda958cb73d9bccd97945fd23833f901f81f21ec0b6a114ecbcdc6188b7283f3daf2c2dbb77b470fe4dbd15e6197dbecf1c026aba0f09b5 SHA512 963eb0f6ee49360b041e748bf096ccb4e92a075de029fa65884553f3372c34181f3cd1b1d10c55893df0efda0d4e265cc410ee2d5bfbb6a4dac0be98dc86a638 @@ -18,6 +20,8 @@ DIST gentoo-kernel-5.10.68-1.x86.xpak 57237230 BLAKE2B be3156a79fc45bac92220f715 DIST gentoo-kernel-5.10.75-1.amd64.xpak 65510827 BLAKE2B dbca97ddb2197b77dedc46b5da6e4239640268468bb491ed5a001a9e8f7b2354cea75533b5202dfd05356796a30703c23be6975108d850efd228871054f8fc78 SHA512 39673aba230f8882444adc4ba8d77697f02e08915808ebeb0c71907b7a5a8bd750357dc266d5b89165c0bcc47126f7ea7be15481709bb4bc918b9dc15c94187d DIST gentoo-kernel-5.10.75-1.arm64.xpak 60915641 BLAKE2B aca91e1da789c4128371172d7500f085c798ccc8c99bc66150d441fd4cf45822aec3a0c577695aed9979cc5f0b214b19b3787a6173f40ba8d792184a7c1cc086 SHA512 1be83f8088718660b0d4298092f8e7f725225e3247425f8da595ec772d9c80d57876379ca4e46b2a885bf2ff0280ade597b0a3562198aac7034d52c66699435b DIST gentoo-kernel-5.10.75-1.x86.xpak 57249997 BLAKE2B 0ef78af722f9c89b01c7d3cd1ffd8dfd10f2358bb62600e3210bbb18f71807f82bf442a3f402d5140fbb20cb1737291470551cc690916ec2b61e9a0d20f8df38 SHA512 08894507e35934970bdd6ab30725db71208abdf00e438ea011c1ecc4f57d5f2b7bf0a3375e0721b241af1e50f4086f4b1a503e5f38b4c1790e9251913ee0347d +DIST gentoo-kernel-5.10.76-1.amd64.xpak 65516987 BLAKE2B 6219fef65f498cb77bed01c576d06a2088baafabe443b20f641422f3ad4d3e05a2ab51fb346f4e10d4462f677aa4b59306ff55976ec28141d317bd4254a03e4f SHA512 ee799bec44cc07a439f26ce9dda9676a67b05eaf20c16a4df11c9e1c752dc95a9f903ce9659217c3a23a7c4e45cc747f57b5c0a7a0c764ff4c9aed5a7021bf52 +DIST gentoo-kernel-5.10.76-1.x86.xpak 57245227 BLAKE2B b770d80e40e87c8a74f1724a030f9b06ee6810e240da5675f6a83f38fc23d21d9ab736920fe2277cc5b41a17ca0f17d3b58351fc94c84b69d63da225eb69e993 SHA512 0eb636f8a4a9e9c6be8f94cfa74e7a62a43e4492034ad203dec9df8330e065dd9ca05a6ac2e3c11b6b057749ad631a3dc32b3da296a74ee13e25251494a44cbe 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.76.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.76.ebuild new file mode 100644 index 000000000000..b23f3e054425 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.76.ebuild @@ -0,0 +1,117 @@ +# 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##*.} + 6 )) +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 + ) + 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 ~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 +} |