diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-05-25 21:48:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-05-25 21:58:15 +0200 |
commit | 4a417138600d76cd29e279bb7a9725f428b72d6b (patch) | |
tree | 9abddc89d09e6292aaab4e573ba439130e239731 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.15.160 (diff) | |
download | gentoo-4a417138600d76cd29e279bb7a9725f428b72d6b.tar.gz gentoo-4a417138600d76cd29e279bb7a9725f428b72d6b.tar.bz2 gentoo-4a417138600d76cd29e279bb7a9725f428b72d6b.zip |
sys-kernel/gentoo-kernel-bin: Bump to 6.1.92
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-6.1.92.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 77c8dc1e5d01..612b059a6852 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -12,6 +12,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-6.1-100.base.tar.xz 5230656 BLAKE2B ce1e60a36233dfb26eefad5351fb71d8374fb673fc117fbf37ced214f678c642c0fe0e898d6136fdc99504c3b1ba094c372143fa94bca87efe0a63c184256229 SHA512 ae3ca97ba86715c0a6b9a4888c7b5b262becbbf5262e868e171e9738f212701855f2a1e6587908e5008f524b546d3fcc9f0c671286e5868d67edaf3a92a141cb DIST genpatches-6.1-100.extras.tar.xz 4048 BLAKE2B f8266ea5ef27224671f17cce493a10c02a0b93e4b904b608ec9953e7fdde42f0e89419d7d32f926a400bdda952aa87be2d9c66896e6fb120fdcd92b6473d5ddd SHA512 c044c5fe35ce29113d127b0ff34004d7125d45433ddbb3943549d0eae657a177a1bf037291c151b2ba3a9d35a89663031afa11f0bfd114531aa5bc54894cbb99 +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-99.base.tar.xz 5167668 BLAKE2B 0dfd80fa50e373b99b3ec8c2adcc80eabaa0df9606831465c2afbca34cc195f41902a5ad4472b822eb2e011356c51b257a39294ae1d123c7384f915bd0a6249a SHA512 39116b71b7da155596a158ebb1aeafb029bf5c0d1ec983efbbdb323af61fc505c3a67beac4e6f888b3b673cdc271ef1dbc3090580aa89f573a652ebe0d501ccf DIST genpatches-6.1-99.extras.tar.xz 3848 BLAKE2B aaa18ac05550c0694e3a8051e41acbf7b135d593dbbe2ebf8f757996502d1721e96cf11edb5ae87337667f340640ee1ca55de0a8266b4a2fc929dc80065df746 SHA512 0528cbbeb530d0765af843db8479ab6ce011df60be5c3bdc913c81f1299868f772e9d751b973edd75d7020cef7ac0f5645528e50b87f4ae59fac2392cf86137d DIST genpatches-6.6-37.base.tar.xz 1986828 BLAKE2B 003cfae8adc04f3ea319ecff4344662e27df5d501bcdcb1801d6b429ac85a60834a896a9222e0b9ba7c173376fa137a2470cb04f08289abd6805a2f0b07b0b0e SHA512 e21bc0eac8103091dae7d3e5d29ceebb4e47eb3e1fe63d577b0d000444837d723568c13bfac4f5deb61132dc3adc153e8de4661a15e6880b38fb097bb143bbf1 @@ -54,6 +56,10 @@ DIST gentoo-kernel-6.1.91-1.amd64.gpkg.tar 72652800 BLAKE2B 5ea8317d4b3523c05433 DIST gentoo-kernel-6.1.91-1.arm64.gpkg.tar 65638400 BLAKE2B 1cf3a711045950e18bedf01111d0e0208f61cea6c8dd723413e464f7b60f579c20e87d9e2a9b6acfafb6670fb084858b598e2e80cc988c4e7d4f131619260002 SHA512 cf3311fb2c50253d332f9ed87d67a53943c2b01d2273df63f6ecc5adbb3b71398b95d8e13b4dbf7dbd25d48a79bd1fc1709ab980d0c2149c3f029839bddca0da DIST gentoo-kernel-6.1.91-1.ppc64le.gpkg.tar 59893760 BLAKE2B a9ca3cfb32b85499c6ae9f4d28cbad37a9c3e4893c5a4f63b6efc4563e54c2a92535f2400af5a9f157df6c7d1fa6378897310f7cacbdfd9862fe15d0ee3ecc5c SHA512 cb9417b649e6a88dd0ccfcf074733fb78f756d79fa717abfe88ab9d3962a24d304f3fd35908b1886fa591c9b09e5bd032a325aba71ac32bf9c86acae1e0c694b DIST gentoo-kernel-6.1.91-1.x86.gpkg.tar 62197760 BLAKE2B 41cecec740f456166cc755deed964eab9ed6e5984578ced9dbb3d51b6fdd34ff7f7c782d06d7bb9e6758904ddbeb8afbd69756ce21ac32ed043e66373d149ef9 SHA512 edf4658b79a2aadbc273b766c6066eb312dcf3d6c4520b906d46991b11a37da5235a3a749e36d82b898d5272d779dfa698e63bf9e1c658deadbe0a52d27a6e2c +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 +DIST gentoo-kernel-6.1.92-1.x86.gpkg.tar 62197760 BLAKE2B fea6532a768902e805c13d85f03dd40fd284092b7aae680c6682da34fb3ab817c33c8fff45ee31ff18b37d19d13a85d0b79f61642c3affd7d77f7877d839e151 SHA512 df5763ffec138c840df67dac7877be196f7cc5b546e85ab0a24f1ab6da028ac0107ebc460f49a6b98a0d502e71b29d6140cdacadfd0cc8657ef91f8f773a957d DIST gentoo-kernel-6.6.30-1.amd64.gpkg.tar 147240960 BLAKE2B af0b3a2289bb6b4160bb03dfc4ecf85fcc7445f74cf966c47795ee1ea1884003cab8d57a8c9c166f0c2ebdd88c0c8c09f0d9ebf95de0d2b2f1496b1aa4f85788 SHA512 e0a6d1b773b9d7148399cf4aef99258c70ea09bd4b45b0892e8f02626a567f519cef6e12b8295d08406145fa4a38d61e6e8106f12fc5fea5eaca42dba01e5f7f DIST gentoo-kernel-6.6.30-1.arm64.gpkg.tar 119306240 BLAKE2B eb6a34e2a34873c64079dc0370bd750818af440eeb9fa2020c42755e4ce00774d80ab595fa2a35a5e706603ceafce03cf728750cd4d3148a4ef3ad897468fb4d SHA512 b05e624b34bb217137eaa3d984502a0408019b70c2230c380ba19264cdc586d6401802916e03863f6c36af933a095d0ebc53d3b880c6f7fb7d8bdf6bb9a60c10 DIST gentoo-kernel-6.6.30-1.ppc64le.gpkg.tar 64389120 BLAKE2B db436724c0a978faabd8cf7ea6d4c6c1dc5c8537de25a95c6af142a3ef274612d4fedcb92a394f536c4f8431fe78e1cd946c5f2b7eead01fa9a0268f38870217 SHA512 cc01db0e74aef830c130e029eedd7072853413875cb436aaf1d34baef1f5fb1596b04fb16b9a2882c6625eefead272d1ba29de37afa43eae67ed97167ada9783 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.92.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.92.ebuild new file mode 100644 index 000000000000..1a845828a60b --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.92.ebuild @@ -0,0 +1,127 @@ +# 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##*.} + 9 )) +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() { + 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 +} |