diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-04-07 23:14:07 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-07 23:17:32 +0200 |
commit | ff2c80f7cb05f31b76e5bf75bdafe5c6c1937ca3 (patch) | |
tree | 227b170f7f0bbae933f8e93a4c042cfa76675a9f /sys-kernel/gentoo-kernel-bin | |
parent | dev-python/websocket-client: Fix missing shebang in wsdump.py (diff) | |
download | gentoo-ff2c80f7cb05f31b76e5bf75bdafe5c6c1937ca3.tar.gz gentoo-ff2c80f7cb05f31b76e5bf75bdafe5c6c1937ca3.tar.bz2 gentoo-ff2c80f7cb05f31b76e5bf75bdafe5c6c1937ca3.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.4.110
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.4.110.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 2504aab89d0d..690c168914c1 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -28,6 +28,8 @@ DIST genpatches-5.4-111.base.tar.xz 3256780 BLAKE2B fa7af9b2cf10f383b81a8b9cadb2 DIST genpatches-5.4-111.extras.tar.xz 1772 BLAKE2B d27e2763c7e802ebbcce7e9ac6207a6e73d8d710873d4c4a53d0bb1db973904ccc8a17553d6916eb3211036cb6f2bf30c80864f1339c9e194187dd5cb5ac3a7b SHA512 c38e92e22a5a92af06eef3176ab793ad9e85332dc8e37ac2d32a86b22bd072c47e45d13a7abff9fd6e864c2c063676c5fdbb7e94732f431a5a390b9597da75b2 DIST genpatches-5.4-112.base.tar.xz 3278220 BLAKE2B 11c4a33da1081ce777019604d06740368895e74893cb88f4ba6e3988fe3204f2d5a0ffe2204f77aed427ce8decdd77c5ea7dd374e893cbf7ab346b8fb87a918d SHA512 d2c5378076390358ec60346e832a9454f1b61e67c68da4c6652d7d6cfa29223417fd0b95ea526cead86af5692e4e702a0ee5a169a894d04644f95bbbdd7d727e DIST genpatches-5.4-112.extras.tar.xz 1768 BLAKE2B 7f77e833bc17035063b98d89135455fe6200eda135a92221c0f2eef63c6b41235653a8d11a7c99e542010c2195c1af8f5ae84a7da27d159fef67be5192537722 SHA512 6dda1c917736f8a45b1d79e3d7f30b243f922b274425975f520d1d2a5a0fb95b0ab242e0f24bd3a5e0b09e8eac76b6f71eab94cbe1747e3162ce85d892a6da5c +DIST genpatches-5.4-113.base.tar.xz 3302232 BLAKE2B 106c01266550457aba13bff1ec60b9d0cbab403757f780f7e9b69cd1697b28dd6624fbbb78462891bf8e51b4eef2fb1d9c0ed4cc8909996bc629b9ff5164043e SHA512 5cc835c4150b4a1fa9ac8090143e75274c025c43e4998748f056e5d0fbf048a354f20bb3f66a3628772c1ab2ff9f6da1b4c7547d6bd6543e5a299948a9debdc4 +DIST genpatches-5.4-113.extras.tar.xz 1768 BLAKE2B e2546e7a593e709e3994efb176853f8212a33324c048412b14c037b0f55b6d216bdb8231764066250f1e6b96048ba2f8ca743f51041e71c1d512741e0b58b069 SHA512 21f45e81787d150936dc4a330d28baaf372b7f9e241b93739708667107cb42c525a8b97eba4afebe3638204f67111ce14d90cfa2876e0a67d06840d4606f78cf DIST gentoo-kernel-5.10.24-1.amd64.xpak 64100066 BLAKE2B 0f18bedb448c5c0bd8165846a190278b9a96264b04a09be97fc51968fd74f66f29ea7ff845ac874748c1ac60c4c4a4aa4a72d7a273e84551fe09d870715407b9 SHA512 414a12ae14da6a81dd0dbdf80f05e511d686bdba7f5fffe5c754144f7dd9245368ee3a1673df16e996e80985b7f435613d888c5e5324d967dd622b9db03407fc DIST gentoo-kernel-5.10.24-1.arm64.xpak 59359560 BLAKE2B 2fb468b36a4886a3fd48420c4b6e84cc320bbb83c35d59298f751e272135b9eb81a05f0fa528468ee9d3d36b2047bdb86867d99f97a3db6d6de47aba5ecb64ea SHA512 212bda91b7feae5f307cbbac95e0a9295dbb0f371d25b120f76263dfe49aa7a53be1be48aab0ab25ae675e974f4ff309e3803d86b407dad3e97d3a141ac54dbd DIST gentoo-kernel-5.10.24-1.x86.xpak 57056253 BLAKE2B 5925e7739cda2fd853d919a4681f28849afb9552acfd7cb91387828d6c7286ce9b1b32b93e55339311696e5bf62974a2a117c668221fca3ec062bf574569837f SHA512 395019c3a8d40eea18d92db2507386bd2202a8f13e25bb7a247724820a8f0ee854a05c6e999129556e894443b011928e80fa41612bef6a6c070035ecf11c749f @@ -67,6 +69,8 @@ DIST gentoo-kernel-5.4.108-1.x86.xpak 53014350 BLAKE2B 6924f9905ffa7626b90eed819 DIST gentoo-kernel-5.4.109-1.amd64.xpak 61197533 BLAKE2B d192b84c8e00a992256d44bce33975e29f7ae330a62a5902df14ca08ac5222c3bdbcb1ac27df36db615deecd7af7e264842c2aa358e4cc54e830f3507f5ad034 SHA512 33f192621fa3aa692e7b77897e57e50c7af81cb3ba6a40fd090bdafb5ed7b83dc83438028fc6999723e7f82a22635462746a92ced5439f136c56e0559c85b945 DIST gentoo-kernel-5.4.109-1.arm64.xpak 56430663 BLAKE2B 6079b762ab5cdeb0c745a1a030e4a3af36883588c88dcb8c8cd811aa47d7cbaebc573b152f01fed451dbbfda1ec89ed400270e6fda4e3e1df1aec497b3f7815a SHA512 2d29230577255473618d698363af8c7ef8dd9dd3dcaeaec8fc8802e453838d2c1685e001a6ceb784f6c6ab77fb2b991366e213fec9c45b5763a3a5f57674cef7 DIST gentoo-kernel-5.4.109-1.x86.xpak 53002823 BLAKE2B eb9548ce9e285fa665e2adc01f33198b9f2b2ae1ea21ddbaf10c9a92664ac6bb12da1c7c6c1923e2efe4746879d3ee27b75f560a69d958465fcea03ebb4f3a7d SHA512 f3848ac5f9ba9e04af65e1b1888e7a2b9836dfeb8ca3f5a692146f524f8e8d87d7b6766183879c879004d8505f013553d13885ffcf97724ba6f1df49c724af3f +DIST gentoo-kernel-5.4.110-1.amd64.xpak 61394099 BLAKE2B 5907a7f6ffa336e6044c47b1f22b060307759c11e1e10cd28bd7bb68859525fb0480795aa46d476bdf654b412d2b311c642455b935cbf8b190f07b6e6c9b9545 SHA512 3bc0a82f09fd722cfdc4803a8f72289bfa7e528725ebf34c39831c61a2797c8947af5fdac3aecf9855c2ad4d51ef55eb9387e1ac0a3d85ada2775c103673a2c7 +DIST gentoo-kernel-5.4.110-1.x86.xpak 53179555 BLAKE2B 39ed8da5d56906c750502a33062aecd67d0561f69df1efbbefe55ea960167baad1ed70a8b9c27a0158fad8fc7378f8af1bc86784c3b2fdbe5661fda3cee0a853 SHA512 f0aa83b79be333191a7e161533604e9fde45e62cf32df535059883b0daf101e54ecdaf93ee1b278228ce8ccd9228b750d05206223ecd922383688158c847bc2d DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.11.tar.xz 117619104 BLAKE2B 81300c27bd5476387a83123aaeb4163c73eb61e9245806c23660cb5e6a4fa88ffc9def027031335fa0270fc4080506cd415990014364e3a98b9d2e8c58a29524 SHA512 a567ec133018bb5ec00c60281479b466c26e02137a93a9c690e83997947df02b6fd94e76e8df748f6d70ceb58a19bacc3b1467de10b7a1fad2763db32b3f1330 DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.110.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.110.ebuild new file mode 100644 index 000000000000..550411ea18c7 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.110.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##*.} + 3 )) +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 +} |