diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-11-20 16:56:54 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-11-20 17:03:27 +0100 |
commit | 584a62b5c6c9770a73a73d4b95307fb6e4b68a4c (patch) | |
tree | 47ed047b2ecd53c6b42b8384bdacd29f21a8a413 /sys-kernel | |
parent | virtual/dist-kernel: Bump to 6.6.2 (diff) | |
download | gentoo-584a62b5c6c9770a73a73d4b95307fb6e4b68a4c.tar.gz gentoo-584a62b5c6c9770a73a73d4b95307fb6e4b68a4c.tar.bz2 gentoo-584a62b5c6c9770a73a73d4b95307fb6e4b68a4c.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.139
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.15.139.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 1ab9132982f6..06c7f5759296 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -6,6 +6,8 @@ DIST genpatches-5.15-143.base.tar.xz 5634608 BLAKE2B a00b2898db47b874fdfe2e2bf0c DIST genpatches-5.15-143.extras.tar.xz 3936 BLAKE2B c942135c9120024effcc516070b81aef19de95969e19c95b7c222ccf9ba515db329735596f3c5dfe81f12ef29165b898de75988f0c632cd228b6d3579e3c5648 SHA512 eb9d0661d81c1acbf5884f3ccc864e0b110a517556bd62020f41f3fad77c32e57da5a7c1f6411a4dc7d9b85ad8fe9af4658613b0a3e9484fb609a7f9ac1a3f39 DIST genpatches-5.15-144.base.tar.xz 5663416 BLAKE2B a4347f6e6f5916a3811ddb7ce19a506f6f4bb691e57ed5229adb55d90aa2fce14656d1a77d63539ef5fba8c0a5ed8c3cd0933c9f286694a83c65898b77015e66 SHA512 8f4a7429a9673cc2aeffe870ac1f742b6d111b0fb72bff74b3407d13eaaa6200ae7b931449b7c5923c215428b2c55352f728d60a09f1ac7907625f37a454a3cf DIST genpatches-5.15-144.extras.tar.xz 3940 BLAKE2B b605a72df3376503172f7a3e7c170fd6b46490061a8a435230372c12a95cfd3deae488639b3ca579c602e86d1e34b1e11c4b873bfd2bc037520df5f1906f6caf SHA512 5db17e336aa1cd4b839b5e4b595e632484af239a662c7f631009a10811be3b87188049eb8a576543f132e674b382b5ba9d9af94a26b3d5a24fb4c654f6a3e2e0 +DIST genpatches-5.15-145.base.tar.xz 5716840 BLAKE2B ab0ea42db784aed619fbbce1600fab744a083fd5f47067210b3d3f2874d6d1d399f2aab0fba538865b584f7bd018a4ceec569cfe93ab32ff250bf298996be3da SHA512 8797528fd32dfebf76a804ddb4f6adf07d666758c8f0eaa18a694341872bbe2c3febf44c56268f1852eaac0afe36e6e6c33f287a389f4782af673ce63836a574 +DIST genpatches-5.15-145.extras.tar.xz 3936 BLAKE2B 3e0d75d0029aa817b3e7f184b34150adaf337c05f37122a46290b24d4769a1ff1b5fd82adc2a50b09f2b0be235ea9f4f06a4c3111dc68cf2acccae1bd39a0d67 SHA512 4f3e94e59bffcf5a9f6f7ca98c34c7302ad843860532e6022f6ba33d1d9c1a89b3dba606ec771ccbf063f01808fc51b9a1162dd8aadbf898d17759488a04ef5d DIST genpatches-6.1-67.base.tar.xz 3816044 BLAKE2B 9116263f1f3cbb472ad09ad785eb643cc4deb16f94936196c1dbb3d500b6e20447d07d434f4fbc59fe8cfc03076da0aa0ec22a3c6d93e09d0dfed6d6fdfe7add SHA512 609935fec85285a34e4fa6032f552230aeb7aed1caa867d34810a25f68c2295e0a8f886e0a093f111b1623ba364cfd6e17b237d670d42c8c539778810a02f681 DIST genpatches-6.1-67.extras.tar.xz 3816 BLAKE2B 6aa8e9614221c2b9d84df9f75e5b8eb530ae8752b406ad698be86a8031b47940f9efb1de9bedfa0e466d0bad32dae60c5c639815785353a49e4b439de79a80ef SHA512 a911476dcfa9767f4adb946bcdcbe475e78f83753a7880a7e3a96aed347f1ec520ba8d75fe4e5565b2aded25965cecd3c7f79fa12009af043f7408200e27189a DIST genpatches-6.1-68.base.tar.xz 3834732 BLAKE2B 3fc3dd48708491bf32a17cbb8c23e531e2b95e60ebcbe3faa6fbe2c60e610aad9226d1846774ddd2af56e985371780e10a249a50e2ac46d7e482428f67b289d9 SHA512 28b810ad914e12035ef724f7dc4b3cc6226cccad4997804a9e3ba5a4f4a420f5f397eade002dd7a9231efc2b0c1850c40c44bf5daa358c24e42bb50da05141d8 @@ -34,6 +36,10 @@ DIST gentoo-kernel-5.15.138-1.amd64.gpkg.tar 66314240 BLAKE2B c0538fa7277e41faa5 DIST gentoo-kernel-5.15.138-1.arm64.gpkg.tar 59719680 BLAKE2B 83fe7fc9557c557b8df2d3fe49622515a592ded3f1a059df3214de79a6f8a115e1d5e6e7cb94165bd4ea7d04463e90f27bf2256e9a3ac3fe2911428ad310719a SHA512 89368a42ca4f877c3eb06f9a457297460bbf2dbbac7f27e03a4392053705de77f2546f09358be32eb74a836800781e3e018af40babad99dd71bd121bbe52200c DIST gentoo-kernel-5.15.138-1.ppc64le.gpkg.tar 54947840 BLAKE2B 5d5e3081ff037320bf11645d6fbd2dba7e24d95b4316340cfb719c22eded0c27d186a945d05189f7abd4284100692d1e14384ce500135feb399a6223a2593547 SHA512 f9e1d743d480413cbebf04d581d106309b1d9898e03b06fb90cba3eea139ad167e9e1f9c52e35d7e945718305dfcdb3e76c43b5d78960ae348649f84af49b49a DIST gentoo-kernel-5.15.138-1.x86.gpkg.tar 56053760 BLAKE2B 0c4c8f30f2b62b055e99aa5ff125f5819255f2ce52bf53df0b6de5bcf9bf379e3c8250377ae64c44451557d529afd2f6ed542283881065aded6d2c7953f61a92 SHA512 d4b6be4508cb6087d359a1d397ea31aa2f745af90196fa568d82ee857f0e92c576345a1fb11098f0cb7d97204d3ff4e3c57de056b6f990168d360ee49e7a7c29 +DIST gentoo-kernel-5.15.139-1.amd64.gpkg.tar 66314240 BLAKE2B c4befd51df828af21e71ce0494a6578d77397814c2f362db831de952faff70121ad8e861378541e59788329572db4b8cb8f515b907c4151737dd4a01a5066fd5 SHA512 22b2896260fc83e14d54bdc6c907021ae2d0770d4602539af959236badac7546438b6238e3629508a7b77ce5916070dcc5a63990a544139da43455a06874f1d5 +DIST gentoo-kernel-5.15.139-1.arm64.gpkg.tar 59709440 BLAKE2B 1717cea1239bb23ac5cdbc6a27f1649215fe3107d5529fd323db721ec10ace61247940b95ac29e9896487d54ec1e10a03eb139d50dbc90bf5aff6acf23c7f74e SHA512 74175256f2c1e4fe35da5bd664f25fbc0a5b08dbdf66845ea3dfda9a4c9f19e5e7552a5e74f651e4f87053f48228a10640ff86909eac2212638030c8af7bd6cd +DIST gentoo-kernel-5.15.139-1.ppc64le.gpkg.tar 54958080 BLAKE2B 997dbb3fc96781cfff6ad766597283ad8dbe1500d6ec0a98894d06c0b053dee80811530d939719d12c88c158b5acb071a6e99e0edb028b5f7f49233c2ed75ce5 SHA512 a0edd95650b4cc04bdb44efeeb8347a3ebebbbc2c6ef9a8cfa6bc90e584e633b0cf14b1610ba591734497699074b492fb82fc1445e1dd368f04004b1858cd602 +DIST gentoo-kernel-5.15.139-1.x86.gpkg.tar 56064000 BLAKE2B 1cb658ac2c5bade831964fdddf150be9f323cf350e6e031c7a3e05e4d9876d348da4b67b1041d6720525ba21de0c8c887d403394e2d8c35ade7841676003bfb7 SHA512 0a5ee8c46cf3e61dfad9c743fe5263a8c76b099ac3e30ce12ab8d469c777333c8028718585300a8c3547d438b2cd1f3de35f2a519c65c66dbad3b61f899f553a DIST gentoo-kernel-6.1.60-1.amd64.gpkg.tar 72581120 BLAKE2B 3053a4c8707436c3f47921d9b438f4c2c59d0a6a53a9aa68cef873152da6c959027c113e077c8281a2143e7d7aba4113593e4513f4b9e0d842d08432e7e3aa0f SHA512 89163f836e1675fbf78c75cf83c7a8e4845d6233e55c40f194f46fd53dd43aaf2f2a797689481dff835cb2d5fb57b36be7ef94c8c3b497badba31166f4d474c1 DIST gentoo-kernel-6.1.60-1.arm64.gpkg.tar 65576960 BLAKE2B 77a2d1fe197186620cf9cf6d66eb11e7a1ad72a4ce26783f686f42ddbe18005d38ac98be3ff9369535a9c0c346536325b23cd037e35d24f25a1f58cb26fa828e SHA512 9942ca4c56a3d813f9e38b91b2b1cde6f53e506e7deadcd5f772da008ac658ba5ea0ecce546ce45eadf7008b9dabd8bc09f9c1d046c83ca2632b29a87fe99311 DIST gentoo-kernel-6.1.60-1.ppc64le.gpkg.tar 59842560 BLAKE2B 6da8e5e5e35f3ceb8bf47ddf6053396d920f484b944dccf344ea102b3ff322a6180b5e1c0948dd47bdc57a0e5b5ed10628a47c59434dac736f44dc5fae07e9bb SHA512 2967b93cf94b77a40d5cf190fd0db855ff15e15d18ac63ea3831cc10b865238c62208ceb68def7681e604b5beef20ac860738eb6e8a2c2421a565156cc97ec82 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.139.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.139.ebuild new file mode 100644 index 000000000000..83c6a5e4fa8f --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.139.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2023 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##*.} + 6 )) +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=" + sys-devel/bc + sys-devel/flex + 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 +} |