summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-02-23 18:13:57 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-23 18:36:24 +0100
commitc3eaf2bd14edaef27d8564d58aa5126ac7e05d0a (patch)
treebdba28e62110b87dcf0aa7eccb3d51b26160665e /sys-kernel
parentsys-kernel/gentoo-kernel-bin: Bump to 5.10.210 (diff)
downloadgentoo-c3eaf2bd14edaef27d8564d58aa5126ac7e05d0a.tar.gz
gentoo-c3eaf2bd14edaef27d8564d58aa5126ac7e05d0a.tar.bz2
gentoo-c3eaf2bd14edaef27d8564d58aa5126ac7e05d0a.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.15.149
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.149.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 bedb1956d8ec..caa1f071d02d 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -8,6 +8,8 @@ DIST genpatches-5.15-156.base.tar.xz 6004636 BLAKE2B f70c2a3bfc3d65fea8d4764b953
DIST genpatches-5.15-156.extras.tar.xz 3936 BLAKE2B ad08b5d93b943236326d333c627ae8cd279d78fd2b8f8df420ce75be815472dca9785b8eb14015ca2dbc92560a8589d31b9f9edbf81280c85d1ce6fe58aed0b1 SHA512 580ba97a039ff7417b448d4df13b67ed262b7a47be449515ca80125a89b5da3eeee773757db6ff7389b501daee6ab708e19dc2713088ee118859e1e9d3f4b303
DIST genpatches-5.15-157.base.tar.xz 6083340 BLAKE2B da2898a405bfd934e761180064107f4d87d144105ade4c825ff9299cb4a0b57324927cf34d3a55fc7a0227d9db053caf5b0f8159ca0ddbd946d31459b2683e1f SHA512 04c2d322ec1f0946b7f0f551e0fc0342da749cade5f20f2da1a1e60fd0cd946593a797c053bbd0eb8121f70e69f6766f8c945a99fd77fca3eef89aeae6d5b871
DIST genpatches-5.15-157.extras.tar.xz 3936 BLAKE2B d559b4c240ab2b8a0b522d846c3d9707b0beacd800e137517c29b51253283b47caf05f7facbdd7be747255dc2485170ecfad04a3ba5293d749c8d22ae60886f7 SHA512 e99880adebd2d08067fbcc73bf01eb844c39cef7c06e99b95c9622949e38a2ed58045f27e71bde4d5321dc06212848c884c8f4added4c41a8a1197cd375091b8
+DIST genpatches-5.15-158.base.tar.xz 6218288 BLAKE2B 04f37b07da08635e59afd941a96df1f55683bda62fc72258005c23fac7048995f670376b57a0d4dadaf2018d1f5819da5239c04bec6c12e0e50c3fcf24c451e8 SHA512 b7d29d8d1f58b3cf534494ace74091042834f6c237667d9b1ae4dce194e5fe7ccef1269560b5edf4fa4eb4c8b9dacdec7bd7cb96bf22e95a93be7946f7cc2b36
+DIST genpatches-5.15-158.extras.tar.xz 3940 BLAKE2B 2ca5435d7d4399266b607653b0f884d02d19f216015ee93eb9fc03571ce20a712f50a50adc876823d97d3233da870afc3e7b6602ed885e333ddd178d63632810 SHA512 9718e9a9e1d41e444afd1c08524027ab63a95f9368a8a8f9fc38e9d40585384172e116a1a2362155501d2561fc9e42d3fce69509eac21daff02b89f83e351f38
DIST genpatches-6.1-83.base.tar.xz 4358680 BLAKE2B 0ef9de04e2bdbfd4cdf2942ad1e1b27b8a314b07409cd7c140d0cc2783679a135eedd7d08860ed9fb6256115dbfbcbab5cd3d15522733bd72ec3d4d918fdc96e SHA512 544630385153defad073422da90ec6710d0b4e3444ca1843017b1f1b855add852045c0a1d7e8cd68c037746c4c23e8ec24df747469e177519384ca2e8185cfda
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
@@ -60,6 +62,10 @@ DIST gentoo-kernel-5.15.148-1.amd64.gpkg.tar 66344960 BLAKE2B e741e0d9ae491df35f
DIST gentoo-kernel-5.15.148-1.arm64.gpkg.tar 59729920 BLAKE2B adffbea7be512987df0813af7b7b55675adc249a7b2780e9d814ddd6699f4343f4d33a393ae044f89d09c27d08b22cc7ede718c423d13e630f821ed723652f1c SHA512 c83dd1bdf5578dd35be2330a690aa0137f00fa1fc66fa85872f959833168b15c695de08096da5b5113c37557dfd007365d0fab330c9b52f49ff1fdc1257c98be
DIST gentoo-kernel-5.15.148-1.ppc64le.gpkg.tar 54968320 BLAKE2B 1629ca402319f9841e7c3cdf0b0ba0d3c58e55b3ee6ee47820d12c8f2735fa628e45b74d10bf9fa79e3ac7a2c0b178661f789e0c175eee3ddace9d5de9a5dd9d SHA512 20160f5e30aa14725cc2733d6e01aedd1dec39229cba7da985f91e7b500f4a3bdaa9bd35578b21610b95bde2eea06cf8b08ed263de92cce5a311476d1b0ebfa1
DIST gentoo-kernel-5.15.148-1.x86.gpkg.tar 56064000 BLAKE2B 1973c3aa1ffe57ae850c43c5c2bb4b1d2a2e4666f2f1c87a4c78acd7ff10f02229c6e8f0daed93d38bb26b2b879e8298cb53dc6d69b9f58ece764104fdbb4ee7 SHA512 a456008a770d8ee078d1e99a9747ad70e743a91eec7f6f77520cdd85b5ed81a614264ddc259c356a233ec51bdf92eb49f3720661e360570d774383800ae3dc4e
+DIST gentoo-kernel-5.15.149-1.amd64.gpkg.tar 66304000 BLAKE2B e68541f04b79b4d1b528ed92ba257b75c034fa961fa187b2b79a8c15b30e6f68afd8c8fb033eeda50efbcc746cf6d9f02f0289e3f3adb1f585054b4b1724d5c3 SHA512 30ba8422dcdb89d47c5c9b77b0d7d3fbaeb97d8c3bfc87013d0c6bd0c5bbbf3d0f245c5342916f0fde247a7722aacc0976283cbcea8d31428e223821776f6bbb
+DIST gentoo-kernel-5.15.149-1.arm64.gpkg.tar 59740160 BLAKE2B 9d018a3950477d17fc2a0fe62dc69350bb230b148387db828e25ed78cef1a0689eaa6d4b89a502bb5faac7b6e673f36887f70f6cc3ebd622bc9c3f34edb4f132 SHA512 0e39db17bb891fdb8aeab1115875857df529a07bb97080e5dc974777775805105ed8c70fd20acb2f63366eb31a3d55146183b6a8ab8be6e4fe3f47bfbe492e80
+DIST gentoo-kernel-5.15.149-1.ppc64le.gpkg.tar 54988800 BLAKE2B 22c3af231dd1adbfc12cfe12600d0d753c0cd668112a17f4e01ed42b9cad5b694cb6848668cad27cdb4a3f0a2f035b3a17f6fa291ce308274276468d266c54c1 SHA512 cc53e02e515ab8b18c66b5253dc45e7cbb10bec4ddcea8800ecc568c776db9b769335ad8bef696ed16387da651af399868127dcdcbe1ccef17c44d2165d15408
+DIST gentoo-kernel-5.15.149-1.x86.gpkg.tar 56074240 BLAKE2B b9a98552d5bddc9cf77c63df836107064805d751a106967797ba5d766c01090e87a812c5b6b41af24c3e0397642f6e096904003aa722a4800a382947e641ee2c SHA512 5e574742ba7a0c550a55f9526a6c5932b25d7a7a2dda326cc538a512ea5537841df4c03a9dd9d14cf982742f46ddabb8f4650b055e96954b022ef3f4eb7198fc
DIST gentoo-kernel-6.1.74-1.amd64.gpkg.tar 72601600 BLAKE2B 43b11ada3bed4fccd7ac6ce3cbea4ce142d43148d3645acea85e2eae388bfe389772196e0525b4d4dc0b54bfa03e086d0128cd7c877e89255b424b8fb6dfb885 SHA512 7a6c93fd5d0ed11fce61b5f56ae395116f9fefe7b8b765692ec3f8ae7bd01dd0ad3ffef2945fbdcaf4dac033a1efe3328109cd0e058c0f31e85be0dd65453703
DIST gentoo-kernel-6.1.74-1.arm64.gpkg.tar 65628160 BLAKE2B 6cf9280fd9a0be7e8cfa06ccb4ff788911fc90f5e0a08fcb3d3db94c9cef3bc08e5bb37aa9bda7c9c3aef33becd568154d868254c563cf5a32588de5f68eeb29 SHA512 31c7a1fa05bf19af259ef114fc9ad13d8e703c72347c91b7c9c883a5fd60366db10a3d9e1b083f09dbdd9f8515e9597a1a3ec30ad8c5b6adbca385a7a97ff4d2
DIST gentoo-kernel-6.1.74-1.ppc64le.gpkg.tar 59883520 BLAKE2B eb135a0383a2832c1f9ea68a4a68dce8ce64ee9834b9286c3caadbf2c3d7f39f019bb6d002f1936a5d0902f702e967607fc220afc7935b7e2be6bed5416d9fd7 SHA512 1e325751f217faf09325113d0cbd3cbcc6620b0df3558d34ed4d9e89305982f9399aa300119e2c4d5068a1b5cfc155f1c750281a1fe6648d3320d3753ca02f1b
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.149.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.149.ebuild
new file mode 100644
index 000000000000..1a845828a60b
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.149.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
+}