diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-28 16:28:14 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-28 16:29:19 +0200 |
commit | 07b74e9a36fa8cd0113558a902c7f5e3ae489048 (patch) | |
tree | 11f4f51a951c41ef5194ce51d9bf0e6a46739cd9 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.4.215 (diff) | |
download | gentoo-07b74e9a36fa8cd0113558a902c7f5e3ae489048.tar.gz gentoo-07b74e9a36fa8cd0113558a902c7f5e3ae489048.tar.bz2 gentoo-07b74e9a36fa8cd0113558a902c7f5e3ae489048.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.146
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.146.ebuild | 127 |
2 files changed, 133 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 62f5ae10635c..83720fa89759 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -4,6 +4,8 @@ DIST genpatches-5.10-153.base.tar.xz 4142480 BLAKE2B 18d28cae57ea98f1ce9faf8e88a DIST genpatches-5.10-153.extras.tar.xz 3868 BLAKE2B 4baa8ba350a6b0f02715d65646b00f24142e6c6be6a2270204b4e98ffbb3900b1a47bdfe741266013859b9119719c7b979e0035eb1bbfb154b39318727f56ca0 SHA512 b367c4dd3a3217d3d39a7e2f8850ed21fae2afaf508939b2da897f597f10b36a1a4375af20f07e305be0bbee89ae8787af3cc842562239af5c45430f2872cab9 DIST genpatches-5.10-154.base.tar.xz 4154484 BLAKE2B f9db695e8f2e3feebc7a6d0ceb0971dce9fa35e440f6bfe73dff91de00d1ff8dd4687e36b04a2a3b95b12765c2b2fb93df59aad5fffd77702e2e4d2a64e6aed3 SHA512 fb138a235ccfd4bcce0912fd2dcb40a659f7dd6267725963ed839bbcb176a5721a065a0027a9366a26694472d45484b6c02b683f9a1bdf69caa980070f2b6a0e DIST genpatches-5.10-154.extras.tar.xz 3872 BLAKE2B fe27fd30c6ff3684f01b7ab7a2287bc3f9e0918c254b90233d3a210454daa6022eedca3823623e9d45b303b0e1f1bd3240ce75554c18dd795c82631b453c998d SHA512 97b117f143ea38226d8129fb0c508de24e06a479f0119347dc83a04b9632afac289b66102b92be84236062d2ea0f5b6b75a3f04f8bcbd3e44d98f39467882101 +DIST genpatches-5.10-155.base.tar.xz 4187452 BLAKE2B bfa7612befc96a338e411ae20536bed348b95c6a51d067dee15ed64d0dfdc4e5700d26473720923f1a6393fbab29b5731014d29ae5a98bcd3c0a0a6125a24b73 SHA512 6a01cbe8def4e387778d5abd5eefabd556ac1ca283c0cb9bcea7fb1bf2c2812996fae5416c2e88f7b55934686fac52d777af3fdf0ac6dbc8ae3c280934c664f2 +DIST genpatches-5.10-155.extras.tar.xz 3868 BLAKE2B 744b3272427213e9aeb1a10abc768b911587729101cb21b8b2be231e1b683cd22aae95ef9af9d09ecf585cf0422f242d3b49f81072cda336f719504fe2755a8a SHA512 092db0ae428c0b3ff7727d34c577ab0e928ef2632879b33057f037427836f7a4095de510cfc8b5ad87ef54d90d81518a2edf1e7ada439ce28f02645fea105427 DIST genpatches-5.15-72.base.tar.xz 2987972 BLAKE2B be108e6921f5a04605ab7c557e1ed50ce092a85eb36e6d60b4edc630457437eb89736dd992fb823522f3ca9c3ca530f3e437ad8f8b38a130bb56bc887070e1a5 SHA512 fdb5806584961dde27c7760ff4c20f6c7d08682bb998522a577dfa52a8fa021cea991c46db5efd1ab76e060e73bc38fb5728d0fae2c65f0846828c57779d6b39 DIST genpatches-5.15-72.extras.tar.xz 3932 BLAKE2B 00c700eb5307d1834977c88e134fc2bea16f258d6eb374e6cb6d85c522cbf1730d6e2e937e7abb392350de8aa3cff6811f5ac0d3b93822fbd9a43c20abb525c2 SHA512 a08ba388711c30d3c101ebbdfb671c63f85ce3d07ba4545c3b01b70687d65f31fd9a1afadecdc49f0d9b113c5596df878acebd425b868ffd9111a555d4ced47d DIST genpatches-5.15-73.base.tar.xz 2997804 BLAKE2B 8915a7983e7766c43e7e4fb91f38ba690e60df58fb8c7d6b5f833b21df459bf5949c35e510275c793f6987e70923cdfebde739f498ca16f772920e262f391172 SHA512 3859fc75041d4c7593104e158ecf833fb0ff07aedec5143623132114308d9c877a9f2a405d83cf442f0048c046c3fa3700f51ab836de448ecf2c7b4064630c61 @@ -34,6 +36,10 @@ DIST gentoo-kernel-5.10.145-1.amd64.gpkg.tar 66478080 BLAKE2B 6eabfab05d720823af DIST gentoo-kernel-5.10.145-1.arm64.gpkg.tar 59729920 BLAKE2B 3503ae22836fb96b5fcbef3b81a6c7e382e3af0c3d561ffdd66cb23a0a6d235150369e70b6855c19d66efe320c1908b32dfd14fde348aa5c06178cdecd2e78ce SHA512 6cde548f077345fc4251a3b2ddfda6155901c2d5ce813429171594a8bc7e684ec651752f23196b8a1025fc205a0b0ae6f06e59c2bc13e8b20972cbfce38315a1 DIST gentoo-kernel-5.10.145-1.ppc64le.gpkg.tar 54999040 BLAKE2B 0854b91bb9a0f3f0b160c940738563762ae1e51c6a6665f808f74a242cbbe19caf45ed7cb5a9645c876a5ec30fc9772ee83fde627727d3060ee51fe6733a8d5c SHA512 bea83b708184d744413df417a1710d4716150974cc613888139663b79e54f52ed97be5a7e6e98e08156f5d684fbd0243754b0ed116db08c57d391a2ad6482184 DIST gentoo-kernel-5.10.145-1.x86.gpkg.tar 56391680 BLAKE2B 6d7b55b8375b3353fac91a6726ed828c4db41d6a8536484ef9f26674af56ff2dd00a26c40f1ef314717fbd6db683215de227bf8e5ce1fed924f15bdf759fa660 SHA512 a43c11f0a0ce1b211364e6ca7192f46409195d82c672a2753a1f65a3eb091587cbadf68a9ce282f19ee02eccbe0af589bd60ff1c5c436ac74929b3aa31dbec66 +DIST gentoo-kernel-5.10.146-1.amd64.gpkg.tar 66467840 BLAKE2B b321d22f59c3cae5b46f476ee5cf20efbd0901202e45544723298bd126097922dfcd4e1dca5d5ee0128cc11cd9e1978d36018e9978c5cc79a8324c9e0656a34b SHA512 ce4aa24141d96467a161862d6a690b82b2fc46e0bae7aff5e3752b65329a8163bbf937b7d2c3ad17d1b9f2bc936bfe59709bc657bc509e8a475ac0fecef302a7 +DIST gentoo-kernel-5.10.146-1.arm64.gpkg.tar 59617280 BLAKE2B b407792e779cba52312dbe77b3c47de219513cd0e5d9e34886272ff12ca7dac191ff3df37e64caf9554a52412694d975e41966ef15605cb7170573a93fd98ff3 SHA512 c8a9c66921a8168f26976246701c621702a5f27a675c4f9dc2b35a00b6f7f6962845d04d2d9fe7625816283f7bee487087db6d4da3da60383ccc2a1f43489123 +DIST gentoo-kernel-5.10.146-1.ppc64le.gpkg.tar 55009280 BLAKE2B 3b33018612cd795b91b060e816608227902b2c4089aee08481a4182e327e9f3d38e270e3d691090d534789bc77b8e2ab520c7b7f8ffe866014dc3369b2694e24 SHA512 683c3b69edae6cda516d8e21b7e2b89766f74899895f58e75f912e300a4f7628bd4fc068cf1677ea213d4dcc2fda4641d5507e4338741db336d06bccb55707b6 +DIST gentoo-kernel-5.10.146-1.x86.gpkg.tar 56371200 BLAKE2B 3314b00d9cc14c64d110a5b25fa0567a214081ae752a24daf773408fce2190b02cf3427cee13a03183ff8220067e81dfa1e347bcb1fe1a7c53aa2df3ab16462e SHA512 b44c36ce64c913f5f0d38090088db86aba087280b4aa63e5a730d1646f66db4fb486e165b28399ef7a6cfc93a98655a519b34633b2aedfa72a5992f0865d872e DIST gentoo-kernel-5.15.68-1.amd64.xpak 70774051 BLAKE2B a7d9253fbe3df6a133835f3348a07d9fcecb97701476101670cc89d15aa73dae428227d03d9f781c125c0b5930374bb7d290d52c5c604662481511546f1f35fd SHA512 a302c71de66dfe4c14c06cbf4cdf564ff14a1b3fcb0576382eeff0b7f6197096d03cd522f1ae54966a3be74148b52a1aa08967ad1feeff676de0463ad5fb8f29 DIST gentoo-kernel-5.15.68-1.arm64.xpak 64082577 BLAKE2B 55c448aa22f6d6e839750573578620123680c880113d72c71a6e28ec2863bc91a2219dbfed6a7feaf2c6ce68acc0b9f93f4ac7853249ebc6cc3ee7cc27c5b297 SHA512 6f4279972446066856da71def4c2c4e1c27650de2aefb012312afc52244db5f59c5dcbee514c6b8a5538869cfa8a6cd646ac52986438bfe904ed65d2955611ff DIST gentoo-kernel-5.15.68-1.ppc64le.xpak 58282282 BLAKE2B ec060d2d7a544be9b304cc3602568d980bdd5f7adf7d10d93af646fed69d5f5e1df4a646630f8c46d661be30aa86c7fa6b4f2e218e463e8df9a8b0f50040d9ad SHA512 99f796989ea705f3eb04bd16fa1b7e4f10143da3d2a2b977d31052618304dd7d08a0d7b737462b6bb7035c200191ab1dc4d76393f920353d20ee2f82ada04d88 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.146.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.146.ebuild new file mode 100644 index 000000000000..26eed75d6c06 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.146.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##*.} + 9 )) +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 + virtual/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 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 +} |