summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-04 17:28:38 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-04 17:30:52 +0100
commite598d1e63d4677154e1f72d3b758a3f94dfceacc (patch)
tree267b2dd418e6c0c6993ed0e412ce885e50a8e209 /sys-kernel/gentoo-kernel-bin
parentsys-kernel/gentoo-kernel-bin: Bump to 6.1.3 (diff)
downloadgentoo-e598d1e63d4677154e1f72d3b758a3f94dfceacc.tar.gz
gentoo-e598d1e63d4677154e1f72d3b758a3f94dfceacc.tar.bz2
gentoo-e598d1e63d4677154e1f72d3b758a3f94dfceacc.zip
sys-kernel/gentoo-kernel-bin: Bump to 6.0.17
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.0.17.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 612e5d1363ff..d94a161d9d54 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -10,6 +10,8 @@ DIST genpatches-6.0-15.base.tar.xz 709204 BLAKE2B cba74ce5f9a6d8a00991f87fe33771
DIST genpatches-6.0-15.extras.tar.xz 3804 BLAKE2B 84856863ba0897a7ac9238094fec3d46a39cfed7db81d1021b236fcf0bbd4bd893ba44af4ddcc9ae955ab66424afd70ead4fa714a1b68e11d7e66539f94a6cf5 SHA512 7e49da632e9bf5a78c80a0817708e571452f92a99fa91daca8495282fd0ed955bb16a5fb57ebbfff68e9fe6733655c4d04967c6931d1acf6dc6102a44bd9b04f
DIST genpatches-6.0-16.base.tar.xz 995192 BLAKE2B 17cfba17971fadc2e389f14e4787604489f8a30760f3687df364d053999819dfbe63264eaff4b04bf7df00d66278e6d56d856e09a043407e282bbcb2fbce4c7d SHA512 fc199b59ee9392693147cdfcd11d26cacc5ae5b4a76a3734f32e2b86a027e0d13a4ad5927ab06d333b7ec89f1983acacd876c272cb48e6555e1b067b0c7ae63d
DIST genpatches-6.0-16.extras.tar.xz 3804 BLAKE2B e03fc44e706291fe586f115e0cf58c78fea7f259a02cbc05cd9bd44166de7f329c538e00a86ca9151cdcad66f029f52266816199743fcf176e0e0295c785a833 SHA512 06ad99c99c6b130e6b6aca4918ffdd693b04830ec475a397f697e70ed2356c43a177a67ef46141d28fdc7ade2eb9941f24402c82304340b000f28831f4ea83e2
+DIST genpatches-6.0-17.base.tar.xz 1012800 BLAKE2B 66ba9821444aa24e2e2a4b400417ca11b97818a6fd2cecbbfb6c3e66b5f1b66f957b464e2fd7e6ccca80a513855a4c54bb1e54fcb9e58c33161ba721345eb87d SHA512 ffdf33470043972e06084e725061a0d508502696079f8cae0c6a23b0c1977da9213f73069890483952b19ffceef822ff409314c2b763024767cf8cc85adf6645
+DIST genpatches-6.0-17.extras.tar.xz 3804 BLAKE2B 46529c32e888478e4542e581837bb51322f68234470ba8a66a2f532bbe1469cdeebf7895931084d7e177562d201720bb8d8b6d32d92f27854d4728beee17423e SHA512 aa1125ef91fecafb21ef0cea18c9d8f0569e46c0ae24460cbe864e48c7bfba5c287bb05e958544592962e77992d6acaf2306041faa6f2542026d923a7140b43d
DIST genpatches-6.1-2.base.tar.xz 15048 BLAKE2B 84d1f7b4cb2c13e70b0d542853856f05de48739400f66253fd277167144ae0c259579e539d43ce65d2ee206a2820ec2ef288d9296c68a4dbd674c43d378102b9 SHA512 e349b8b535e8ab9f70cd01c513480cf75bd10dd2f2d5ef15f97734ecc9e481f137dc1cfa4c50f8a1a2f3549bf0142f83f7224603f881e66af130cbe1f8023496
DIST genpatches-6.1-2.extras.tar.xz 3808 BLAKE2B 70f549904446897e8f955146dba039b43681e03e0d72049e35473ac6ff5d05a1a72c124d410fdfe065d5652c0f0312c6eb4907afbb475e3cd9828c3f0edb6fa2 SHA512 9f92c3b899a8b106649003acccd33cb3cfaf9838ec421998d3b587893b2e6705068fdc0ff7b52ae78203dc793b6064742b721e68bb1e8d7160c48b419062448a
DIST genpatches-6.1-3.base.tar.xz 331284 BLAKE2B 66670841382237e0d222ba04fea65c98420c15160c7c9073b3107efc2779aceca0bea1643be6c06d5d1ea15558cf53676d25921013bd437027090be4acb85228 SHA512 5873cfa3f67a8118d92b141406298760b54c8b3625081c5dae79fe0c07e3eae20474cbc85601e871a6bdb5b3ed2f70e16e1939d8e4af67db7598af845853f0f1
@@ -40,6 +42,10 @@ DIST gentoo-kernel-6.0.16-1.amd64.gpkg.tar 75939840 BLAKE2B 2024eb9f9ed61b1efd2c
DIST gentoo-kernel-6.0.16-1.arm64.gpkg.tar 68874240 BLAKE2B 92b2c8375fd5bade6c26c0edc0d8f5956452c6d63a8256492494759ea66470a22167e7fa2147bfd1d3e335f3327e62fac512436b8898898e66d8ae9a26bbf951 SHA512 7d5ba441399ba1ac216567d936c462e0b94638367c23f58f869bcd1d49e7b16c75b52f422e12932d6f0fb653ee5f262bf00f1ff88abcd94a8ca7912426a80ef1
DIST gentoo-kernel-6.0.16-1.ppc64le.gpkg.tar 62187520 BLAKE2B 2d53e0ce908b31fedb4532853463b2bdfffa928502c0906d2e7ae756a20c69fcbdabf2ca04199cb25deb67ded066594ca12288bd41e77ba04c57beac32d5ea10 SHA512 63e2436914e711caebb0f6af8a47870648c8c61b72f7d1e95e1e2ced9737a6e9a5ce24169c4035a4801c5223a19f7df6cbdadb8ce146261ddadf558f7ef433b0
DIST gentoo-kernel-6.0.16-1.x86.gpkg.tar 65341440 BLAKE2B e4a82d72ec2a56e0ea521a2c72a5c43f8702a601f64e412ef38e57ceb341f0ab79c3cfdc46f2ae84f47a0427ce655600f7ad396b81aa256a73833adaf8cb1cd9 SHA512 453a64d19552f0ff6c5981b96d7ad85aafa7365896c664e65a158b1932bc94fe85b27fe542bf0fc38baa739dc05c3ee577e63eba5c82ea6ce459c7daa9589509
+DIST gentoo-kernel-6.0.17-1.amd64.gpkg.tar 75970560 BLAKE2B 40fd55268fd91bf7a98d715c9d180568e017905620da1728c75f588a5c618ad6b55c9bfca98c786898f0481401c0743103bc90885c6e644c9043fe0863ff5586 SHA512 e73b26d666192889410730385cacbb5da7db677a59b1a3ba09965cdf31681ee4cb43021dd9d156d271e6b7298b677eaaa1476ad85eb3bdaa1ddc85f1d7e232c7
+DIST gentoo-kernel-6.0.17-1.arm64.gpkg.tar 68853760 BLAKE2B db5e1141d85d3e20f214dc72e457c1e908873f2946babe8c4d1ff1095d4e1340e8202add37abdd4804fc643349c6bbc711762436e6fe796f24f9542de450b46f SHA512 5675cf523d47d31da2df2caec9479e5baec480935bbb98035019b3dcf30bc05243b3edfe40514c7e928d3f2d6ccc600175ee85d954f9e15ad13f7afa634e4673
+DIST gentoo-kernel-6.0.17-1.ppc64le.gpkg.tar 62187520 BLAKE2B f6c647e0e7e5c7769b04b83f49b987c3d29274774bf7eed3f622d022ca4c77866a2ff4bce8d537085fd9ffe9be4dc54f74cb14f58a1766136fd530dd9ca7f170 SHA512 89027764b1d088a6d489ef1172bacd264d437e11b6773fe074b112a767f7a01418ca5490c1ef6c566727b808eba6970a4197180df56876ea2b3b13fd84657ae1
+DIST gentoo-kernel-6.0.17-1.x86.gpkg.tar 65351680 BLAKE2B 37951111c684362344a2dc0030ab2d5072992594f29ec61dde7c5bc1d506dc56af85775b461e543718b970df24efd7d98211217c5a40db996068bdfefc580375 SHA512 df48162cef6efefc6568a35844e49987a0c44a843e81ee4ca55e3d641ea8f00ce0c7c05a0311f5317a5ad49d64a498775d0d340ac3fc60992c17a66c91e40bd3
DIST gentoo-kernel-6.1.1-1.amd64.gpkg.tar 76697600 BLAKE2B 77999e02b8fdf5b4071ece990aed1044557ca87ed2999a94017319094c708d87af7ccdc2d784782f9a950c52660fd2663b2b2d336e94a6b0e351de53e9b28d15 SHA512 26c99f5cb710273a6bea1160ba13a01eafba3e7f0f911cb358aaa9f97e6f570ed423152e9bf310aeeb761652652bedec961e8ff5cf9fc589cd41b29dde93d389
DIST gentoo-kernel-6.1.1-1.arm64.gpkg.tar 69304320 BLAKE2B 2bf8beea4688e5618cc60342fc202ccd4ef5995495768de73276e078260054070d085923afb79e006204b6cdf4505afbfac1ca7c305cb907d63a110909dc52f7 SHA512 d9e6aacf0c861b2febfbb5f00993de78cb8d4bcf743f1b45243c18e19a6785bfc661d2554dccf717fb3df841127ee38a9879274d3ab9f4b29fdeb23f9e5d856f
DIST gentoo-kernel-6.1.1-1.ppc64le.gpkg.tar 62709760 BLAKE2B 9339668dfadc464ed02b86b69a23d30f4a20ec4e5cb6932c50707db66ef8713b94f8e11a5af0bd110c698d9702030c1983da3acc939afa6eb439205c8cf09ab0 SHA512 6e7416e48a82a902b9fe0f6b642e73552964e6fd615a9e53efc9e2d5bc85d29f18f0fd71ba2b7da883fc431878f9503226676f1bd1c8d06cdad4558815eb7948
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.17.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.17.ebuild
new file mode 100644
index 000000000000..877c81f2e72e
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.17.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##*.} + 0 ))
+BINPKG=${P/-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
+}