summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-10-11 08:51:45 +0100
committerSam James <sam@gentoo.org>2023-10-11 08:51:45 +0100
commit8c7304e40796606645bbcdfb44770611114c15d3 (patch)
tree130feb9f2f81f543b42f172f73606618b76386cb /sys-kernel
parentsys-kernel/gentoo-kernel-bin: Bump to 6.1.57 (diff)
downloadgentoo-8c7304e40796606645bbcdfb44770611114c15d3.tar.gz
gentoo-8c7304e40796606645bbcdfb44770611114c15d3.tar.bz2
gentoo-8c7304e40796606645bbcdfb44770611114c15d3.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.15.135
Signed-off-by: Sam James <sam@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.135.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 056aa0d6ae50..a7c8abd82527 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -4,6 +4,8 @@ DIST genpatches-5.15-139.base.tar.xz 5486908 BLAKE2B 9bb9dce583643bf316d24dd741e
DIST genpatches-5.15-139.extras.tar.xz 3932 BLAKE2B 57659070be3889530d15448b8c38961fb4e45f307ed0f9bec896c70ee3bbdc133136fffe0f4f2e268bc96005766c1d662912b0d27077e67f917f4b30458c7694 SHA512 ca2599baa4e1462ad723b0a2c28b8e73a961a0b1b71a27344eb20a7e89fd1607454cb349d3c4401b061813fef395ce395f2cf6e52a75c249e6d22228a0c0466f
DIST genpatches-5.15-140.base.tar.xz 5551752 BLAKE2B d75b41c5bd5c1d92df5057a73fc8474eac6b20885f0417efb23eed0bb365932560b47ed73346c1d32c4b8cef1cb8fb3c64c3188244f4faad854826aa41ed81be SHA512 56c3c9f3d4acedc4cc89f4666e13d807d89471ebd59043cf1a9bc5e79123be7c34fbdc289e7136a6dcbaea14c94f6e86b93ea680c35deed8d7ee9e9a9e457211
DIST genpatches-5.15-140.extras.tar.xz 3936 BLAKE2B 006d8787d59e0c62258d3ec071bed673a6c43face73907ab659dc4791c305532cd4db79a5ab6513117470825c10a17582c96fb6a111bbebd1251be21cea123a9 SHA512 fd0b5fb681d5d7a67780ac85915e6fe7c06528ee7353f95f4a51d1dfb70ef654428b44be603f1a011355d01ee8665acec050d9e67758af267bc557802cd647d8
+DIST genpatches-5.15-141.base.tar.xz 5572792 BLAKE2B e062086d50d08b67c21c785b086c4bc0878f078ac6c10cabace2ebfe388af3497d2b98bb2e5d19d4b5791e78456bdf0e8c479121eb8c41b4ca2fcd362ebffe4f SHA512 1835684a7737d61423ec0778316b46fedea491a8f5254d9a2d630e5a78519d61d22dfa0d9d6ea1ece563f165c0d54c748f23bca5df304ad45338c27327e8b2c3
+DIST genpatches-5.15-141.extras.tar.xz 3936 BLAKE2B c51e1f9dcf3995a2e178d8763407dc94595e513f02d96d54dc1b71a34ada0eaf46b6cb1cf4bebd39b4776605532df529cf8ed361480181af516ab889f915ee5b SHA512 5eb1f68368de87df9236bcf10726cd3abcb75a9f59579e9810b9ea53f3ad332d345a3da7c1be61826b6b739aabb11a838d12ba7be3ce2cb890e094433176b02b
DIST genpatches-5.4-264.base.tar.xz 6232296 BLAKE2B 09955b4c773e8f945a83f24ba79d40c62eddcba3c207f3c91dfe0e1e9e4351b916bde2bffef862f9c7adecea63a93a9390736010dc2f4784848c467208c4d955 SHA512 2effdb90bba04a190c2e88af5548c5a66b5144a92927c6a56c38b1e556beb2cca63804842ccff3889b243a1f47d9b4d91d8288c17fce36b9841bab788685476b
DIST genpatches-5.4-264.extras.tar.xz 1812 BLAKE2B 5fe283f8ae6572dfc1c156baa6574c1ff172e05772b3e74352f61af9c4165f02544c62c3378a42fa0cb4167daf59b4f2fd95092d9cb459efc44f3f18e695c03b SHA512 3fb7e314a03c4f370efb47e97699d74d8b8b3d562fc3619e8b71c7431168d30875d5bfdbb826c2bb5b72d4e752b28a2b0b2885bc336cf5470c5099b2804f04cc
DIST genpatches-6.1-62.base.tar.xz 3593184 BLAKE2B b9ede84287025cfb00e4772aecef49bb1528e3d47a4bfba110dc019ea94ed6319db1831ee765a497150e410e0d66029317c9859e951672207664345750531d5f SHA512 e1f5c54758b001cb9c4be6fcf0e92ad95cfe213b32186be0160bf5980ce1c6a77150f26baf89bf5e23c10c9c96df6ae3b5d77e2d84a4b792a93bb968a600fe58
@@ -30,6 +32,10 @@ DIST gentoo-kernel-5.15.134-1.amd64.gpkg.tar 66304000 BLAKE2B 0373ea1ec24e60b537
DIST gentoo-kernel-5.15.134-1.arm64.gpkg.tar 59402240 BLAKE2B 8c0b4eee837ddc39bee5bef7dd5e1595768cbfd40c6a0704497801fedb7e701e0414994cb4d0fc5c57aadf10f778c192f70da399f18780fcac6c6f7f55d779fc SHA512 66c6861fe9033ea76076c1e0a99a3572920b4271087b345202e371b22ca8079b8b007e139cb448dcda04a99124b1d47b28a9177440ee61e9948250fc7fd6d975
DIST gentoo-kernel-5.15.134-1.ppc64le.gpkg.tar 54947840 BLAKE2B 2bbc465c00de2300d8ad78f86e4e0b91d9a4d9b153dc27c8fc3526522aa6da9952ffae4f7564dfcd5ab5365cecbcb6dba8ab7a4b9c8b70ad5598eb21a3fc4f60 SHA512 537d5f1f73bace803a55564f21b36fa5baed6e429ef9a1d3e1199b44841e5887fbdc969679f31fd73ac084d6cf55f16eac034a260d5b71a7a401bc97bac4cfbf
DIST gentoo-kernel-5.15.134-1.x86.gpkg.tar 55971840 BLAKE2B 30eb75986c115340b9a87cdf6724ca21f489a800849aa3c0315d4a663064696d05ee6be731aad1ebf6903443a0826f81f2f8b6c39112b945cd37c16b93c320b9 SHA512 abc30a76d029dffb69a3cb62126f129ac07af3ca2f7b79b7ae39d78b1ee25cd350a7bd51e37a85387cfe4bc10d0611e22a7d668a770936e38f902e5e5e3704d0
+DIST gentoo-kernel-5.15.135-1.amd64.gpkg.tar 66232320 BLAKE2B 84dedba1da241bc1680d799bb8620cbc039a8a1637196b91681f4581241f2033b93516a15eca2f3374d2f7e3667aa22ad3f364c9a29f768cfce71b3cc74a3f4f SHA512 e0747bb34f1f5521ae7ecdecca55a44f9fcd25dcf80729de10b9206a24c7dfd05b0aa75adaecc4deb54259c39ecc483834f60f6df984d07ac0cc066fe57665c9
+DIST gentoo-kernel-5.15.135-1.arm64.gpkg.tar 59566080 BLAKE2B 39b213d78c68f96dac90a31ba6cc72d2a7ea5131e63adcc928a695d9e516ac5bb58af043b09043a78f05417f7ec9290b0b9e0e97127ad9713ffe85e8055eeceb SHA512 63b519140ac339702248b9a1a86e9f9e4477c26bb8716cd9a7bb748cc0f974e477d1fab84cdf02025b600a1df44bac438e4321ba577ea7394c991fc424a40437
+DIST gentoo-kernel-5.15.135-1.ppc64le.gpkg.tar 54855680 BLAKE2B ceebd35008845871190742af97ffe053c831db5780f76fbc74baa641590fc6a6e618a4fbcf0846f934a1d0406cdff11e52aa3ec872dc2b788e88fa0882d7f133 SHA512 e846b404bcec42b28e401b1db785adc5ff9e500809051533e07c068136c8e76ed0fe172f6612446949f3e5388c372816f06c1a4b70a7ab2f7b70461af3419bc3
+DIST gentoo-kernel-5.15.135-1.x86.gpkg.tar 55910400 BLAKE2B 750b67f5deebc1a7f3592eb70a59699dae9ba0d5e8b0b7d3d0821072b4355d35f41abed1ff39ac7637fd339f7aa6b9e90ce7a4eeff9a0d62442fe19e186f20c0 SHA512 da4b66932fa89a91e6855f4f8d283f8c69e73d6482332de67f303576867ba1c304ea9c09585041ffecd8d78a2d17270d13f4e53e2b9b140d27ccee7c51aa7130
DIST gentoo-kernel-5.4.257-1.amd64.gpkg.tar 57559040 BLAKE2B 6da5a46d02e0d0d00df0ab49dc87f8d174d77837790ff19b9fa091eabb0772c39afb3838dd8cf0d663500c6aacf803344645b1f0510d0fc3f3de6eba4c5c1bb2 SHA512 a268a093bb566e9e666ed0868e3a15df23048be2db5d2cde92a1a1852cb5152881b85672a3e201fa20b22cc078a44759fe1ef0b6b429520c301111b1c07b9402
DIST gentoo-kernel-5.4.257-1.arm64.gpkg.tar 53841920 BLAKE2B 8596b416fb3d0fc4c656eacdfa0338745a25d290d2a0437bfe2d5cfc176a0e25f1f90c66a88f7a1ccbab3b7a78e67cdd61d0c1d156a4bbd10f262ea0428f4b3a SHA512 87d7b749996da91a6bf1a30a039e4b91648bb24a74f7261d94278bddcc99cc73418d4b693fb63a3aa1cd97f9a652500852adcd6e5c13f7bd625a5d106baaa507
DIST gentoo-kernel-5.4.257-1.ppc64le.gpkg.tar 52295680 BLAKE2B c30d017af6fe97b77d78eba67ac759f74acbe3d27b96c68cf97b6e6ae2a3e0f76b54877943f8624b318bcde143a622b3accbe60007c9914fdb68b9f5ddd78ff2 SHA512 9165bfccefae9d2563db86a4ac75ec27abc40066cd1842efcaf7a0550b5acc96cc462c8a3a2ef37298f3653b495e059ba205c3cc94ef0f00c810577697aecfb2
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.135.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.135.ebuild
new file mode 100644
index 000000000000..83c6a5e4fa8f
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.135.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
+}