diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-09-24 04:24:57 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-09-24 04:28:40 +0200 |
commit | 8b266ec5f8935a59e6536376f5f73f729e078394 (patch) | |
tree | eb140fedcfced2c375f2ee346821e3e48d9963a1 /sys-kernel/gentoo-kernel-bin | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.4.257 (diff) | |
download | gentoo-8b266ec5f8935a59e6536376f5f73f729e078394.tar.gz gentoo-8b266ec5f8935a59e6536376f5f73f729e078394.tar.bz2 gentoo-8b266ec5f8935a59e6536376f5f73f729e078394.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.197
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.197.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 1d677db3f1c4..9652a97a3607 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -6,6 +6,8 @@ DIST genpatches-5.10-205.base.tar.xz 6004340 BLAKE2B da00636c3e77eeaa5ac26bcbd97 DIST genpatches-5.10-205.extras.tar.xz 3868 BLAKE2B ae605d0161ede2f929d907fcf91e39045882d409b223dda879ababc6096659687ddd4f8aa056c789a2da282fd7d5f8e0bed5d85807bbfae1b2731d6b947e6a86 SHA512 f3d23e42e2f11b6d59be715e0308030b71a2391ad3a4123ce219bd976561e3215693b30448ab7e0414f8864c4e6de67666dfebda07e55a01c5307e639c38284c DIST genpatches-5.10-206.base.tar.xz 6004212 BLAKE2B 2df3791b040648ff3745aa0f6d01d979ee7024ffc70cd540e68a07d2615cce17c15b8f21b9be4ed12a55e31a0c822c3ee1a13756fa4df52e46bce43f2f07eca8 SHA512 2f147b339762ddfae652ea2ef06a4657e480e321f15a706a69082c5291d020122d4a34ab1863bee349a8f37c855cb6feb4ceb7085a385cdf1b14ec65d66dea85 DIST genpatches-5.10-206.extras.tar.xz 3868 BLAKE2B 6af1a2e8a93e7102f15adb8ad44d0d9ccbc46ccab0c70c0633ddba9113c41ba70c40cf1bdf86e7b165f2e151290032551f3932b9ec28b534874fe0bc962c304b SHA512 7e64ba41b4c85fb92002867c638cc6a6b109fbdbdce0486e1898e64fda7051b28a7943a08147631e850a913c9311125c9e4e29a317acebc2298f667686bf3bab +DIST genpatches-5.10-207.base.tar.xz 6028660 BLAKE2B da81c9b4110317c9decd5c6d1fd1a4c0b52ba13175be589c5c9ac8b6eebba40b53308310728bc38156902e49ce07a8bf9b12f6997ae5007ca07a31b39dfe86bf SHA512 a0effd411b471cc8f668a7bfb565d0e2a8b56abe46fdffdfa4ab8bba314cb77d21dc5113820f3e891cfbe3e9aa77c5e551c276052686f7f412741e153da43b35 +DIST genpatches-5.10-207.extras.tar.xz 3872 BLAKE2B 83bda3267d82207c3b574eb3e88e79d04120b2d1340edfb5c7e1869a04beb6af90accf4bfcf16945e45ff8911e4c85e95d11184e2908d900720e934beba078ff SHA512 bb9e862d7096055e8a3df8af03e0d8268ab3ed749933a54bdf1f0eb7c36da5dc9f8cbc1c0a9cc683d188a354f1be2a77e61ae31b1dd15164068120b58427146f DIST genpatches-5.15-133.base.tar.xz 5249652 BLAKE2B 309acc807e07bfcbb34e0ae87618d6dbb76e6481699fc017f449e61a2518e96e1abaf43ffe32bb9f76786fbe8bad5607407be4a40dd8d26be484943d5b4afee1 SHA512 f0c689a808a7724cb4f30d697c22a0a089df3e0f837440b22b6c32672355b79898c8097810fa1e420e0f8c364f5a33b6c373db58b7c8caac8b67be763a820cea DIST genpatches-5.15-133.extras.tar.xz 3932 BLAKE2B b99e279af41ad1d19a58e8f9b1bbf392c805a46c371d7a022a65c0090b5824c6ce26280525a0c21feda2a5a5cfffcafc690a2194d29af6a44e10a9d4c923db8b SHA512 7cd772a6feed01543305417ff03b834bb002821ccf254e7f5481623a7f16b0b54da5fc72c21f4ae3481308eaab08fcca8fc5103ffbed58dc4355cfb661f04f8e DIST genpatches-5.15-137.base.tar.xz 5320152 BLAKE2B 9c2376c4aafdeb6f49b490ffbd15b70edc3c76dde6fd5eb863912b685d0393fc4579d6a402b5aed7c8081b4ae6c0bd5a8bcbf2fc3b92301f1ba1f582dffc5176 SHA512 d156b00a395c0d6fa623f84c4cdcc8266119703aa03aed96dee78f799535f79ce01cfd603c0935b4c0d2a793031cda5635c034358d9eedb0dd7b1fa307ebccb9 @@ -44,6 +46,10 @@ DIST gentoo-kernel-5.10.196-1.amd64.gpkg.tar 63201280 BLAKE2B 42650c45572e18525b DIST gentoo-kernel-5.10.196-1.arm64.gpkg.tar 56412160 BLAKE2B edf550ec8a85dabc2bba2f193b90f5a7f968f66dc0ba2c61c826c65b71c1a1ac4340cb8a2607e88b712b9ab59904d86c34dc2fa378ba4020d1e79936eee65ca0 SHA512 9da8e37394c3131a1d32ce2d15f27ab9fc26c6afa9e5cb91dbc53fd6229e20c255e90988d3fe99b3f5e13747e7c0a14b17e5820aaaeadd371dcd354b0f7301be DIST gentoo-kernel-5.10.196-1.ppc64le.gpkg.tar 52838400 BLAKE2B 0cd23358230412ecb411d85b11a6a5862c500956dbbd7d6f8df6480c31707ee9b58b42fd5cf96024e5d18add2da544eff6dcb442b52067da77098384ddb59bdf SHA512 af879412dbb16229d95b62c2029ce4f629cc047f8627ea6b8528e17bf37fc83c8608ca03c537e152d3d995935ba59df23475111042440929882568c16c93a1b9 DIST gentoo-kernel-5.10.196-1.x86.gpkg.tar 53463040 BLAKE2B 7a918a2016576467bcbba65dad2752ab305f511cfba9a9002779aa7feb860c131e45b64ef7a9f6bfc53d26dbdb522c451eb347421b386bad131e0876f5501194 SHA512 d6a77a441a65a7420f390fba98d594f6d1117c2c294e6add58cf7060bd231c136ce264c6b03ed2219baf805fc50963566c9ee9db4f43d20a6681dc838244534a +DIST gentoo-kernel-5.10.197-1.amd64.gpkg.tar 63232000 BLAKE2B 07ce6ca9e2d1185b6d7191e0a8be65c20b849d6e9db9d08de4de8c4f56802bd4d320b24810d9087a8cc87ac0fc432e2a4d04d1afd63022ce5c7a0c9b186defa6 SHA512 6671dec4d289a17b6d71ceb3a63194f06c2fd522fcb0844e2fc61ac71f547ba576958d28dfc8f4a33b0c2282e04aeeed1f3c0c1ba18910445244ced65a16593b +DIST gentoo-kernel-5.10.197-1.arm64.gpkg.tar 56412160 BLAKE2B cce4aeecf8f2d9be8cf5323482263d17744c19c47ecb4317f13ab150b32ba942942f9d21f0a455571f1ff97e3357012491c03ffd6201d16a9c4b2a999c30424e SHA512 755c03fbbc1f4d81b6fcfb6e963b116ccc3b3125aeed848aa561cc50c4d2ede5437c93cafa64a4831777898a91f94f99c4327af0ea59e52c91cdbce7151d9c96 +DIST gentoo-kernel-5.10.197-1.ppc64le.gpkg.tar 52828160 BLAKE2B d562015e81ca4c3cb7f7746dec03fac0a8ce17b356cc833c19f3866f7819faa9ed282de977af99baf2089b00df4bfd62d527ac4b4dbfd6c9752da2500436fbbc SHA512 64409775f0548a1f7890e01e49938ceacff0c7491d89ca96d6064e1324fa4517cbe3484fdc70a16d9c5deca7f5e4efc3565bf1526ca94b4239739b3d38dfc2a0 +DIST gentoo-kernel-5.10.197-1.x86.gpkg.tar 53473280 BLAKE2B 67529d83d34d621cd3878e73bf7af96656f0dfcafc10020b7538e108b921a14ef0a9f6ced443da3db12405e3c94d367fbc5b2501e51d9fcf9e0d3af40c286e61 SHA512 a39e51f3c26136776ed47a10544aadf6f9250fdfe143dc9f59a10f67f750f92eaae2e7e1f4734ad4110759e77dfb9ddc36c38d6a103fe03f14cfef02e16dabdf DIST gentoo-kernel-5.15.127-1.amd64.gpkg.tar 69560320 BLAKE2B 3d7cd889e605f383667d3b121f50fa7a80ec7924cc07d6c5e23cc703d485f6be5d1bf79f245f4804de95c9603932e2c6bb575a7f98b6ad2573688961b75e2391 SHA512 2e1ddc7e3dc121534f6e11732bd570e0cf92580deeaf78aacd715e266e0b3dddd62494540582441376d7e037d6b8d735c7ece915aa5d112812c668ef3c4b28c3 DIST gentoo-kernel-5.15.127-1.arm64.gpkg.tar 62525440 BLAKE2B d98dad69fbb250ee49a5f41f69cc091c3fa1fa6968f7575e9b381a9437b98f09bcbe3f28b1497575aa9b0416bbcc2740c5b030582203cecf1e84d72658022dc0 SHA512 815c53bca0542e04436166fcd33e202a4edcf35d85add66d2ffb435918623c6b4e17b2ebd3bef302b7509c2c1ac71cf89f81408b52b722ce16e9c445fbd747c1 DIST gentoo-kernel-5.15.127-1.ppc64le.gpkg.tar 57108480 BLAKE2B b8dc7368a0599f1f20c177bc6a9d4df2f3f0989cec52ae00212abd9cab7582f1530be1760e25590b8670e4fc12454b19e24d2edf3cbe855ae812b6ad932a443e SHA512 36fd01948f6004817d83661a9bb39139945118c31668fa8aaa4fe2474dde588983b3f3a401a66025a91ca811cc1bc33c15b947d61e6b6c41189c18b4bf76a08b diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.197.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.197.ebuild new file mode 100644 index 000000000000..fb165f3f0e91 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.197.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##*.} + 10 )) +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 + 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 +} |