summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-03-06 21:49:52 +0100
committerMichał Górny <mgorny@gentoo.org>2024-03-06 22:17:56 +0100
commit8979df94eb712ad4a0e18f10c1423be21e88b07c (patch)
treea68f05a48fe3ae02ecb56ceb4b145b2de45fd7f2 /sys-kernel
parentsys-kernel/gentoo-kernel-bin: Bump to 5.10.212 (diff)
downloadgentoo-8979df94eb712ad4a0e18f10c1423be21e88b07c.tar.gz
gentoo-8979df94eb712ad4a0e18f10c1423be21e88b07c.tar.bz2
gentoo-8979df94eb712ad4a0e18f10c1423be21e88b07c.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.15.151
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.151.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 d632dc1c7440..108b7c775753 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -12,6 +12,8 @@ DIST genpatches-5.15-158.base.tar.xz 6218288 BLAKE2B 04f37b07da08635e59afd941a96
DIST genpatches-5.15-158.extras.tar.xz 3940 BLAKE2B 2ca5435d7d4399266b607653b0f884d02d19f216015ee93eb9fc03571ce20a712f50a50adc876823d97d3233da870afc3e7b6602ed885e333ddd178d63632810 SHA512 9718e9a9e1d41e444afd1c08524027ab63a95f9368a8a8f9fc38e9d40585384172e116a1a2362155501d2561fc9e42d3fce69509eac21daff02b89f83e351f38
DIST genpatches-5.15-159.base.tar.xz 6297632 BLAKE2B 104b3e6ccc068842ab71997f3421a507f67381414bfdc3f32ab0398f5a9786b843f20c132d5e265b57cafa4fb377a7b765438597d7b8d05eedf64a9c84cb5a8f SHA512 c6a1cb2ae1ab256442c3f76b41eab243e22be37510ee5e051d40bd95ec716921ef07d6171e04f645305cb0b83fbd54e06250e6a0625b92f1a313cad4bb170f18
DIST genpatches-5.15-159.extras.tar.xz 3936 BLAKE2B adb536a978a0ae1a2327142d7e7bde2871b1b42017d04b3302d40138b80a6fe72faa957c30437bc71c7eaaea1da0ccce1baa244ff62e71581c7775ff066dede9 SHA512 452d9370dc10481e2274261c01a5f9ec75086906158bd30f93314e2af8c095060d5a6760524c21412aa4752ca77d4818e1879c5d3bbd9378a63d56ab2cb9b3f2
+DIST genpatches-5.15-160.base.tar.xz 6317352 BLAKE2B ccee78c3ccba8755f0e9de9e62c870d7f85d5302d2cdafd178184bbbec51d1a69be990c49f58fe1a1f897ed7e59bba1cc5eacc7589b4476ee6fcac19a90b0e78 SHA512 e36a435f9e353cd48ee12322f998a2fb4e9cf29eeb9e6f6f95534a48524db17b6eb654aa514ddba1108135eb92da7ef6af54f532bf29ca89b566d8903c1456e6
+DIST genpatches-5.15-160.extras.tar.xz 3936 BLAKE2B 7b4d7802346372f862321837b1b554dcc5cd666be0a39fb56c6a6364060c3c5b5fe37d77d131beff6f0ed4c6290d9c9f9eafc58e9a923e268cafd2814ea9d18e SHA512 4ff242b000ce5969dd50c424ebe94a417271a2af081584e91d155ef11c3b11536fc8a242b0e536491396317ead92a825590208c5f317dc6a8975bbfae28a17a1
DIST genpatches-6.1-86.base.tar.xz 4574456 BLAKE2B 905d051daa077a0aa697ae78187ccb149c5e14dd2d171e451d85559b68ac0a4e8a80a3b13332bc2c8b58d8be182b12853b9e784adb307987faaac5d2ef43ebf3 SHA512 7d28fedd6a157a680de9c69d11f5d243c02b5714e0570bbac9d429ed1e5937bf7250cf5825d6365debb0b0621301cd4999dafd0680e4815e47ea1452ace3e406
DIST genpatches-6.1-86.extras.tar.xz 3812 BLAKE2B 6e0dfca04eea9e737e68e8bd94f246628ac5a3e1ad911c41c7c61ce33baaf27b42805af53b0e7969d902078fe989e2b3122d92445b721f92209f5fa5a79eddbc SHA512 4daa5eeccb39c9c033541bb5dd123f16358f0a67f0b087ed0ed22243d46d429a7695f05bdaf84a229f3f483eb73b688b5dcb18110a87f9ad22b84eff24f765fa
DIST genpatches-6.1-87.base.tar.xz 4590376 BLAKE2B 03810f1354881a70c49256a9b71651016c78aadf9d29e82e6077fec4d3a46487c530a987ef6785e78b149fe7f9c1f235f877382cacee59f6239366d4ac3bc5b2 SHA512 dd828b301272d8d0d80a9f51ce0b9b31f493b482af2cac7ab66b1307e3df44d88c7df4b968178d876bb6770b8408346a307aa5f22118f2bac7a35a045659a195
@@ -62,6 +64,10 @@ DIST gentoo-kernel-5.15.150-1.amd64.gpkg.tar 66324480 BLAKE2B fe274fca6c44a3fec2
DIST gentoo-kernel-5.15.150-1.arm64.gpkg.tar 59719680 BLAKE2B 0fe63e2b39613d2c9dcb14c40178bf2e4f880da995ceb5fc58c4f5f0aee14498127971a08b642202dd8a69793fb0f0ffc41180e2d63168ab2ee96f136272a6b9 SHA512 60fc50c8523d8dc2a27451c0532d58fd7abddbbe8c9967bfd3063bcaaf3c25020346e1a6c812c8880887b002342563fed03aaffc0fc1f0b7aff47d1d493d5343
DIST gentoo-kernel-5.15.150-1.ppc64le.gpkg.tar 54968320 BLAKE2B d32d6499642d3000331a200ef1f61b8016b36e0ceb84690c1d7c99474d9872867ac051b5ffcd76b81e90cf564e182f1049ca5646b1868943f127cdaed67175ba SHA512 720018ef13886853d3a6baa97267f16a277da4127738b8359a75e26fece8f4dd4213a5aba4f825136b22c9ac36d42b6bea789cceab691de1b3b9aa6b5ec12553
DIST gentoo-kernel-5.15.150-1.x86.gpkg.tar 56074240 BLAKE2B 77132ef1f9aa94f473f4dbe653d30db2d6d20e79b6aeead987a0b3f67d870c66e9cecc4bad0babd95593807c959a39e140c31289a517a030a555a4dfcff32089 SHA512 12c9b4e3cca0cb6c6fb1602c0b24359b95f00a6df0680db5366947b237587a785a1b76635bd43bf01422db3a9e1f548ca0b48bcd883537545cb447723a2144b1
+DIST gentoo-kernel-5.15.151-1.amd64.gpkg.tar 66324480 BLAKE2B a49b5f13a99aebe2f805f0039d62acf166509b84d00bdca8a3298d83c34c76b9d468383bd51520f60cacd7a816e6cd2037b67ab91e6d7dffd1b5a3d797cd81fb SHA512 36eea2aa29262b749cefc4cf381b1012c2422a78568ed95cc05c6e60a347a070e6eef9175aeba7614b595e1f92f426f89a01c733e36c59bc8fa30181556ba2af
+DIST gentoo-kernel-5.15.151-1.arm64.gpkg.tar 59719680 BLAKE2B 4488bdd73f1a27a54c194871d78543d9bd48eae4ba5f6ac0c3f992a1ea669adaf8a857fcfab0a29f9aad1fda42e2568ec4c3a37ea50d559f98d7c98812868815 SHA512 95a035422eeae6953156e7aa57af1066280ebbc24dce5175f6c6ac50ac785cb5b270d24e2f555734a63bdef55545153c1440789cefb5baf3062530bd3161a553
+DIST gentoo-kernel-5.15.151-1.ppc64le.gpkg.tar 54968320 BLAKE2B 42cdc2028c35aae7d67e713315aa80f5711d43ab7efb74e9c77e884968aebcc73011231738b347e69cd053fd0e371bf7d19b6b4face59ef31a003ce7705a6f2e SHA512 2d928323e6f33e4f2c483b7ab60c543af5c6d9175f88bbd33285cb8ac4a78d94c84bf15dec416dc5519c6d6ba4e54530ed6af2bec3198e318034258ee7fd4f68
+DIST gentoo-kernel-5.15.151-1.x86.gpkg.tar 56074240 BLAKE2B 1e3a49f14f3bcf8340ecd4163c46a71b9dab8fc5caea9baf7af5e3c89597e12ce8c8bc0ab928b2455678a0ce5cac328baf5b502c8595ee2f7a72e8c39f6c1b6a SHA512 33fc6ece7083e30d8d0e77cecc31f22124ad1d52dd0669249514d2ce8790d67a06a47c00e5b821df982070f2d1ca12aef48a43730692130d71918c937d9872e5
DIST gentoo-kernel-6.1.77-1.amd64.gpkg.tar 72632320 BLAKE2B 4bc5a2b7c969810da7155d1896ce30659da7449e010a492e75b57e028ec953f21891bc74311253d18b52cb549386a7880f937854f4da56d312e4ecf2eb602708 SHA512 19ca3b15c6843946101f9e805a8d53db4b89bbf72661f19734cacae378242d8f5879b53607f950cc170018647d023a76d52fe3234bb6f0f5518ef9c113bc17b8
DIST gentoo-kernel-6.1.77-1.arm64.gpkg.tar 65628160 BLAKE2B f13604a7c67a352b94096108fbfdf3255f810232ec8d48a7fd70ae9b6781639b663d5576ecc2987f3396f27955c6a8e6e59cc544cd41118a58b793d4ea6e7c73 SHA512 32ac9abdd2387de084dc600a257891727b1ff9193cba082ffa77b8499e05e122c32ad7ec21fab84756b36f33e005345b7e943f29e673d6167f7922a8e6750650
DIST gentoo-kernel-6.1.77-1.ppc64le.gpkg.tar 59873280 BLAKE2B 1ed005ae52827ae28f14d093f6647e4bf50893f773fad910c0abfed7eb50d458495bb658dc51179acaffba972d42f9fd855955cfe86d0f80734a5e504d6f8510 SHA512 80b6c17aa5fc61b727a3bb20171e928e904ddf8bf475098761c8abebb3835cd39d3f94986b1ba551faf84c60b2b6a59757d9b635c0bd5658b77037d99dfba1ee
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.151.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.151.ebuild
new file mode 100644
index 000000000000..1a845828a60b
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.151.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2020-2024 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##*.} + 9 ))
+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="
+ app-alternatives/bc
+ app-alternatives/lex
+ 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
+}