diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-05-17 21:15:05 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-05-17 21:30:15 +0200 |
commit | bb0a0ba42e4b3081ab91ec2f2f62636ef343e27f (patch) | |
tree | 88befcc24fc2a6b19fc057ad29c42668a4019277 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 6.1.29 (diff) | |
download | gentoo-bb0a0ba42e4b3081ab91ec2f2f62636ef343e27f.tar.gz gentoo-bb0a0ba42e4b3081ab91ec2f2f62636ef343e27f.tar.bz2 gentoo-bb0a0ba42e4b3081ab91ec2f2f62636ef343e27f.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.112
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.112.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 ebd0c63e7703..02305dcb7404 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -6,6 +6,8 @@ DIST genpatches-5.15-116.base.tar.xz 4433124 BLAKE2B 1ace5f7ac7fe7dee5ca92c8228f DIST genpatches-5.15-116.extras.tar.xz 3928 BLAKE2B 0130495424324f43fcb5f29b4178c56b43b01c4a7ca7a3b95ac07130f44d6875519d0ee79d9cf8a9912bd6c6d8bb81a0adcd17f27da1e59e24f19073d9a20cff SHA512 ece809c981c8d2c5ed7ec66df69dec3920cc75e7e43145c0ca5dbc577e16cc58880d449d8503d1863974fd2fb707a403b5a9b5ad02d9835e01c45637fd6bcfd7 DIST genpatches-5.15-117.base.tar.xz 4520724 BLAKE2B a495289b18d587d3a02d792644d09b63e0898c65dd88c23cb96983097bcc18ff6a06ea34427c7ea414ee8e93ccdb84d9963265b9bfd52eabd44d50a3b56ecb4f SHA512 218ef84108ce10983a85f3616ea3876dc616434e97add82e201758325c7f6bc3dce14273f86f5f1729c33a8fcae2111b241969ccdc53afcff775d7d683f2588a DIST genpatches-5.15-117.extras.tar.xz 3928 BLAKE2B 6dfd1c20d2f57e42fc28d69bd28d89b30da88a7528849a5504b1d4bf2aa6aec1df6419c68214acbaf971513ee7889bb8647c6b7f294f50da817195380ed8a862 SHA512 b7c95365023067b437751c8f1963f971cdb1cddbc6571bfea841e38d11f4f800f47dc732e8840ac5399ca9aa62e600234200ecbe3f8dc0dd63fe084d4c08b3a0 +DIST genpatches-5.15-118.base.tar.xz 4596840 BLAKE2B d33cfad9149f4f80c98c649c52b794d03619a4d5c6d9923c93b4ce3d7cdb6f0fbf3ba08f1f3c3b93cdfa37d0163ee31f779bf232d36a0b34fcbf5d72c2bf5113 SHA512 5f51627047fa24a1a2dd548c4e2a2b8a7da2315ea06818d7ef9f592d7166baf65f80098ce5b24d243471a0aa8b644c590e4cf4b36f06053d7479f0da079ac10e +DIST genpatches-5.15-118.extras.tar.xz 3936 BLAKE2B b74dd7b0194cf6881ef699d0b1db858bb8c44780d5263cbf136f9d181a48420ae31886cd762f819a91b21a2f2acb83f3c46b1950dc53367d8efebe8c86a9317b SHA512 1a3671f3abf8ae04afe50639fe27dfbc07f9f51b297effcd587704f88efda801d3df3255f9d04acbdf4bfac9986a2788a54f4e9fe22344aa0166bbc3de260880 DIST genpatches-5.4-249.base.tar.xz 5692112 BLAKE2B 8057ddb24ebbd5ee1b4fb5f5a36b295c4e8ab857e407c5b9e061780e1d23ecca7ab5adfb10ca4f6733a7776c2aa6e353419257c255b07bc991ecb6857aa31555 SHA512 b0057da850ab5368dcbf2b454d408b72204150cc2643e087d2f084c3074de22ce36fa4c319552b90d9059ba279e8dc6551cd6348c3616275b050167bfdb58023 DIST genpatches-5.4-249.extras.tar.xz 1812 BLAKE2B b6b7bccf77851a17e8b514439a50c44de954ff461af71414c325ca5c0a65d7a79ee92f7a8b708afd28a3433acddd13aa3bbd5afcd82b4181e57ea05b008d7090 SHA512 c4977abc2bbb1c2319e9d2e4aed38419f9e2a70813e5f28d2b799533fc945574d9fee21c881b6dd4926a9c2ebe74ae414ada4993e3fcbd117b6536f983533282 DIST genpatches-6.1-32.base.tar.xz 1474460 BLAKE2B 43060d16a84ca2c65ef9d7447747e6b857423134fd518e05c3c052bf5c664c9a0f8af97b84e7d911c84766cf478b71695537a3c56a367589bf37adaac032a7e0 SHA512 cf8bd867d09b68a197368c546ffa4c626b1c30f0f7a63138129d3abe8a0479c88717dff6ea0a79c53d7f108d2a1fedc433b7b2088e20f082be921701e5d7d790 @@ -34,6 +36,10 @@ DIST gentoo-kernel-5.15.111-1.amd64.gpkg.tar 69550080 BLAKE2B 691b90d29f4c6fadab DIST gentoo-kernel-5.15.111-1.arm64.gpkg.tar 62515200 BLAKE2B 32f5fc8ad141f60d75e744c31b22ee91a6bd2ae6f61629e9cb0be5850f90d374244ae8162936d4f34137ae588ff0756147893e8719f9707df0ff0ec311aef494 SHA512 8ffc397ac61a010fea27255e37040acf85e499a25e18b5c9a4b4757c3dfe53a0fc11d1dcb9a23ec431749a19ed6253b345f74eec732a31a81c70ef28a1256cb5 DIST gentoo-kernel-5.15.111-1.ppc64le.gpkg.tar 57098240 BLAKE2B 9e34b07d44a5a28c325c811a7d323df77e45ae97bf4da44aba2bfd5f0fbf3c59231e740485e74d63b43ab876fef59ec2db708b00d5128326068a01cf337c93d9 SHA512 27ddca360e56ea137281032336fb90110258ea73b4ae9e0eaf3c675e2ace97ccf4a49128e1dee7b89ac9172197a07e6ef924999be579bcfdc441d4cebcf2e3de DIST gentoo-kernel-5.15.111-1.x86.gpkg.tar 59125760 BLAKE2B 286e4037080805babcabba35f6dbec395456576b75d281f80c1b3de0b23f5279e5c11ca8f1dbd69e35cfad7f675320c512970978cfa1b4cea07aaee7cc3e21d7 SHA512 2fb6b2ef32980dfd9c8a3e2a636deb83fad7222c19a43a04716a51ce364ffec7007e3d20b175dcf5ecc75b44d629987dc804f811582706d7e7fd799e4317c66b +DIST gentoo-kernel-5.15.112-1.amd64.gpkg.tar 69570560 BLAKE2B 7f3b26e8c79ea526f880edb61a6d0e250b52c97f38e3c8a3ec7b75f89a24380b1eb4560e5c1c9b39968b5d983c96043d3cabc0f18e963fb58f5bd1b8fe4184fa SHA512 6d7eb8481eef3230760cdbb69b6b14ddbd4819f0ec58d2c1cb10a692f9083488dd930cbf1d7e013a1f69033ecbc39988b6955d3fc4f1d750dc662752426a2452 +DIST gentoo-kernel-5.15.112-1.arm64.gpkg.tar 62515200 BLAKE2B c95bd9a3318b1418f1a3863caed82cbb7a17aaec97ed3bb96d4847299e1f77c1b88f96f6368f929169bbd210e3e7e30750fe3d12ada05b5f6adebe1c2559cd10 SHA512 0c6250f1ce3220e411ed857e7183a76ceac9a1daa935373213d980b04130fbc5a757d40a682d3d4d1a432af72ffbd031b5e74c9af34f7bdf58fb704532546e98 +DIST gentoo-kernel-5.15.112-1.ppc64le.gpkg.tar 57108480 BLAKE2B 67548c038c5382acdfc967ffabf77f9e3c788e0fe84776bb6fcd29f6efb7486f27cb6c6df2fe17a086966d5a3b321e6bb1d35713d84ade5cea09a24714470ea5 SHA512 654e177e28840c7c5155b555c2754e853044f60dc6f859961a49a3d685e135d38cf1bd4e1e21fa540c0d0ff7838062a7eabb4334238541d0a0cc913a97e5afb1 +DIST gentoo-kernel-5.15.112-1.x86.gpkg.tar 59115520 BLAKE2B 743e4c071034d38171f62f53d2faa0abc69b466a859b51b33acb2efca6d89f8210a06fdcaa529bb9e1a6450830a7e96e432161f6400e0609252cfa81003e8470 SHA512 09f5689748653fc73a7c31f7f95e087915a6216105faffb5c3254e8908dc400bdf177e6dca6ff99e1f7c0cb758180141c3c5cfa1991c8bef0cd18ce9c4b8b783 DIST gentoo-kernel-5.15.98-1.amd64.gpkg.tar 69632000 BLAKE2B 559df6dda38c4945b6c76f6ccad90a34877918947ff479ffa9003a9cfc4ea697a95523957efa80853fee2758097fc5bbe3ea8076711f898a3ed84a55e4221b23 SHA512 0f6d4ef5edd054319e2ae91cef39af6b7debef4e093bc02f7d476c5c64517aea5f36ec88fa350bf8c5214d00cbaa1502b57e03c2f516d5e49f2cf0ef194444b8 DIST gentoo-kernel-5.15.98-1.arm64.gpkg.tar 62566400 BLAKE2B 1345fcb22ab95f56cd8671f0775493b8f20a7be825b2a05abbebf1014f26d7144d016f7b58312bb72bcdbf29cdae36fb8f52e4603a83b260e3165fa1980d3510 SHA512 dbd00061e90c43ee701e75ba66075c3c63fbef63dcd562460ee6a661c2b7b48c78f349e19f9c04d633892034c276e6361a6cf6f7e3802bda6156af0d78e1310f DIST gentoo-kernel-5.15.98-1.ppc64le.gpkg.tar 57098240 BLAKE2B d9773016f82e87064775640755d6436a0d86b43377756bd9e5a00de39ec6d6d507b6a6e270c252b851d58d7949e083ee18ca2074a0f3811e16b33f2f6806697e SHA512 de759acf2e94f6565ee7f945930cb2b33ba69b7e3916e47c90e13ac280e20a668b95fc1c5f61369c4e6251c91505911b18979ba9efa2595223da8e22cfd71ff9 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.112.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.112.ebuild new file mode 100644 index 000000000000..83c6a5e4fa8f --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.112.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 +} |