summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-06-14 17:01:12 +0200
committerMichał Górny <mgorny@gentoo.org>2023-06-14 17:05:47 +0200
commite1c5d95ff4e54a432e9678f09f3ccf65faf64953 (patch)
treead63e1a94deb0e13e57dad2b5b011dc3e8eabc0c /sys-kernel/gentoo-kernel-bin
parentsys-kernel/gentoo-kernel-bin: Bump to 5.15.117 (diff)
downloadgentoo-e1c5d95ff4e54a432e9678f09f3ccf65faf64953.tar.gz
gentoo-e1c5d95ff4e54a432e9678f09f3ccf65faf64953.tar.bz2
gentoo-e1c5d95ff4e54a432e9678f09f3ccf65faf64953.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.10.184
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/Manifest6
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.184.ebuild127
2 files changed, 133 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 3118d09de883..78758074969a 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -4,6 +4,8 @@ DIST genpatches-5.10-192.base.tar.xz 5401408 BLAKE2B 1e84821002dfa2af4f57f5cd3ad
DIST genpatches-5.10-192.extras.tar.xz 3872 BLAKE2B 8ab3d00e158a52558ee28b82235fd1df510953207d18073ca2fd8114c64c96742ec69dde5959273c451803b0f534ed7351cfcfabe3291bcd323cdf4d317a5610 SHA512 a93b072d731f9bcd2e4d50af05902ab50b9145aa5e5b02141f203ad0b4c82b308c0cb599fa6f790b84584197c65270ec701ec94a321f39e745625803a3d6093f
DIST genpatches-5.10-193.base.tar.xz 5429232 BLAKE2B c8ab1eec55b3e282af48601c93a6e53a2974e7b255f56346954c93976ac9870117d91a6b9e8809cdfd0cdc27ec4a3eb292e7d9b10de6ecb7b8c54056380ee875 SHA512 44733f8f09f34bf792d0c7dfb6915902a71a234e8e4cd975316ceef23fdf414b01d1e97e317e48dff7af38ac2a04391ddbb0b8ce97ca13088eb1518bccf44390
DIST genpatches-5.10-193.extras.tar.xz 3868 BLAKE2B 5261a2132d49eb98e7e292f577eed23ba8da86f3b05b57a75d15543dd1ec0c424f4dba04a39aea6b12e320792a9f0802be6d7876bc64a1f864abed03fc8e0c36 SHA512 5383cad41ca1a0fb2933de4fc07207562ff572231f17398ab9958012b3f27d382b2043fbc9fbd784ec1d5f666f0baaf27e75d0a31473c56779f4cb1a32d89707
+DIST genpatches-5.10-194.base.tar.xz 5453496 BLAKE2B 839e14bae65711a5ef31e8e5f32a619f4bb04e0adb88010ed12023737a1729a11e7860f4043a980b8f8f2d4f71725f045d4bbf5a6013138349fe1eab389e8ee4 SHA512 25d2033b9a17f6bbc6ca2342d53fc56f086d75c2b5f4917c8803f393eb7924f0c3da349d5415e91f3290d6206bf5ae0884b3e66c99b0717357c6fc0e8b8a77aa
+DIST genpatches-5.10-194.extras.tar.xz 3868 BLAKE2B 24b257569d83f8e91dc9159d83b0f2b0b118019e600c3e92ae2625bafcbbd2c466d20f5a4bf5627c3d6f1006b2539bfb175103028956f77088cac7974fd79454 SHA512 aca296b91622ed0fca07774d58a6c32c4231e4445d7a1d91e90da773ef0d9d3c5355a2538df4081d062b153c11f6a5c931ed20833cc3f699f114c52e3213e886
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
@@ -46,6 +48,10 @@ DIST gentoo-kernel-5.10.183-1.amd64.gpkg.tar 66365440 BLAKE2B 82b63f83720c546ad3
DIST gentoo-kernel-5.10.183-1.arm64.gpkg.tar 59371520 BLAKE2B a320f17295fcb6b4327d07fca111025a6757cbdfa6047047ed27cf00b83c3a2efcfa5b29fff3751d3ba79ca84c76d327ffe30404f38033f9199a24ce43a98273 SHA512 51571bf9e8067c9ade5da541581902c162ab4421575c8df9f2e738041968f56b77b4caa57a70f75dd7ae712b216bc8c999f9404c20c0627609dec5c4960d2f2b
DIST gentoo-kernel-5.10.183-1.ppc64le.gpkg.tar 54937600 BLAKE2B 62c7f5b8d306ed6fc21335d0409ab640bebd3b1af451369126843023c657c7b96dcacc4472e6f89463e6bc1531406731d6c3253b6cde1441b1d1b29d0bd34ca1 SHA512 25b662e19f187f44639da56b7f17a40d2617671f4dbeca7cfa7ec660cad5572fc610d5113c42fbc8fc2edccde845b89ad23376b8354f6532f6d77ba84baba516
DIST gentoo-kernel-5.10.183-1.x86.gpkg.tar 56504320 BLAKE2B d072c8795460e39d27527c32e6d96488c870cd3bacbae085659c21b18963ca49cfe729614f541eed5bad71ef8bb40a1d77b7e7ef2eb512cab2796def6c0f75ff SHA512 38f271474648d63b08517897ce46b325a9260288bf92fdf5898d954c25c4e74306bcc22db53a830913cc605bd1317892223d2fb65fc04fe3c91f2eb7cb633ad0
+DIST gentoo-kernel-5.10.184-1.amd64.gpkg.tar 66355200 BLAKE2B 09b30508728dd810fc5cfd364619e8eb027d8f92d4f74d90b7d6b8b656dfec004f56b213af0e2be9bc845355b24e80fb05b2b3eef0d587c0939ef1ef60b42cfe SHA512 fd7eec3cb41cb07a657505e0292788b0ea4bc795edfd694c4e84840a028f77a7d1dfa3f3043857a9b6f95ae9d619a37c6d001a75220e01da3c61c6f085df7913
+DIST gentoo-kernel-5.10.184-1.arm64.gpkg.tar 59381760 BLAKE2B babdf15d04fa13195f89ff4eb131e01aca9e6e1ce06ab082a9e48e8ace4562852cdf73ad28172dc3ec211e65475f5fbbaa99d74003d89a6b039a101686fc920b SHA512 02019fd131c44b323e5cab4a20ecc37ce50aaaca6c8898fd628b4ea267090c1b7cfe74b1e13960e3c3b87d37993c4c5cec5135d6bae7d559daaeb55ee3e3b350
+DIST gentoo-kernel-5.10.184-1.ppc64le.gpkg.tar 54917120 BLAKE2B 61ad2b366c52602f783fc794e8a3ccd900d64c559937f58d26b26e9b9007e850b1405ad9340c06c0258803311429deb172eeea81dd0f7c41c6d505f66e3fec0b SHA512 ddb2c2af7875ffc56d725164cb238bb13a24223b29b66e77785a472a5c27f54bccfccbbdca5a000979a36d632372c6447fc0ba8b5b547e5ae1d4e9e2551b2e7f
+DIST gentoo-kernel-5.10.184-1.x86.gpkg.tar 56483840 BLAKE2B 0852ca18c31e244c36f9b1e9fa2da3eaa0bd5646439fda49fcbbf9cd7702bee76c35720ab0ae6aeb229f8f0854367ae1cfb2562b9ea0b3478bf4e15949430804 SHA512 edd06d9489fc5c57fc5a1aba1e8e5de8f0f5807986a0d09a0d15a259c574c89cc7ec4e6adb25e4049dba2461e774dc213ac3cb4370394d33a233ae96db6bdba1
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.184.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.184.ebuild
new file mode 100644
index 000000000000..fb165f3f0e91
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.184.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
+}