summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-04 17:29:16 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-04 17:30:52 +0100
commit0ed4378e1fcd9a245035b237df65090fd58cde63 (patch)
tree473ec51d052d9963e881c1541c6f6733d7f31d9d /sys-kernel/gentoo-kernel-bin
parentsys-kernel/gentoo-kernel-bin: Bump to 6.0.17 (diff)
downloadgentoo-0ed4378e1fcd9a245035b237df65090fd58cde63.tar.gz
gentoo-0ed4378e1fcd9a245035b237df65090fd58cde63.tar.bz2
gentoo-0ed4378e1fcd9a245035b237df65090fd58cde63.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.10.162
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-5.10.162.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 d94a161d9d54..0474646083dd 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -1,5 +1,7 @@
DIST genpatches-5.10-170.base.tar.xz 4506932 BLAKE2B 9503a369d1d653fc08e0c24438943dd3b583c25d187b5913a5308d41a7322a6467324be402b3748d201040b004980a5c6021704142008e49888d4898ec6194b2 SHA512 7b737194adc2876f589be2a155b1142a48353a099872cf1f75f653fe0c2fbb1899cee2c39970147c827c46ae31d5151aaef18d0a805fdb28d8efc0fce4c808c7
DIST genpatches-5.10-170.extras.tar.xz 3868 BLAKE2B fcba4ddac271a957a8f2645fc833338bd2da71ded4cb935bf1f2df267f50fdf1bab0e2bb0967a3cae975bc7cfaeae932261ae0aab4bcad40b32546ff69850c41 SHA512 bb272928563d33ddf9a90db610ed013f625121f8a05cf497c14dfb74052300cae361474e71203be35949ace7aa9bdc23e98f2dedfe3eef885a59674a90166c6e
+DIST genpatches-5.10-171.base.tar.xz 4617172 BLAKE2B 7ab9b6676f808124a6e2996bd3ad36b1e76228ac969f16ad3956b50b31e8f5f12f3f4588afc88df42b157bd6847474e8cb1e1317e863ea63da94503ee0b73e18 SHA512 5243ffe0b9c79e75f1649f3deafd6293cb016475459e51fc4f298513245d974803a5d802c1670022840d1c087daa55e5d1133caa5e5b49b39d1aa1e7604e897b
+DIST genpatches-5.10-171.extras.tar.xz 3872 BLAKE2B 27eff9d6f83ae27c147de7910f5d8e1c43f286f3f3da6cb56caa048c2c226c28926a32fc40b47cb0dae39347754fd65e1f26ef9c350065cd7db62ee5935372e5 SHA512 bc82b100c55bd0c935363c10dc87607a8aa2539401ea6a1c6618d37deae072b390cb33e3075a4dab3583d52c7f0a79e30f2dfc8b0a6eb5fcf5f59d8a01020ede
DIST genpatches-5.15-89.base.tar.xz 3552056 BLAKE2B 2131869a216e9e99fe893e502e9dff10ef486fcbd0a130db2621ecbc61194d4f224745d146213edf35083752de89624346eb7fcd7c2fb53f414d3ddc200b5b51 SHA512 ac840d8ea832f5a388ace30cc435501112992a16834dfd01bef764683b415405b1f9fa644062c8ca3ecb18739e55133f2282281436847d9ceae8fd6104dc583e
DIST genpatches-5.15-89.extras.tar.xz 3932 BLAKE2B 25a5b47eed2412b6d660572c266fd8d22be0c3e570dab6d45a7e6a0015227a1b4cd468582bebe3ebc7f47600d3ad30a5853dc2398e39ae02352a1b5df1faea36 SHA512 b4ce39a33610e5ff1c3309f787dddca702e55d81b19dbfb9300386a246e758ca9192eb98189ed01ba138d38947fa35e27dc6d3b459da059807bee93289845879
DIST genpatches-5.15-90.base.tar.xz 3757428 BLAKE2B 30e129e5362a5fd690d8273a36e102510e113415e3241f838b366c2e35dbf1b95fa30d6e34e6e36c5d938855aefcc66a039f1242ea8a69263fdbaf84c46434c4 SHA512 bca6d1252657ad611a71ed2ea128887b131f9dad83f4c0007573b2637fd79b117023d0ade5b833070a8c86ab4f698d0b3250e01b612a0b65515a164fdc9d1212
@@ -22,6 +24,10 @@ DIST gentoo-kernel-5.10.161-1.amd64.gpkg.tar 66498560 BLAKE2B 6614aef018fd06c61e
DIST gentoo-kernel-5.10.161-1.arm64.gpkg.tar 59658240 BLAKE2B e88ccc74dea87976843b87bd96ed1704d588e519913d4376cdbe80cded1e3a4370b9c3cf692e510732ef15505ab5497db1d5c5091b523457e644793b0dba6c0c SHA512 8f7648ecd4e99c3ebd8bf67f33924df60693cdad47f027c75b8a68bd3efae23defe9f1caee2f2604d58b931439d557ef263c98a6a6eb6171c7a2b8b91f2b1d60
DIST gentoo-kernel-5.10.161-1.ppc64le.gpkg.tar 55050240 BLAKE2B 97a879d136891448fa86f598de5ebefe875bbd2b35c89ebd882b6913cf02a82de9981afdd25d758649aefcfd977edec2ca11d603271bdb17a76097b3333cb3e2 SHA512 2f5f0a2dd49caefcafe44ea8603f615be5487e1109e6aaee21553e6b4d9b516e8b0ddced4a85cdc355d363e9ddeb431b9c7c3fbc1806bec5d4bcfd36195c77c7
DIST gentoo-kernel-5.10.161-1.x86.gpkg.tar 56422400 BLAKE2B 13d65b837c23fcdea30a82ffd38b6433f91abdb1911f07271be055c005963911959e02fd95b2967149f29cfce77845f8fd1872d599b6c07710cbfc6fcab45eab SHA512 5a0086a2916997ebdb9aa3250db2761d2d2403f8594955eb369639883e49d2c5c156596c8caf893df4d685abb9483855851660799f49e89a69c9019ed549afee
+DIST gentoo-kernel-5.10.162-1.amd64.gpkg.tar 66498560 BLAKE2B f3825295f7b65e758182f7dbaabcc02a827372f6c3b7850edef288eacd35eb223820cf5476921089ac926c9f610a492c50ed251610db96a89e8eb121c5dbee71 SHA512 57e5c7781612f0321d8272e62f92409c82f6cc5d94a06973599460fd74f5807747be098bed2759528f60f4e3ace4ef33b3138f853c66e7f5dc508534a2e07d26
+DIST gentoo-kernel-5.10.162-1.arm64.gpkg.tar 59668480 BLAKE2B 6207a761c00f7ad10d4f733cb7cd8251354786fea8c3e339ea3b5ae09882bffdbe9b4e30eec10ff06b554c7c914f452d7a0da4321ef4d4f03566fc9b1e4356de SHA512 f4ed1976e2d9325e7d188440d0797bf5b07ac60d29dfe8573e8a721fe42c948d13e8a0c76adb7aef2ddcff7420fec1505e81923e66d1a32677e9b206feba57bc
+DIST gentoo-kernel-5.10.162-1.ppc64le.gpkg.tar 55050240 BLAKE2B 359a8cf556e549960cafda4ef108f66cb1ff01f3e6d0a9c850365d8bb9f0f65221b0a4711ade4a2326edd45209ecffa1e2dab485da359e450bb80493aae6019e SHA512 f6cebe6c889444b83251eb1be08a54fc3629ba2f226792dfd406a76fe85067ed48abe79e3b9bcb5b71b560460ea45527b813349358504d9938e4b02dc4151781
+DIST gentoo-kernel-5.10.162-1.x86.gpkg.tar 56442880 BLAKE2B 240127a3fd2c39d9a00fe03e161a58c323d6e3e8cd89592217ec6b8d7a4b95033f6eeacff27cd30fb4995dac5b675ace1375b999ad15da2cac6844e8058e4ff8 SHA512 7193db90ba292da179de8035fc71c36a9cf10e78614efce19c84e4a4fb33f0e2894ba232bc9a9ef5a141997e3b4dc2df86f93ee812fb753082fb3d1fee304ed1
DIST gentoo-kernel-5.15.85-1.amd64.gpkg.tar 69806080 BLAKE2B c8a30ead36075a73121fb0a9fd3f924d1efbc6fbf38bbc5d997cd5d9d50dcf6daabc4ce9501ed31c151b847c7a80dc4a86db50a2491644245fc6c2822b360eac SHA512 5b36794fe4076bbc3ceae8939ba15c2aede768d03acaf859a349d23bc28d540409655c7731a0b6f671a67b789a4563dd21d167315bdbebe9bb81462c4c72e3c1
DIST gentoo-kernel-5.15.85-1.arm64.gpkg.tar 62873600 BLAKE2B dd718f470550c4243b13dbcb3c2513fbbcbc168554b4fccf483689772a59c6bd92342e80ecaced38e2c5ad139b6cc19fae54c6ecd90f3d58bbef5e7bc2692799 SHA512 6c056798c28245c297703b97859c2219123ea00a8ee816694ddc186f5694444c5854c469b52830e9c2f3d4978b469d83707626e10f9cae4472c29ea8181d4472
DIST gentoo-kernel-5.15.85-1.ppc64le.gpkg.tar 57231360 BLAKE2B dea31232116da911864d2ce1ec8a62e2959658ae339483fa23a3251fb98cee1821ee51a24041b711bfa317f9b4c2443f1c34b4643ac9b8be3788b04fee0bcae5 SHA512 de537a3f7e0059f94b6b7de56776e10fef13658aa464e54e528cbd5dc78eb5fec41b0c428bc5f106d16b87745fcaa4d767cc3b5843c83de26a5eb568f9afe613
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.162.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.162.ebuild
new file mode 100644
index 000000000000..8f6c357c55e5
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.162.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##*.} + 9 ))
+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
+}