diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-23 18:39:02 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-23 18:39:38 +0200 |
commit | 379f35fd7830466062d9e51850b74469abdad27a (patch) | |
tree | 04e656de7a1edaa85aa3993536faa310fff2c9ce /sys-kernel | |
parent | dev-python/keyrings-alt: New package, v4.2.0 (diff) | |
download | gentoo-379f35fd7830466062d9e51850b74469abdad27a.tar.gz gentoo-379f35fd7830466062d9e51850b74469abdad27a.tar.bz2 gentoo-379f35fd7830466062d9e51850b74469abdad27a.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.145
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.145.ebuild | 132 |
2 files changed, 138 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 4730a369c44d..14d61e71816d 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -2,6 +2,8 @@ DIST genpatches-5.10-152.base.tar.xz 4136848 BLAKE2B d9a29db5ff2e649e3ce01112923 DIST genpatches-5.10-152.extras.tar.xz 3868 BLAKE2B 2e24016827949d894cb2623e2a9271ec6a7af14e655cbcba65c3631fb3b8aa9ad673fdffb1a767695068537c95db722fce9dcec79d5f3f4d4d5f87a36290f017 SHA512 80180e2869f27b6515c54a7ef6411fe76eeaf777936a13648488469021681fcc01c462a0a933f9446b618632ee3c139d8e1355cda30ef2ac3befad33c79da7ab DIST genpatches-5.10-153.base.tar.xz 4142480 BLAKE2B 18d28cae57ea98f1ce9faf8e88aff46b4cd2ba64f98427287a0bf2323de35b050c2673a92c8f783757cda8068905cb940fb468269a624739b5222f815842dfdc SHA512 c8e5b49389eb95eb789d2d6078631feebf87571c69e0b5abffb7427db501030558186358a09b20e709d2a52ab56666285f29f5d9a8bda7a3c8c0355c38ff83a1 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.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 @@ -22,6 +24,10 @@ DIST gentoo-kernel-5.10.144-1.amd64.gpkg.tar 66467840 BLAKE2B 1a0145869dc1220da6 DIST gentoo-kernel-5.10.144-1.arm64.gpkg.tar 59729920 BLAKE2B e8d2b550a686323921f0a8366287e76b52d98f0e1f8d0a1eb96506a4b5a9fa940cf4dc869eb3b33a4c7fa18d44df3eaf9a0eacc298386cc75bd623e86378e030 SHA512 0a50588a05e2242cee5608e5275120457d4d03464bc80e88abd9bf918f76a02fee7e6a588a607bff54c3224bae0e04599aed34603ec780ceb579963f16e1a249 DIST gentoo-kernel-5.10.144-1.ppc64le.gpkg.tar 54988800 BLAKE2B ff7c476ca7a24d91d3271f460e73863b6010b28b501d0f94e70c72c609a3165d4d5eaa76b492e5b9f95d367f7bed0ed7f6012c7e1ff229289b83eb9058fd41dd SHA512 5e99a2dc9ed580b4aa5a7e8b21846f29da89a6225f3aa208335516320311511f33334548aa89cccf0bed59ff3c7a04b9e0dabb5a48da6bae62e1023dee07cdf0 DIST gentoo-kernel-5.10.144-1.x86.gpkg.tar 56381440 BLAKE2B 84caa4148ea450bc7545542ad929f77bef73f2993ba005712a7e2e3d3ded3042ad2e92caf00c78bbfdd6461afe9bb9145445f21b613d345e458d2bc8a33db97f SHA512 33ee224432940d0c2c565926862c98ca23620d73c494699393be37dde6395829d52b8733d4b0ce70d877ec42c10cc057fe5881032b01dd5a586ef17d36f2a35a +DIST gentoo-kernel-5.10.145-1.amd64.gpkg.tar 66478080 BLAKE2B 6eabfab05d720823af1880d6dcc1f433153953100fdf353b7e1aede70a694aa424f393ddf6c40e4e9a017890f10acb7f5cb1eaf4b0afec467d0f4ad88f7648e6 SHA512 0e135b282bc68082126e0df585fc821ab8a28ffa548c00d28234ec5538188e942947b0273be6f7f6b75721ce0dd869563898389acef40c02f35e20872ca75a6a +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.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.145.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.145.ebuild new file mode 100644 index 000000000000..691ad14894b2 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.145.ebuild @@ -0,0 +1,132 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-install toolchain-funcs + +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_unpack() { + default + unpack "${BINPKG}"/image.tar.xz +} + +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 "image/usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "image/lib/modules/${KPV}" +} + +src_install() { + mv image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d boot/dtbs ]]; then + mv 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 +} |