diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-06-05 19:45:42 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-06-05 20:35:09 +0200 |
commit | 840b384310a95c823438376bff3e1a779112f628 (patch) | |
tree | 61323fe918cc4b8d0ac817625c783d3d91f0266c /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.15.115 (diff) | |
download | gentoo-840b384310a95c823438376bff3e1a779112f628.tar.gz gentoo-840b384310a95c823438376bff3e1a779112f628.tar.bz2 gentoo-840b384310a95c823438376bff3e1a779112f628.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.182
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.10.182.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 93bcd3a113a0..94fa4a467c53 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -1,5 +1,7 @@ DIST genpatches-5.10-191.base.tar.xz 5394880 BLAKE2B 604549d0789ee4ea8b965b4aec921d1c5839c601019f4facb1a697dfa983476eea807d0ab9b6a37db3baf883657cfe4c016c17771400886cf8e56c313659b2d6 SHA512 b43980108645bf01af0ef00bd96ba0ddeab16439d6e26badfedefdbf02a4f9459e40b5ee4c72a26052a04ba6756ee1f8cdfa403e408f4a308050e2c8168c3a48 DIST genpatches-5.10-191.extras.tar.xz 3868 BLAKE2B b0c035f8e43faf78344a1f413c6030fe2001216bfc9381e402e3fee7edb3cf2798042a3a3d62db2b429f53d6a68b445fb25c9c0255bdbb85d5df00c6388584b1 SHA512 dc29b28784cb160ba0a24921986b905efd8d624902b00994829b99bd383551da0b1b4419ec8b91626b896cfb3997480a62fb9691b497b01f331db1450b09fbb6 +DIST genpatches-5.10-192.base.tar.xz 5401408 BLAKE2B 1e84821002dfa2af4f57f5cd3addcd037524cbfcf9e5cb7171725363457c6503f46b5bae92ff04ed3500e28daa1c9ab61dbff2495281732b972300284af3e7aa SHA512 edbc567165df20906acc7425d56ea7feeb3e9d402ea0d175a3c627b300eb33675552ae36248ccefc67584e2120f9e3f098ce204e9aa3858c443ca58c1d34418e +DIST genpatches-5.10-192.extras.tar.xz 3872 BLAKE2B 8ab3d00e158a52558ee28b82235fd1df510953207d18073ca2fd8114c64c96742ec69dde5959273c451803b0f534ed7351cfcfabe3291bcd323cdf4d317a5610 SHA512 a93b072d731f9bcd2e4d50af05902ab50b9145aa5e5b02141f203ad0b4c82b308c0cb599fa6f790b84584197c65270ec701ec94a321f39e745625803a3d6093f DIST genpatches-5.15-120.base.tar.xz 4681108 BLAKE2B 7e69c38991ab3b5ec949f48fff8564c854017b8bafac61747eede20f79d71dade59effaee29fe849b1fdbee7abcaeeeef3f55a39b95b96bda6a70af05a905a68 SHA512 2be319896281e7cab1646da40a3067c3815270ff5fb29edccda9138862a39ace2192a1cd38a4232bc14ebed0d6c0c877a9fd58f225d7cedca743664e2a993025 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 @@ -18,6 +20,10 @@ DIST gentoo-kernel-5.10.181-1.amd64.gpkg.tar 66344960 BLAKE2B 695a7b9e525e215bcf DIST gentoo-kernel-5.10.181-1.arm64.gpkg.tar 59361280 BLAKE2B 9f865ca04c20ddce039515d6186f0898db5b6d3795cd4f1726f8342b145698d5395c9ddf091b85028b47b8c14daba5c1ec2a1eb067eb61630d50e8a126413abb SHA512 e01378cbe070aa028c31252d3dd5fa7eeebc9be4bf5931a6480c66fd35abe1dc912f52bc03749eac2e8c751e3628026fcb7f97c0b4bd303e8300eeeb3b31c758 DIST gentoo-kernel-5.10.181-1.ppc64le.gpkg.tar 54937600 BLAKE2B af93d42efe22e9b2cdc4c6914640f048b59e7b7e8953d4f140d825060475d5cce9fa3822bad953c4b8c210b65a00df310ba20fb55572973039ed3fd21bf5de8c SHA512 146f87ff17cf4c26e8450d5904c359481893426104479ccb009b384e4643f6b7802295fc4c42fbe7e42d8ec70ec42c4078e721d6c39c173348753a9d3d244c7e DIST gentoo-kernel-5.10.181-1.x86.gpkg.tar 56473600 BLAKE2B a50dc4edd10b212fb326fb605c5ccdce2aa9625c0393c1248a8f21d7ddf81b28836c03f17bec328016f913d74deddba2b10cb6d6677c5bba7b0ab5cba62a91ff SHA512 db142fd10b5b82d6300842e23797ebb94b51fdcb9e107fe255ef904d5419e0381eb9ed3d3fd7c33ecaec31ecf0d28caf007ae84da00cd400406abdaf06da158a +DIST gentoo-kernel-5.10.182-1.amd64.gpkg.tar 66375680 BLAKE2B cfad675c17a5c4aa26b7864b8fc130c2fca7ed5d789f7b96c988389146cb84c9c6db2410f16c68ccbee5832f08e9cc8f180348de0f960f2c60ec9f356e408bc3 SHA512 b6025e23dc63fe056e994b99e6947cc68a6fcbc2124fc07ff7f7e85f1f9acc0375042527023fe8511fe118b20d8b1411f5f5b03dac2f7b63d746251a1d59d4d4 +DIST gentoo-kernel-5.10.182-1.arm64.gpkg.tar 59371520 BLAKE2B 66bc7e28658473cd2b43343e2d88d641b4653594e50e9963c3ef79b8523fc0360c4da460c7454715770f3573ebe313a463b3bb6fa0786dbec9cf697d498a75b5 SHA512 7085d1a293e39e2e25c02df55d181961a4a82a5aadba75cba6ef9602e423c5ccd784daa505ba3c992c120c8ec3da6c0aac9dc4f3b9f8060affc6ffa5237c5496 +DIST gentoo-kernel-5.10.182-1.ppc64le.gpkg.tar 54927360 BLAKE2B 99fe7ac3443a169260e1767e14d9744064ffca52a3292652dd28b2547434d1d045b0064dd10976d01a46b718fa3d6798b5e04c0c0cb923edba493715ab1a6043 SHA512 4a5ea6a9eca8346adc43285bd14e5ae641cfc0bba783139f119d641d940f68c4fa8b4544eec814d5b6f2dd1885fe30c3eeba8779272171d2878ef23dcb7f87f6 +DIST gentoo-kernel-5.10.182-1.x86.gpkg.tar 56473600 BLAKE2B 89eb3861a308e16530166ee0e380e5392dfa6ac5aa912241e4a519824df55298e3975d025dd874fe9a0c9f683cda04df84ab062f7109a7b1697daa6b033c0616 SHA512 50565d44a3e02ad07275c2547cf82a48ed48cec9aa4344dd024dd0a7ede6df431204b12b6d370e10192dcb8f24752492ee09fa55866429c27e997a8792b51f28 DIST gentoo-kernel-5.15.114-1.amd64.gpkg.tar 69539840 BLAKE2B bcc43fe6a4e17363f234a4e1bbc6cb4ac64f3d39fcf80258a7d3b3d4951ed92b165d5dd7e2f0921ccb75300f8a9e5058783752bd2b4944ee30c33e5241bc56c2 SHA512 bd63fc27132d722391a23884d60baa5cf407c223d519d46be3c47eb5c9496b0542cab93ce2bd7c7a4d8d52e19b8dbdc6595a6bd25ddba89f1a467a85aaa4be8d DIST gentoo-kernel-5.15.114-1.arm64.gpkg.tar 62515200 BLAKE2B 985311a49f8314cf5787c51dfb683a4372a842a4976352f220775afa8c335ed73e15deaaf3dc5be577d4ef9552dfd6e42bdb75295836aa71baaffdb75dfe24cf SHA512 3b182db4df94d3ad44e712284fc83838ba3f1676639fd57ace8d9346429f4dbbe3b011fc86317836fce2c240d54eda363a1465aa9e514eeb5dad9ab533a7bf9d DIST gentoo-kernel-5.15.114-1.ppc64le.gpkg.tar 57118720 BLAKE2B d825703befacdea4409fdece540ff5f940cb7b91a57e8e278cd3d345588029f0a355b16256071329fedb04e29b5b43d07443591fb1c238a3e6760cd89e0b5b1f SHA512 bb734a8e2223ca26fefc4fe3234429fde15b3c6368544b9a45c7115253280c43ded8795ab2a0c02988d30de90ee71167145336be5476cd1b4c43b9a68f2a7a92 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.182.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.182.ebuild new file mode 100644 index 000000000000..fb165f3f0e91 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.182.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 +} |