summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-08-03 17:45:19 +0200
committerMichał Górny <mgorny@gentoo.org>2023-08-03 17:46:53 +0200
commit53a69b1c719b410efa660ee40f452bb935d60641 (patch)
tree7909af2b3b0e6067edc3f1e2eadc98a55e8acad9 /sys-kernel/gentoo-kernel-bin
parentsys-kernel/gentoo-kernel-bin: Bump to 6.4.8 (diff)
downloadgentoo-53a69b1c719b410efa660ee40f452bb935d60641.tar.gz
gentoo-53a69b1c719b410efa660ee40f452bb935d60641.tar.bz2
gentoo-53a69b1c719b410efa660ee40f452bb935d60641.zip
sys-kernel/gentoo-kernel-bin: Bump to 6.1.43
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-6.1.43.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 596ffd13ce95..54479c05fd8f 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -14,6 +14,8 @@ DIST genpatches-6.1-47.base.tar.xz 2915344 BLAKE2B 7fd49099198e9af926911b3a88312
DIST genpatches-6.1-47.extras.tar.xz 3812 BLAKE2B ea44d25a1637abff3a87ec17e397ef324aa08d7f62865924a61f55cf85df6a1ae5b8a56ac1f33a61955bb3ce71b28d628d34a600a1834583ab94d4111e9f4810 SHA512 9f8c831530609f2379685ec3bbe545f2bdca86f139233dceb0b10d7259b8b1207188a8f95237483b13f40c6639c6f060df4cbc67e09249c24424bc0bc83fe281
DIST genpatches-6.1-48.base.tar.xz 2983620 BLAKE2B fd09d2c761c3652502d590ad189db668a27d48e2c0c336b1d2e96f9a90a3c365409d012319b6daff30e6039330b90746636e89d6e4f5bb302851b3ced0e57286 SHA512 5abc93002ba800f13d27ffa8bd9485cfb921cd8e43d4cc15325fa2b833eb334e062cbb9b751ff2fa285a7f61f0e0809366d58fcfb4fd4a71fc08f2e48669b5cc
DIST genpatches-6.1-48.extras.tar.xz 3808 BLAKE2B 5f31be220d97582f049f58f796f0d509c1d2c82ca41efbcb178a9f78db64e0de0d0297096a6109c4989777cddc0957fc8efa7caf333737157a4b6352aaff64bd SHA512 d37be3695cd96f3226265c4f689aef9e98f0528d34b554e53e98fe9497e1b8a26ebe2661d8a04e9c84a615e1bb4966263358d759d228c950af3ce70bf6340e0c
+DIST genpatches-6.1-49.base.tar.xz 3063788 BLAKE2B d97aa1abfdba4aaf84d392e5ebc26822a1651fe0249b3bd84f4f5f2c413955d9d216bc1e9e2e2ef388e7aad4153ba11863cdb7854cd2cf1dea478da3ee8c065a SHA512 7acb3101165cf8f4beee7b80880510a5ce4afe0148641c7edad91cd6365239b52b55a51c550408ed0291aa3ad74512022ccb6ef85c6ae8765a0ff2d49ac84bc1
+DIST genpatches-6.1-49.extras.tar.xz 3808 BLAKE2B a200e4d646d8b99db4a5fde73ae51727c475b18b9f080b3d55e27d4b6f247cc8950f772e0676cfb11d301d3a9042e929d4957f96de0073bc99ef65c53668bea1 SHA512 4fc28b57b4a99ddec743d3804a78a5027d9922641135f1995016f2c5806282f0bb33e9f78cc7378ab8388b582193df457a6c397b0986e197fd5e5cc4bba85c7b
DIST genpatches-6.4-10.base.tar.xz 568848 BLAKE2B d9f28beda8bd4f69e1e5d586e274df43a8661bf51733a25f320469c1e3e42d9602b0911d4e98a40942ff182f076501ce6721e534cb92aefc3d453fc43ee499bb SHA512 218c38f99a07c2be1fb25737b0a9604a9a50fe3f72c507404d92da1e8dd7823142edc2b81110e510aef7e645edefbff2265aeb3ce7f376131801c3adb292b8d0
DIST genpatches-6.4-10.extras.tar.xz 3696 BLAKE2B fa0b8d593543f3624b1cff626e2cb2dc93ff0e88fd54ec71a7e467c716481420da7f361c1dd353e36111425a74f6632f1c491e618dec47fa4bc15c6a6d9e26bc SHA512 9dbfcd1d65daca0b56360290f0a6369fa007f32dde0f1a62657d1697fb50b84668e8a14c62efcfc3d12ba6a4a911731825df260421506639d2ba9b8764962e87
DIST genpatches-6.4-8.base.tar.xz 414164 BLAKE2B f62a27a2a4ed9a80d830f5118c492c95b1400a149b9594e68b47011359fb02f5ab0a5f467dab50f730d56ac21bff0dd4ebf09251588a7bb4dda15aedc95ec729 SHA512 6d747b1b06d9fad9d53a293586e3bef465ddfbf2886ab9edee32b81282d4c7b8cf27d4edf4f8be1ef668ce55888ae21214ddc6dad0c2732698d23a77dac993c0
@@ -52,6 +54,10 @@ DIST gentoo-kernel-6.1.42-1.amd64.gpkg.tar 76840960 BLAKE2B 2753a1c38984d1c68dd0
DIST gentoo-kernel-6.1.42-1.arm64.gpkg.tar 69488640 BLAKE2B d5d3961f3c2455d9e1640223c1c278b3c893b7d990d487ab520d8339c9ec987560d77d6980940abe51c7bf7ffec32be395373ced15453d6000fc0d35a7f56585 SHA512 f1aaa6272762814be2bb9d05f7de53eb6298667da04804c7e04449cf7f1a69a8841fb564c5a37caf2ff832aeaa594b3a695bf041d4016ae62b7699fa24814319
DIST gentoo-kernel-6.1.42-1.ppc64le.gpkg.tar 62842880 BLAKE2B eacc0bdab67ad7e5556539e8d99ea6cd1c3475faa6154e66fa52d8d0cdac8ecace746082418a2ae14d5afd0dfc70bf4c3cc31404182a784d1941146d24400e9f SHA512 cdc03c720f76e543eecbcbc588abf4e27a7a3e573356c84b5051bb5ab5e2d5bfb3b0aa98ca0da2f308b4f31e5ddc02ad228832eec9349ebee8e853c7f5d3e552
DIST gentoo-kernel-6.1.42-1.x86.gpkg.tar 66211840 BLAKE2B 69443424cb8481801906dc5ab47edaf494882f81d0deb532eef63b69fea3674d4e589dbb489611a2081cc5ff259f65fe0a263a60e0d1fdd6a7006b6b9b41ad4c SHA512 35499dfec450c5c86dc84173e714a9646f92c454bfefed4f497d758a1157de23161dab651ba6f0a6784c049bf5117081bcc3db087927d17fae1bf81d47e4764f
+DIST gentoo-kernel-6.1.43-1.amd64.gpkg.tar 76840960 BLAKE2B 69753edbdbd0e0c9797a484a5d5cae4a051a625b8d9187306801387123c49f2dde96e49b71be6df901d3c617747f787edf104f7a3a5f14b1d6a309cc79e6c3ad SHA512 98fd5312d591b8a27bee2e8dc822f05afd3fcfa243a98c959720746224fbc7bfac2ede8ca109defc52ef0afba42ad42dcdfe50261be8cb2e7b42b3344e66ca85
+DIST gentoo-kernel-6.1.43-1.arm64.gpkg.tar 69478400 BLAKE2B 6df2dec3e518acedd61f178056e700416a6edef59a99cabc5bc117fa838584c34be8dbbb69a10f02043830e4f0ba0e84614dc00e7dd6fa6f9094fb3e3de0a9fe SHA512 691009715b4b3daf9ca640d2abde35e08385b22a3f084e6193891cde6a058611bc16d78199dcff051f60bf7b4d441957d0a4fda2a2d6c4ada9ce085212f25c4f
+DIST gentoo-kernel-6.1.43-1.ppc64le.gpkg.tar 62832640 BLAKE2B 54ee78fc6e9892ff4f0117c9cf386aa5ec6f24f7b2682b15292ac9a756d09b30007d01189e4d210d0bcbe1d8039e1ab9b77fbae583af53b64586774621cc7b28 SHA512 546194b8349580348bfffe75a9907824c3a5598f3993971a4f7daa8a5ebcf513dc66992a763f0f4b92aa6be3c9bd50073d3eb194d0b6e1a18bef0ab98cc8bc06
+DIST gentoo-kernel-6.1.43-1.x86.gpkg.tar 66242560 BLAKE2B b7cb8d97896268277f7a2166ebcd0c1ba6b985c9a87f41fe4b0f345e62c737678e6012d4373f0076eaa4f23e51a4cbe1bf5a24a36be3da8c9b447b6ef4add9b3 SHA512 e0eb90b9f382905c8865060815631f8805aead0534c1707fc209aac8928fe0e7fd63b88cf9579427a5699d4d3c1cef57ea122d28c14ed23aa90b761a37396668
DIST gentoo-kernel-6.4.6-1.amd64.gpkg.tar 83998720 BLAKE2B 4b6836c10d6c8e7123ddb5a70146fb094e294eb87f8d5f7012b2f981fae6bbafcec0cddad7d7579a08106dbc891c5bda15c39d50c4587547bdaa9fa3df2171e4 SHA512 546ff7c782a7637ce6997ee94d7570d7cb3cb27c8acfdc58a60f5f634b03f7477ecb019fddb5996320fa954260ef74caa794b6afef944f982d18f7416d171477
DIST gentoo-kernel-6.4.6-1.arm64.gpkg.tar 72929280 BLAKE2B 57e32808518b34e6e65b2835a87fd1c95f3d5b210d18bacfbcc107e243150fff592ea4dc2381d73f3c2c0f186ef70d742dcec056af7d6c2f1de1b7d5db2dcca5 SHA512 ec95702769561fafaf0d3852c96d8212acb0bcf958d461af45110234e2d7f6861f6d14ab254dfd5d7267ea42ca9ffa9789d7c46373197dacb6631e470e6844c3
DIST gentoo-kernel-6.4.6-1.ppc64le.gpkg.tar 64634880 BLAKE2B 4ce869aeae197e7811b5acdc5a9e3f17a0ee5ea0b5f9bf708227505bf52ddc44c4d485d00751f958c54036f977fc5e143ddac3bd7699ce07dd293ee8d2f71c9c SHA512 35ebc43e11089279574bc84fbd10fe25a1f085313f93c94656617f24c1ccc276d641bb859140c6820c37ccd21c0a85cbf2bb3112b3cbcf90b9e21f396b60a45b
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.43.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.43.ebuild
new file mode 100644
index 000000000000..83c6a5e4fa8f
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.43.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
+}