diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-07-05 16:43:45 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-07-05 16:45:48 +0200 |
commit | f0113c6f271691741f24381d86e395dd3a4d23db (patch) | |
tree | 088fc95a3dc1af087d573318330e12cb981a35f4 /sys-kernel/gentoo-kernel-bin | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 6.1.97 (diff) | |
download | gentoo-f0113c6f271691741f24381d86e395dd3a4d23db.tar.gz gentoo-f0113c6f271691741f24381d86e395dd3a4d23db.tar.bz2 gentoo-f0113c6f271691741f24381d86e395dd3a4d23db.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.162
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 | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.162.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 d01dea8f6904..76d2a592e713 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -8,6 +8,8 @@ DIST genpatches-5.15-170.base.tar.xz 6810444 BLAKE2B 979cea1e399d312eac94ef4e4fa DIST genpatches-5.15-170.extras.tar.xz 4048 BLAKE2B dd052053b2f791b558938755ecd1946d55aa52374acaa98b666aa2017d678d3552d161b36e50bfce63b9a71f0e252cf298c8416e3c6ce8318854886e9c1caf67 SHA512 b2befc9604dd5fecdcdf7d58ca219fc780548b439780b64c3e3eabe5b3a53fb33af30af8a0807b6d5d327381d9541f94645dd0f8475bfdebbe0ca41fa9de7846 DIST genpatches-5.15-171.base.tar.xz 6912380 BLAKE2B 3d5572ca2854c0dcaa6000ffc7ccc6921115f95ada5e8902c5681c5e0367f525bc658afd504dfabf25111ad1a9a6f6de1bf90e699fec38be68997f1e780f4715 SHA512 176edf85ec8e212036ce90b83a1a00bae1ea84770d8cf60c4f313498a219644a29774da6be34247ad55e6def08b4fe2f1c4a880c528c1d98e63a65acb0ba5a2c DIST genpatches-5.15-171.extras.tar.xz 4048 BLAKE2B 823bf5a1a62a3a4f97ae296bf78581a3b8ba79134e8ec7098385e23783c317509f8320afb9ff0c25ebfd5b3fb32aa883afa970ac86c550c2d70613d8af7da5e3 SHA512 f2eacb2ebda97e86c20f24a6ab591b6c41fa831947610febce3589d32fb326d9439b63273c2ffe82630157b7559141598e5bb5edbe939e1bed45bca802085f1a +DIST genpatches-5.15-172.base.tar.xz 7003732 BLAKE2B 0f9a38b1a0b8d85429b9f66eaf0fdb7f854f62d6e61c556bfc618d551c8497ded8d1413f8f0c9bcc27988faeb718c73646ae1437b14793837d14d5587f69aa2e SHA512 fcff72f4ddbca1c2fbd012e66ab2d1b1c9a666192edeceabe51a99588564a0937d88c62c8bd71c6a701577ead62bd543b77b520e159f2b60764c6ffd3bcd24fa +DIST genpatches-5.15-172.extras.tar.xz 4048 BLAKE2B e9120574a9febf01edcb43d4c582fcbb90a05934d23c671b225a1c6d0ca8646d9efad2587497f6642024a7e1026f9b7dd56b49e79fd355d73848ee04e1dfb3e2 SHA512 582fd7b0360c7250ee8336079383d2b64bb96b22a86929a54157c1fbece2c18b88d0751adc13ba602cfcf7b39ddb249ea11449d6f56d1a3c55aa25f87d2d77ff DIST genpatches-6.1-101.base.tar.xz 5248940 BLAKE2B af64a685e905a51004350b263e6d5bf9078518a979bb5d192752672d15f54a1dd330ec71c33dde0dc6afce11f5d53bc62837ba400314978d740d4adfa3f32778 SHA512 fde5c4d51ba8cb095743d936e6b7e31ad4b7b04b46db66a4746d8fd03205a0b18a17e4d1d08210beaaff13557fd47a9752cd36a28abf19d879639c175cf755fd DIST genpatches-6.1-101.extras.tar.xz 4048 BLAKE2B 8664a60521d881f8e80103f2509831e35763c891cd589c907979d49d7af96d699fec7f9e8c3b8bb90bcb442ed2016890769f53d4ff205d76d25521094b24091f SHA512 79276866b12b61d11109c27ea31eca847374a3938c20e4a07ca2a6f63bc62ae0c89a9a96e65227ab123fdc85c171cfa100261444fb9058a30d70b6ce4c175dba DIST genpatches-6.1-102.base.tar.xz 5362424 BLAKE2B 74e978125492fec046201698208fa1e7b28af5fbdd89f2a1225de522313d92b7ae196771f922164e832b73e8c6f0fca498de10147f705a2a484a3a324ad8a198 SHA512 0e5725a4f5bf7aaf5dd24b185ce3037566032f6726cf3b288b490475bc95ff67c9d5d45b5f3ec4fbeebe6d827ff569eeb9ac5f819c8646fa838cb842f5b36091 @@ -62,6 +64,10 @@ DIST gentoo-kernel-5.15.161-1.amd64.gpkg.tar 66365440 BLAKE2B 79e6a54f8a324a262d DIST gentoo-kernel-5.15.161-1.arm64.gpkg.tar 59750400 BLAKE2B 9c7628d15cb44339ac14df377bc6c40bb1ba844fab96464a92247c02aaa3dd5f15230b7bc548bfe2d0546b81fc7be575fe7f4431401e24adc70a27b64b508b28 SHA512 ed3dfdd2c3aac153e81655e73bd3680bc2f57e902371ec675abb8768c0313a9473895eb3548d0f913892a4a07cefd043fd15d24062df1856209980fec0108847 DIST gentoo-kernel-5.15.161-1.ppc64le.gpkg.tar 54988800 BLAKE2B c17db3167d3acd24b6f2b53404ec88b7ce9b939187a8bf8b79ec7888abd3a6f051bed22dc357e6a3450c2c1353d491e73444b303edec023318acbc51b3e53bd3 SHA512 772f1f7aed28af3ae0728d7e66386a2431651b9dd336135db489902203c5daa955393252ea9143af3b007026f611fb09a5f98f3eefa85c4d413bc86b87a7ec14 DIST gentoo-kernel-5.15.161-1.x86.gpkg.tar 56176640 BLAKE2B b967c7cd779138f9afa505510f2a9012351b84199a1db045a7e00c37decc99c1ce13ac6f5062ecdd0ad2111acf6416f270ca55991d4fe2a2a849622cd36d6620 SHA512 72f6660a71c4627569ee24a1518da1cfed23696073046e0b8d00e830568fcca25d6c7e0341584fb33063b810e705153c3161e249c25c668af38e8d73647f62bd +DIST gentoo-kernel-5.15.162-1.amd64.gpkg.tar 66385920 BLAKE2B 24ab856cd827b2f47a3d0390a09509fa36c7ebecc14577c47c37a1e4ece60962be06036438e4524db8c8844e2921c64f2157c6f21ed46526ee6043ed80eeb670 SHA512 0841d11d96f6ab98b68ae9ec77add4d24011fc5dad68eb07459ed6e79188040396ae70a9fd8edb5a4ceb72ac9d7bce56ed708ae8c1e908afd1be6836d892b6bc +DIST gentoo-kernel-5.15.162-1.arm64.gpkg.tar 59750400 BLAKE2B d96929525808d0e4df1ade8436b5c666613b710df8c20e19f8dfa6495ddc98f8bc1148ed60c952558c779e9cb1ef8875a4a0928381dab7c970837433a8ea83fa SHA512 710a018b38c9d5b752eae1fc72a6b43db220a05e7f5246cfd32238b054ec17d87e5938891dd191c1d691605e7adcca9005f3cb51872ca7f9d47e91e70307d292 +DIST gentoo-kernel-5.15.162-1.ppc64le.gpkg.tar 54988800 BLAKE2B ef71d77de36370a77bbd097e15c052b0337e143b3c297074c30ad899cd68f5f15b17fa2ce91a8c635d942a1218e5db15613ec989ec4ce09d85f5771a351a48a8 SHA512 8ea8b185c59a7ab0dd9ee7678249020ea3406c8b17657801ccd83aeba890831983f83f91fa6072163a825bdab50c283c38d01a3df4723271be5301519cd0c6ab +DIST gentoo-kernel-5.15.162-1.x86.gpkg.tar 56176640 BLAKE2B f6e3a140fbbfc8d269deaf6faa909244473e2e806ee8b976688689fa9474917a1885d40dc30cf0a44b2003f10fce3244c8b72fdb2df8a07183669c78c8f24df9 SHA512 793582e677c9604aa8e377e263acf5421e60578ee818581685a6adeee1374da80462d8b6c6cd8f73f8d06e220a5f53a12727b592718abd882181fcdcb23e71ac DIST gentoo-kernel-6.1.92-1.amd64.gpkg.tar 72652800 BLAKE2B 14e28e212d799f070b6b5bdff86d911d01a154395699c39cb7fe67fba4f9738d7fcecab4ede9d80932f90d33f0cc3d0c6d2b49cf12a66719d46e383ebfc03a03 SHA512 b6ab735688d96ea30fbe8ad316694c3b1938cd0a926d8ad3721e9eddd929588e9a92525aef90e2708df5d10e04e3be47a5a7b18b56e0fb4e1fc3e10acb2f789c DIST gentoo-kernel-6.1.92-1.arm64.gpkg.tar 65628160 BLAKE2B 68e76e064808c7ddce86be971ce370e1ee67f0b16aa0fa0a0c558621b4d3087150041d967251c4382808c13234a65ed186bd53c98bf5bcbc537b7c6bab79b862 SHA512 909efc952e243022c63122ec64812b9a10814022f98bad232da994c30c0a40e752267215dfa7a7e7089250ba9a8cebe2a33a22aae6cc831b98971b42d90cb725 DIST gentoo-kernel-6.1.92-1.ppc64le.gpkg.tar 59904000 BLAKE2B cbdaf21da137dcb91d6cf0b5e38d43e6b09c7af21856ffc389a67e2308ecdebb364270bdc5a87eb94c2656052d78134d5c1676334bd37b686ba715438e02520a SHA512 adf7215407d640bad2fb248809207ef159e532dc5464bce0d7983c46ed2d394e4cb42a72357ddb9059feecbceadb67da51ddae3c7e7ae5a51eb8eeecbd26ae56 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.162.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.162.ebuild new file mode 100644 index 000000000000..81911930d7d6 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.162.ebuild @@ -0,0 +1,132 @@ +# Copyright 2020-2024 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##*.} + 10 )) +BINPKG=${PF/-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=" + app-alternatives/bc + app-alternatives/lex + virtual/libelf + app-alternatives/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() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + + # Overwrite the identifier in the prebuilt package + echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die + + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d ${BINPKG}/image/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 +} |