diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-06-09 20:05:27 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-06-09 20:11:37 +0200 |
commit | 4e647d4e200bb28798dbb8bdec3b044707611b30 (patch) | |
tree | aca417f6fba95c116a70adc35099798ce4d6badd /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 6.1.33 (diff) | |
download | gentoo-4e647d4e200bb28798dbb8bdec3b044707611b30.tar.gz gentoo-4e647d4e200bb28798dbb8bdec3b044707611b30.tar.bz2 gentoo-4e647d4e200bb28798dbb8bdec3b044707611b30.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.116
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.116.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 cb7ecbdca774..0a6bba2549be 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -6,6 +6,8 @@ DIST genpatches-5.15-120.base.tar.xz 4681108 BLAKE2B 7e69c38991ab3b5ec949f48fff8 DIST genpatches-5.15-120.extras.tar.xz 3932 BLAKE2B fb00b97c8b61234646388bec0dd23a1310a7bdca9d04a2048a32a4e30605662c7001188bc125170aeca2ded63954a71b612908286aeab06928dec00cedc76902 SHA512 c2b6ee91b3505dae7fe78a393001cdf6ac7d0020f8123f14d961b90d1424144996e182fcb5304d5890c041e2d940a960bac0795ebc22e85459285b16f67d9b3f DIST genpatches-5.15-121.base.tar.xz 4695588 BLAKE2B 2bbc7102194c0526cdc1f2e310871756ab87e5edf35273c41a2a8c26abfa56149361a2a8af68e215e14912bf2238c7610f60f69f88916404781488352fbdd95c SHA512 822e207359ef8ce3894152de6aacf66974d8b8bcbc5329dbcbda379cb6dc81d348ad9a38022abd05131c1a4df955426da25bf37b83ac06ccead4aa1277b2eb36 DIST genpatches-5.15-121.extras.tar.xz 3932 BLAKE2B 22ef45027450ffaafa2637aab88656c56fee375fcad14403693f94894cdfab96bb2b930cec4852babcb4bac86b07bbc9e6e103de7c871b91ef3004435e1cb785 SHA512 92b785c17dd171871dbcd841810c1e7da4fd7cc5027040340dd90f6bf97153dd0e300a6bc33e61bc7354b6e6648e3bf718d161ebacc5a4ed3a3e86e885181ff5 +DIST genpatches-5.15-122.base.tar.xz 4735096 BLAKE2B 10746c787ab70dc82b688b8720144b80719ddd7f4719e9fb2215b667ca7806b2e8c5626dd66b46f20c0e6d7e05352c84eea9cad93327fdd8edceb4fe52f43416 SHA512 65437aa0e53effa3eb84e3d7b2a0497ed4f4ef85fa96e75a8c591f27a610629193094c6d03dc676c462cf41a55bda5b5277c14726d48ea6ed59e8edeb92105d9 +DIST genpatches-5.15-122.extras.tar.xz 3932 BLAKE2B 35fdaa40b4b4e297df7f8702ab017f4c49bbca2aedc652c6e5ba8fec6b1573a57d17a9c7b21f03b56b43d9bc888e3d55354ceb92e84dde0a89983dfa1c3ffc16 SHA512 176deb6aef0eb9dace274bc4ca0f29a8d657461583dc9133feb4272211f910313fbb69fed308705f00c1c6d86845f1e961ea0066b09b42cac75a3579b3d3ed14 DIST genpatches-5.4-251.base.tar.xz 5798892 BLAKE2B a519f23086a440d560e5301b77aa1a627e97d9c2545adddc6fdfe9b55b35dcbef285a6e92d4ab615b517177723875a53b6b5f1dc9c237dec3f23acb511e08be7 SHA512 c8d228cb18f2c64631ee5a40d7de58e78c7fd2c452f54101d0e6f67149d5d3df30076b461dada5bd862e4b97daf30a6d15c3f50526b46156d9ffca946b3c65d7 DIST genpatches-5.4-251.extras.tar.xz 1812 BLAKE2B 440f5d63b80e31753c46c2c2bb07bfdd257cac6847dfaed63a19c9e255da0e6ca31f5535718572afa143918bbab9d8651b0d8462f5bce619866d78acbc063682 SHA512 54d1ea7625daff0c8d50f8abfba616378d8bc4c62cdfdc03648bec9312803464d0c662bfa619c357a73247c00b22b9725896cec5aaefc66ef811e0f97ff62e91 DIST genpatches-5.4-252.base.tar.xz 5808300 BLAKE2B d5cb4fe312f469a331269eca8604d9c43feca79bc6778af670fad859de3098c31cf0408fb58d95f233564e0ab2eff7a45ad041b8fc6bb97be0f93dd911224b62 SHA512 4970b66f064f53db230877fed6434e39aebb727438465667af6eca8603b712089830789c16bae5fe0249dfed0cb4bdbf1ce695cc7a1ebb6ab64bb61b1b38a5cb @@ -38,6 +40,10 @@ DIST gentoo-kernel-5.15.115-1.amd64.gpkg.tar 69539840 BLAKE2B 8a2b8dafe4eab7fc9d DIST gentoo-kernel-5.15.115-1.arm64.gpkg.tar 62515200 BLAKE2B 69432d84ffbd28591e23dca581021027c37a8a5440c06267a8858ab2c66ae18e5134f510b7b5d35651d2703055216a4c9e26045b4e1690ca2d47027a7fb37935 SHA512 beffdb2604fa10f9502a9596af00b80d930ccf2d528aa53c15a1fb025fa2b594289becf601b8ce3b0919eda17da0f0b54946770c12178d8ca2473b9be498e0cf DIST gentoo-kernel-5.15.115-1.ppc64le.gpkg.tar 57108480 BLAKE2B 1e1726f5c97ee2c8cf8da7a64d40a3e1023a81db30fdd50da24400fa6ea9135604d7de9801cde8e31a2ce52b21a7994e63cd545a5cb2f20785d77eec417694f9 SHA512 08230ae4466fac1b4b961398de4e5c2ee9e8514d10eefad44f6b91272a478a4dad31e02ce7a05a3298d8119e5ff8412f8f895edc14ec39dde07a7401d69fadfa DIST gentoo-kernel-5.15.115-1.x86.gpkg.tar 59125760 BLAKE2B 9677e10f53e21ea1132187eb618b54cb28e0922e42af750f8cfb8a6d2761da72544c6ec81380f8007824a94445c34a6f266e7491a41181d9a8d84516e24f0163 SHA512 85c55beb7d88e31c8c14632486176a06147e27ab0df8ef10328b2b52d737b094cef843e5d4c5f86661421d6d2dadc0cf380f01360ed1d8af64a96892e8235c58 +DIST gentoo-kernel-5.15.116-1.amd64.gpkg.tar 69529600 BLAKE2B a58fe916a4100eeeeafd7e67b5f7efe4fa32ed0a39d889a1f27bf62935d44c1b182d32eb79ccda4f3073dc1a3fe4a4a7c3889de1093d94b825cae5215fccf1a1 SHA512 34e7a29ef539760efd1f9da390d8f32fd3811090683627dfeb9f122097a408246a6a814e31faff47a43345138bd823200b3dec734ea73fbf3432ff2ceb59e9b2 +DIST gentoo-kernel-5.15.116-1.arm64.gpkg.tar 62515200 BLAKE2B 545af09a8f743b24d02c06736c7e7529f110cf7a84519f44613b6785d4942407fcc94896d5d39cf1d2b31132fbeeedfdf9216d0e7b0823f911ec0c22576d8e17 SHA512 f8305c6647d8dbd1fd8998aace059344f3af644d6ee7ba19f74a3da14a745d3880820e91faddb4a6c27d502faf40186e00c4d719c124926ccc1eb5e0ead57257 +DIST gentoo-kernel-5.15.116-1.ppc64le.gpkg.tar 57108480 BLAKE2B 9d357d42a7f550626553a382dd7afb325c5f4741c10bc065406cfc59e5cc791e0f7e28c1da5cff6950db24ddee4828326ad45b705aee9510041bb91940d35e63 SHA512 2e65a97d98f003df766e583e6891caf49b9bb197268f0fb9c288ef94e2e9eb9daf46884ab96d5758be592cf790b5b5397cd674c34eb820a8514baefddab6eba1 +DIST gentoo-kernel-5.15.116-1.x86.gpkg.tar 59125760 BLAKE2B a0ade34587b0d1c1850bc0bc693cba0665c19376fc89065051bda33aa9e0d488557831f2864f3eede8991a94868a364f9fc7880aa279944342236c2935dd9682 SHA512 1730cc90ddc07b07707d7bf65c53920906e62da239b1f8a6f30d386000409679e54afb63722995f1c13c43393bf309c93da2964dd8262a09c1c068a69e0fbf9f DIST gentoo-kernel-5.4.244-1.amd64.gpkg.tar 60528640 BLAKE2B 304077b1c25137f15984e4ce6593519186eccdf491eb98046a12194651ad973d9cc3a9bc83f9806b637e3898443c9fc0f97449528df6dd91c03ff1948dadb528 SHA512 a518e841d3b02afec7118cc344476fea2d643c9e71289bff6085e3bdd7b77e098e609b1d24336426192b5c22789f34e779d97441c6d5d22cd2b9d61b5712a9ff DIST gentoo-kernel-5.4.244-1.arm64.gpkg.tar 56535040 BLAKE2B 11eb5cdfaa750cb84a64f804af672834d971e8bc8df67d3c86dcb3274d710f4d4fca4ff8d611b520dcc3a9fb4c36be1892b7fc38d06bca84545ecdb4ac21cfdd SHA512 ba63594c7546afbace4eee7102c05d66f8d93d596baf889b0224d753d806c96715a8f2088237ae1142ab7b1b5cda96fab38a2af1600711402ee25aa2b5ce016d DIST gentoo-kernel-5.4.244-1.ppc64le.gpkg.tar 54210560 BLAKE2B 879d7c2ea090a0f09a5852cacd2409baa0efcc8436f266f02730f107ec3dfd90ba561a35bd83c5b5a7bbd68a193a4e5062f5bae1cd5fd7aa7079ea4d59b2f2cc SHA512 2bc13bc6f4823c2316d31c25494345abb79db4261320209cbce07b504eae4e70e41bc95af6ab4c01685fdba610836d5dc4de21e446972c31073ac0ef8ab80da4 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.116.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.116.ebuild new file mode 100644 index 000000000000..83c6a5e4fa8f --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.116.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 +} |