summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-02-01 16:25:37 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-01 16:40:55 +0100
commit11654a24dec77eef5a83b117b8e041310553363b (patch)
tree1d1cb1034cfa7e71ffcd4523fd8f925b8603a5d6 /sys-kernel
parentvirtual/dist-kernel: Bump to 6.7.3 (diff)
downloadgentoo-11654a24dec77eef5a83b117b8e041310553363b.tar.gz
gentoo-11654a24dec77eef5a83b117b8e041310553363b.tar.bz2
gentoo-11654a24dec77eef5a83b117b8e041310553363b.zip
sys-kernel/gentoo-kernel-bin: Bump to 6.1.76
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-6.1.76.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 b3c0f9902506..8a199cd9ecc8 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -10,6 +10,8 @@ DIST genpatches-6.1-83.base.tar.xz 4358680 BLAKE2B 0ef9de04e2bdbfd4cdf2942ad1e1b
DIST genpatches-6.1-83.extras.tar.xz 3816 BLAKE2B d22ef26f4b321319ce84b7bac4b345759519ce1bf4b821fd85590021f93c80242506b4ebd3cfca6ad4c1e56dc8d3600e54a0b459f07eabe0e154b03a0a1bb37d SHA512 086b04be251177d98038fc2aab2b4110aea45144996b3e50d7803e331a5660cef9e4c7d6fe794905dc8a22065ab8ecf4b5eb5f94e8db59df88a2c861c09c2505
DIST genpatches-6.1-84.base.tar.xz 4453064 BLAKE2B 195ca4777d311b883d335ae7e2320ffffd9d7c73d02c54c7a0410804bd363f1e1eeccda64a5514d8575622cdcfcd54b0821157286fc09f5e85303d72aa1a4f26 SHA512 67dc650cd38fa9cfefadd1592673955e112f4d8a43625d89690395b6eb59a4cad2d0af53ea2d482e163bdd9a8a047582a24054d074c512562b180176d9c8cc77
DIST genpatches-6.1-84.extras.tar.xz 3816 BLAKE2B 961081e49ae29d6127eba299282c1bd3e3b4d78778b03da6bae6a6be8cba5efba3bf17d40fee02c6923f8536042d3c4ae82b93046536d81e4873fcdb5dc5c8f1 SHA512 77f05bb5082a95e503e07936a2fd8868f202539a844bbca84bd4e0a692006cf4dcec1dccf35a17064f58c40fdf3a6c44fde80cfbb8e8b2bafdba1d950f0b28bf
+DIST genpatches-6.1-85.base.tar.xz 4505468 BLAKE2B cb674a16ea9f1729844507b358684b655e68c3b701ee470be8ae9314b8cd4b7edfa6b4e79381faf2b0a1af0f3ee6a703f204b54e239d98bb5e8eb1c4c3c3325c SHA512 148a3fcc14c225f95b111d7c4e0f79e3a20dfe51556cbf24428d40e5082e1d5056a6bb93cffc78daa4a8c9d126030982370e85b8768b0c1f3487064a1d6519cb
+DIST genpatches-6.1-85.extras.tar.xz 3812 BLAKE2B 9b51a2d050fd8dece5f64d5d9c82ebd9231c702e93aed6374fbc4a13138fc1c3b67fd516bfa50b234e9e0aeabb582e7e3939f0464f0188d352b311997b131413 SHA512 4fc490e4ad0e2c652f5542c7c4b043d68999b6eecbe48ab7f6168ae202de7a0f0bd7f24af1535b0f588bca84e35aaf2f574241543067ddd96224b85387ff8de3
DIST genpatches-6.6-16.base.tar.xz 750868 BLAKE2B 13af5286f51a69dd0ad7b2543bcf0d933865e14c4c865e495f3225a8740bd7579858cbbd72a2099333e8dc241900c166730d4c812183f2636bf3d4049156a71b SHA512 70864a69f8bdb28f8fa3515a33be510a2c529a5c3bc767aede2dae1c290869491d776336be9983259685af9fee2d2bc61c821d0103c47e91b69078bf81fe2c63
DIST genpatches-6.6-16.extras.tar.xz 3704 BLAKE2B a33d9a80926abd8318f124fa6aa25f7181b88a6965c17908232ef2b866a27a5e856e464895994599265e0e57d8e1f81561758df4670f25ef5694e5d5f535ba95 SHA512 8ee1686a16886320b698ac0e3767804fc9bbaf595335203fb2899c727a0ca0f3e551ac13b3cbb97cec8d91e77257aa1da75669f1c41d263960875e9d31303b1a
DIST genpatches-6.6-17.base.tar.xz 894152 BLAKE2B ff9c821916d3b1350ac30a44673eee52df18d5c7766ccfb7e682740889191080e947ca6f78b8f2af3b1b2b879326c0b530a53f7443a54ecd124b27e89e99e6bd SHA512 45b6df20d995ceddbccf72db94062339e021eaa4a121d0591a936e39b1e56c8f2581dd1fde03505914adb787445b4cfd998f7847f640785dfa1c05e7959125aa
@@ -44,6 +46,10 @@ DIST gentoo-kernel-6.1.75-1.amd64.gpkg.tar 72611840 BLAKE2B 275d2cb2f1b2e33e9479
DIST gentoo-kernel-6.1.75-1.arm64.gpkg.tar 65617920 BLAKE2B 7c9eff13dd838bb02d6b04890b247b7648028b4201c269596f58450903adbf6b45504f3eb4ae25ac18e0e65e7fce427d83447a999f7aed2faeda14a9672c4dda SHA512 aa24f641951a027dc8daa56711f87debc186552a7e035ab5f2d1c3f3e42b219c1667a99bff2ab16f3bc5c0dcf1d98941775814c537eef64b59e25a5c40d74b99
DIST gentoo-kernel-6.1.75-1.ppc64le.gpkg.tar 59883520 BLAKE2B 95463c2151bcf76d586c98b483765e5a710215e5d68f637d999e5f10450c23d41f470a1ebc2e2feb7bd44b703a8e5c5524242e0389d57d4e4609de4c3ba63cff SHA512 c3970fe061af0bf3da147676f5f39e7063742d552235d3038d03d5198d18127bf7bedd5c1b395c3faa6d65a01c605292d4430c06be1ef51cb1cacbdea1702b6d
DIST gentoo-kernel-6.1.75-1.x86.gpkg.tar 62167040 BLAKE2B e8668c532da434bc1bb3c92404fbd07066d6b30a0119041f498c317060f155a543410005630db6bb36239c5b14eaee02c5ee4a71114b7fc5b9bc0e28c86d00c7 SHA512 4a1c8935dddeba0787a6f636bc9201594df886ce836161d53b31675c0eedd23bb7a1ef2cb243247524b84d01f24b5055da958993762e3a35a2ddcacd46dae2ea
+DIST gentoo-kernel-6.1.76-1.amd64.gpkg.tar 72622080 BLAKE2B 8204295b9da2420fcee6d548e1c8be43b0b1fa83bf8144ca82341a9d109ba690257861f628750b1a49c5feef167a8452abdc3d09408816234063eda7d304082a SHA512 15d7bf1b5804f36d16c315e78a6616d43d04d54a1aabca37dafa2e4f89179b9456ee37dd9b72c10e4fc8c4e239723ed84e10c12772a46738463bc965a162b14f
+DIST gentoo-kernel-6.1.76-1.arm64.gpkg.tar 65628160 BLAKE2B 7b51b150d2645931041f56e11653e5e49f99c89c04c13fbc4ab9571bf12c4726ffa603a9edebfc827fd8036e2e0b060e002ca4f23509a86de067abb76adeba02 SHA512 b0b5a59338d50cf4c4ee415079d78c747fa350ae9afed6a65826ad8aeb6fcc2e8d57729f16a50b1e8f890a291edfaa74497322d5891476a66ab797d890451cdd
+DIST gentoo-kernel-6.1.76-1.ppc64le.gpkg.tar 59883520 BLAKE2B 666b41e74c3f976e51bda227a805c49cc1537747d3c0efcfa8cf0af6d551f4a2002fc791f4c8b26499fd9c2338cac389e78e1b942a751410bbc4158863516fd4 SHA512 27d89d906fe2c5471e8ee09be61e34c7a35f5e4805a8a12b1b1eb233d342f1eb4ec7a083723c3a3031faf054e4152716b7b3f22f034941acc020f8d3052c81fb
+DIST gentoo-kernel-6.1.76-1.x86.gpkg.tar 62167040 BLAKE2B 2c25dd81f5e9ffb2f2b6a7349be83c6793cd639b9c81aa5c359421834b079b60c1375511e417d58e935941169b5efbb8e321d39e2fbd8be46ac43612bca3fe0a SHA512 187012f41d9cf181df539ef369b1fd23875702ddd6b28b9d4e2d960afd6b4bc81b676597cf1f3420b7c4dbdaec3f6d470d72859fe3460db86f5cbdb92b4b1440
DIST gentoo-kernel-6.6.13-1.amd64.gpkg.tar 146032640 BLAKE2B 322a4c9fba664b7800a9d0e2a229196f0224df8d85768d20a4988daf0c7e990761eda5761bca4a5c56624ff1739ddb92932a07f6bc6305fc6dec5d9924e6b4be SHA512 a920135a123482bdecc390dd5e6da9b29c5d94b1f330af6020af7aad2e67d1cb177e15689a7559c31e495e2610ddc32b99f4fff7045a0f4ce0605f26dd71f3f2
DIST gentoo-kernel-6.6.13-1.arm64.gpkg.tar 118630400 BLAKE2B e5345a1cc613116fca4942d1720efab5437f48043594eebbe47f7a5b218e89ad9aa10f471e896a2b9cab092a4ab3ce61b996c7db8142a6c929a0b65ef6d79169 SHA512 834bcca05da9a196408303181c5f43730be97c24bf4de13acff303aa40027e01d6b594c2fa23ce3b2ffbc37f322150592e11ab732f3586a05971e41ba711ca6a
DIST gentoo-kernel-6.6.13-1.ppc64le.gpkg.tar 64358400 BLAKE2B d7c85ab1ffe7300bbcb6556b119f378d74a7282f33e764517cd35f6bfa0d35107497d00efc0a0258b4bd5932955d03b679b795328b5a827add330184b4ed8cd2 SHA512 80a855ebf8bb439683d5cb2a90e19c277e422e523bcfe5911b5e6ab82ccde01cee03bc3fb96105c5f1b8bab7173d93fc74c6d26ce117073052fc31772a7f1775
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.76.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.76.ebuild
new file mode 100644
index 000000000000..1a845828a60b
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.76.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
+}