diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-10-26 18:32:00 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-10-26 18:38:08 +0200 |
commit | 0749d47c415ed6c4e4484862f180abb11de05059 (patch) | |
tree | 6bc4ae6d76c86305725d465a09eed2a9021efcc3 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.10.150 (diff) | |
download | gentoo-0749d47c415ed6c4e4484862f180abb11de05059.tar.gz gentoo-0749d47c415ed6c4e4484862f180abb11de05059.tar.bz2 gentoo-0749d47c415ed6c4e4484862f180abb11de05059.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.75
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.75.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 7ce6414d827c..196677610be2 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -6,6 +6,8 @@ DIST genpatches-5.10-159.base.tar.xz 4292244 BLAKE2B f2afd1af247c7c7833787f4fcba DIST genpatches-5.10-159.extras.tar.xz 3868 BLAKE2B 2cd0fc67c5b6f89303e3dcf5492b944eb048623c3ee865521933793af8cc2837d841e5f740035b1ad46a5b2f805f6fa8f1004f824ee3967c545c417e7c3b2513 SHA512 3b5b76c7220c1068ee2d29c48635655af4a227f542a870c3c140f7eea256f3d3e2c3df160c6bf193e595f150c2b51f66818c646af1ba679f94ec0c4086fe8b27 DIST genpatches-5.15-78.base.tar.xz 3076864 BLAKE2B e868bff991ca299fe186380ef4e7222029fadf1eda5adf66ac6861fba5febcb222c69db93dedc3280c45a4a222f5800a497c12dd47425071b7dd5263ee680c3e SHA512 5018436394bc934ee2f0b50a3b012fbf86a615108bbf16d18d636b202d66d2bb75d9b04cabb87e75fbc7360c137ea52961609e90643caa2d9779628fd3292b60 DIST genpatches-5.15-78.extras.tar.xz 3932 BLAKE2B b971f35cd6b525ea2fa675909790f489b66a1bd96403d12acf47ac2cb00218181ad267649d143e37f2cc775f4892c0e3a24817c9270c27c7b937b69ad002000e SHA512 6973da0d4dc2d48c5c481a45581ca51449957bb662dc8520ae00a23056dc25f2b9d419cd2ccf9fd5244313ee2eee0b907cd367259ae1d27cbd226bbe8bbced32 +DIST genpatches-5.15-79.base.tar.xz 3195612 BLAKE2B bf8edc209ecc99da4f4c05b575b095992e64ca421e9848a75ef1ff7bca84377eec93ac3bc7d23bfd4c91d529cbf1693e231b606b27ba2ead46e9c3037db10c21 SHA512 c8cdadb66f904f2083f713a58bce743e56e27440f01fe98b3ddf82aaa43401c2fabad029060e7c01590dc294edcdfa8ec6c784f24ca87a1b9fa8703ed626e4f3 +DIST genpatches-5.15-79.extras.tar.xz 3932 BLAKE2B df50c7ce655f1f81d46ab6f077963afb0997ed2f6c0b70aa49c34a445d3f8938cce7201b75221705fe27c0a6f699dc553f932eeee7960a21dd89e3c55dde9306 SHA512 31e8c8aeb98e01dd1e0b25c51cfe48d5b6bc98617833229b283d35da6d7572b95dd8141592a2350ff01554bf80d918d2137ef2eb248c483ab22fc3db20a11fe3 DIST genpatches-5.19-18.base.tar.xz 911172 BLAKE2B db20a811ffc927b01dc389fc3d959809442fa4065fc2951b992561fbc102e854b5fd8dd17833604458e95f8bcec23c75ae94095df90745b489628e52661b5878 SHA512 4e9b9eb22f6a3b634964c35241a9a50517228787f6bd7f25f2de3ff82336c8d0acd8b2fe703a9595ed32776d64bb66ba518919f597948922db6791c10c572b67 DIST genpatches-5.19-18.extras.tar.xz 3808 BLAKE2B dab7e5596066c9b70ebc2b7413ec7dc9c35bddc29f230dfdc74a9594706713a6807e0ded167eea3ec6a4bcf0c901404bb4fe1a71fa1c8aa265c599b6a1dac8fa SHA512 f39d76551328f9e8d1aa646e819282096bbcea1cb22902fd087dec878a7d673aacb517441a9c213e85a03f2f15768e1a252f103ca89f1b84ef994a0998416bb8 DIST genpatches-5.19-19.base.tar.xz 1098964 BLAKE2B c79251602e677d36db4f923ad148422c1c19d9e35b33d1eead75f317ac468ba919baa0c61a690425714bc0b29d96eb47aeb1c960ec4192ccb3905df752f81ab4 SHA512 bb0ed1e481a78f8f65229db777c5d8031edbd3d31cdc0ed45e48d4f5916b838397c1ccec5d465d957673494469290a1dffc8a4466c252395348c8160f2f5cc67 @@ -34,6 +36,10 @@ DIST gentoo-kernel-5.15.74-1.amd64.gpkg.tar 69908480 BLAKE2B 377403f3eae31f8ab48 DIST gentoo-kernel-5.15.74-1.arm64.gpkg.tar 62986240 BLAKE2B 48394734bd5b23bf44535f41ece63640da5cfe7268d3e186074cd416dfb8dca2ce887758c436525c1ac8fe4e198ae3d74402953e64e86b09367bcd6230292180 SHA512 5155ba03a4067bbbd580e0ab50c82df032dac4ab410e7261c70738643bf66be3754f3dd5114c31fc740d315b1aa7882a16228fccf3bf72c91cc24eccc1a6e5c9 DIST gentoo-kernel-5.15.74-1.ppc64le.gpkg.tar 57333760 BLAKE2B 1b0f791484aaae6016ee4f4a4afa93fad2bd96fd98defaa41c5a04190170b5b348ec5a8aaeabba688cd484394311eb207009c776a9850376a133d1b5ea0219a9 SHA512 b8c1cbfb173298fcc58895f9c2d843a1b344beaf8ce6901a76314dee909c65fc2e943f1100b29897cd7c230ad52fe170a5beb2881bff11fac6ca03ecabfad73a DIST gentoo-kernel-5.15.74-1.x86.gpkg.tar 59125760 BLAKE2B 1b681566ba797791884b90fb43402e7b4a3a35bff7fa32da6142ff159023fe81428e5e58b2be46443939a97b4832bb3ff338d2642a6c406e8039d1afd024f8fd SHA512 0fae3167e687d23802816eb115e1284b4b2f48b569f45a4dff9aee7f9b7a192a80cd8b5d2cb0108b36ee522f4eb9b4d995c7a034b34f15b06474c3a4bb9d9773 +DIST gentoo-kernel-5.15.75-1.amd64.gpkg.tar 69816320 BLAKE2B 738b6bc811c9af719007d4333c90751117281d2dc7db5722c289dd5d44ffe52381510e927c6e48e35f6204f67049b0962ffd1e4406401f0d712baaebd8f79511 SHA512 c732f731e0d9438305142ff6f8ca1deb2935ad23b694892e0885ac40a08265e40fc134cf31351fd0602d43276d8d08dda777a6baf2492589fa0ae50b1ebe8070 +DIST gentoo-kernel-5.15.75-1.arm64.gpkg.tar 62873600 BLAKE2B 823661948b075c438dff583c5b19602d2a7faa9f1e05bd5d8f036d034d468f91605600c15bbe62970ee436510ac1898afaec6d58461749a5eb34b4175a63f1db SHA512 9e9a19bd2c2120bf77918047a4ae728074a88d29d207628c077b0c4ee425ae0b9c266dfcd22dc1204e7c3871927d797aa7bbfc759fca0efd484edeeee1a2f637 +DIST gentoo-kernel-5.15.75-1.ppc64le.gpkg.tar 57241600 BLAKE2B ba82e45ea411b343c92fdc8d9c06565694e12955287451bb148d34a374004f68f9e32cfe1535dcdbc3e574018d8a3119e7d8c97c2d5f2b3ccbd0acf8ce497669 SHA512 c3a6d0a85d227608d5b2416360b9d597176b83643160b6b4a61f8a6bcdbe15c89ac9b6f0aa13cd4edb9100fdb666ddeb09de765b1faf5970360bed2546e93898 +DIST gentoo-kernel-5.15.75-1.x86.gpkg.tar 59136000 BLAKE2B 70bb29c55d86f26d531947850fa5c0ea668b18623fef920bcb60ffc222e7d607fd81dd8af6a653c1ca6162e025d697e5181f500c67726e92716e58f3942b2acf SHA512 f34b61b5302b2f85e9651269371d282ab1b6bdf395cd8ac90916cf59136941873811ab27f45029216cb97cdcafaa0bb1e1f011eeac3848ab434bf1f29885a14f DIST gentoo-kernel-5.19.16-1.amd64.gpkg.tar 72704000 BLAKE2B a443464fa1f3a7066c5d1d27b8a59e45219823ebd5a9378c6eba58a785e839bbb707cc793afe97722e1e758365785a70b695b170bf007403fa48abec159ecae0 SHA512 05bc4b80fa439e601b0237396f0231a074aae0af94051d2c726de58e17db39fffa44e9c4221e45ca7b09046df74547378841967993af4443c6d099a26744c744 DIST gentoo-kernel-5.19.16-1.arm64.gpkg.tar 65198080 BLAKE2B d8d5c440c290a8ebcf2c6735705fe7134859052a8beb8b7a8d333939e6467f9b41659456bb10d8e2a79fb1a3c0ec7efdfefb89d220f951d3476bb2c68a0a8413 SHA512 87c2a5ca9a7f551e1801e68a7bf23d828aae415140bca607e1abccefa296f14ffbdbf87543975b7db732bd06493f2b112de6d652eb8002d201cb1a27d116e366 DIST gentoo-kernel-5.19.16-1.ppc64le.gpkg.tar 59146240 BLAKE2B 4d208f55cec56233ec5156b34d34d9227dc65b1e95b953d82eda3451078be716e4a73ac5a6e77a260b50fb5abd8f8ceba91ae3abbbbe8d8d4d8a2f3d1bf10420 SHA512 ec2dcfc74804fe4e5ffa710a6520e42084a7c4fc80400dced643f37fa37ba65545b3bdd7563aec23f55297b34913a5dec03eb419214e51aed12d1c1eb1a277dd diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.75.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.75.ebuild new file mode 100644 index 000000000000..9c843f83530a --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.75.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2022 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##*.} + 4 )) +BINPKG=${P/-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 + virtual/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 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 +} |