summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-06-05 19:45:38 +0200
committerMichał Górny <mgorny@gentoo.org>2023-06-05 20:35:08 +0200
commita9ebd7c5384889609982d44e9270852ade9b0086 (patch)
treefcd3bda9ddfd1e037c1e84f872b260bb1d67560c /sys-kernel
parentsys-kernel/gentoo-kernel-bin: Bump to 6.1.32 (diff)
downloadgentoo-a9ebd7c5384889609982d44e9270852ade9b0086.tar.gz
gentoo-a9ebd7c5384889609982d44e9270852ade9b0086.tar.bz2
gentoo-a9ebd7c5384889609982d44e9270852ade9b0086.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.15.115
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest6
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.115.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 724e1e1ab96b..93bcd3a113a0 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -2,6 +2,8 @@ DIST genpatches-5.10-191.base.tar.xz 5394880 BLAKE2B 604549d0789ee4ea8b965b4aec9
DIST genpatches-5.10-191.extras.tar.xz 3868 BLAKE2B b0c035f8e43faf78344a1f413c6030fe2001216bfc9381e402e3fee7edb3cf2798042a3a3d62db2b429f53d6a68b445fb25c9c0255bdbb85d5df00c6388584b1 SHA512 dc29b28784cb160ba0a24921986b905efd8d624902b00994829b99bd383551da0b1b4419ec8b91626b896cfb3997480a62fb9691b497b01f331db1450b09fbb6
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
+DIST genpatches-5.15-121.extras.tar.xz 3932 BLAKE2B 22ef45027450ffaafa2637aab88656c56fee375fcad14403693f94894cdfab96bb2b930cec4852babcb4bac86b07bbc9e6e103de7c871b91ef3004435e1cb785 SHA512 92b785c17dd171871dbcd841810c1e7da4fd7cc5027040340dd90f6bf97153dd0e300a6bc33e61bc7354b6e6648e3bf718d161ebacc5a4ed3a3e86e885181ff5
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-6.1-36.base.tar.xz 1892196 BLAKE2B 21e7b006889ce39d3b2afaa981cb04c1229050d13b944086ac2c51add6c63dc96c3ac2dda188dfa11a45343904e26589684ffea3a22c235738c1c6d8c38a11cd SHA512 b4de4f6db586a9aafddf639ae914b35ffb0e2340ef312c64a48f4a0bfc02c573437595fc61596245dec2eac7add9f62925e575e2f621d2cf2e80262096f64df9
@@ -20,6 +22,10 @@ DIST gentoo-kernel-5.15.114-1.amd64.gpkg.tar 69539840 BLAKE2B bcc43fe6a4e17363f2
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
DIST gentoo-kernel-5.15.114-1.x86.gpkg.tar 59115520 BLAKE2B df62b2f821ae01a7e73a95af88a4c27caa4cf9aa39da91caca403ce579b27071084b104c33dd2ab2766873758aeb396834f8d98ddc31165c05812f787efae25e SHA512 be0fbab45f2b5f7ed907cfe3332571ffba9a18c02c6a052483aa4db966f6e733a116e9d4064918491b39f86e95f5393dee8725d0e3bb917a799b87797377f621
+DIST gentoo-kernel-5.15.115-1.amd64.gpkg.tar 69539840 BLAKE2B 8a2b8dafe4eab7fc9dbd94091d41f752956bc786869c6db45fd071996acf5ff2fcfd0364cc22785db97ca27dfeb45cc9eb545201b3c0bbfa4c9fec57e1e0acd4 SHA512 d237e73316599b6c94233fa497d329a8010535c57b549724c05ee56b2dc2dafa97471bd80e68a0de5d134d1d29dfb388d2596955ee78fc08a8492b1eee75ce16
+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.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.115.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.115.ebuild
new file mode 100644
index 000000000000..83c6a5e4fa8f
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.115.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
+}