summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-23 01:09:42 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-23 01:12:17 +0100
commit443b2608d87126e8307a5366589f4d39d8ba14ae (patch)
treed058cc2c21c0357208017ac4d792bf884246a9b6 /sys-kernel
parentdev-python/autobahn: Remove old (diff)
downloadgentoo-443b2608d87126e8307a5366589f4d39d8ba14ae.tar.gz
gentoo-443b2608d87126e8307a5366589f4d39d8ba14ae.tar.bz2
gentoo-443b2608d87126e8307a5366589f4d39d8ba14ae.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.15.11
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.11.ebuild125
2 files changed, 131 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 0d2a2748f37f..b1abef1bbb74 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -6,6 +6,8 @@ DIST genpatches-5.14-24.base.tar.xz 865892 BLAKE2B 5855b54e7ad2fe9fec353706d026b
DIST genpatches-5.14-24.extras.tar.xz 3844 BLAKE2B b11a8019a920d12c848fdc34514ed7352217e41f659bb7935c6211132897e8f948a8ebfd281b89e67e3993e3e5a03f2f32b0b4d3b73f5d1228e65812cf6cbeea SHA512 a2b757955740078aa3891a6a696bd50fa35606bfc6dac0e739abe2869d5322554417b4bfd6a989d23a2d31bea14c06294747578025ffac3d77e8a91ea16f4ee6
DIST genpatches-5.15-12.base.tar.xz 562448 BLAKE2B f9bb15119aed4b64c5e4ec78cb108baea49615b2114d5d64e86b24c3fb6d1e010ca120a4e527924229fca20559c65d8a58002c80b1bc6a034c1bf557788c7d29 SHA512 1d1053b32fa4176e6b0fa50ebd3ca4b3ae7c5d2d8a9ee89133e6c189a9a9c86ddcc7f14b6948ef8360466f484c745150b93706401839d2b44390bf2dcc0b2ce5
DIST genpatches-5.15-12.extras.tar.xz 3840 BLAKE2B 5253e52cf7ad63a16c6d94196303111cb08cc5132d45b09d560a36e02ede15c025c0c7bedc95d3e3ca1294f280472e19063d6eb789a80646f07fe95b61cd34d0 SHA512 68be9403d9fd50c40b61548d3f8d756472f25bb0818ff757529c45c35c3ec6440a4d123375696f75ba623f3bca8144b13bcb851e027625b219746072f895e08a
+DIST genpatches-5.15-13.base.tar.xz 604984 BLAKE2B c674c2eefbc18f2a8d182fa95606714b9a74420d7a3ebb32138b714743f11a7c7b278d77d33747bd1fa1a46e8f8e8364a9238ce3acee6134f889fae267ab0239 SHA512 0741c183cf8def586fc17fcb2a44d81dd5494ac9430a5ca07d239079f41a7a24bb686406e0ecfccdeb8a38e33e99831d2b355d0e8e65e8dd2e30db5f4b0bbe4d
+DIST genpatches-5.15-13.extras.tar.xz 3852 BLAKE2B 131550ddf5d1d67808b98040e88bb75d9020ee99b7907d0b79839a366c52e83c5bee6a322f12363ca0cfa9816d17b36002b5ace1620ef80b386ee8c09fd23866 SHA512 79fe958fcd5b3c4c7406374431e28a482b7512214c0ddbbf24d5f4a42e7feafb3f235f266b0023e666348c2c1888d1c678d726403b2f873d55991e5aaef4b74c
DIST genpatches-5.4-170.base.tar.xz 4264172 BLAKE2B e0c911b0f78caf914d204f3925ca6168feb11c6f6c89d5eb83398847c050ec4fbd7bc397bd7c921dc25e587e85c7233fa786efbe81344945de0a129385d3e258 SHA512 58d02127525031a8414679e6a499be178138b583dabaa232e24189de8aa69d1eabb772804179c0e8c895f8e90da373f1b22a57a59574cee3387f5e6d34cc9da4
DIST genpatches-5.4-170.extras.tar.xz 1788 BLAKE2B fc12d252ce429b286a59f815c7fe95a3e7910717e8782ba732c387b3916235e79d817c506927965cc9090a948a0206dd627f770750fa688e122eeddcc62d68f2 SHA512 0536a4fa513fe4d4c7f90697cf27e501605087eb6c32eb3ef6d0888d84d227c2fa0345dbec790ec273583abb4cb4d7f878ec569ebc88455fab689aedc4d53b24
DIST genpatches-5.4-171.base.tar.xz 4266980 BLAKE2B fbe50a31c7bdaa077c8f6d63884b2b2f3124d1d14d54d2aa169a48e06a6f9cf03bfbe85ee43708b078ae91190331493433e42a01ff87c5a791bee4afc2c12299 SHA512 e8e2e28f84676e9a1456480e742123e514df5716d29a9ee5d68e7992f860068e9f27367caef7118e013a5fb8b1b30f6db6ad4361397c9c55b20fa23738f77792
@@ -25,6 +27,10 @@ DIST gentoo-kernel-5.15.10-1.amd64.xpak 69017913 BLAKE2B bdf43afb0dd6bc6f538bca5
DIST gentoo-kernel-5.15.10-1.arm64.xpak 64058112 BLAKE2B 2f50d2ef78ed02dedb52fc74693e4c1faebbf11de43ee8b0d7aba4d3d1a3e417091da538b25546fbe9915c667b0898b8c49e4b2fe66f7c625faa0834cc9aadb1 SHA512 77526aa28b66fbb44f890065f881880520ee503f23c7f00ff6d8a43a4dbeb79a21a5581eb63f12467c5795c798be333a1e77dba3822e9adc987b5ce6eef08b78
DIST gentoo-kernel-5.15.10-1.ppc64le.xpak 57793294 BLAKE2B 96a5c30cb8a22f124f350522d6054587e3a8e8d6c840bd3d7767283cb198b8762bb4a24c3d6aeebda3e9cb6b02eb9cecabc574026c8fbb4859ea1ad45ff19632 SHA512 1cb9d4fdd4dda1affbbc1c9d3303e218eaf8ed5f34695444fdd5a98005ed6d267f9b83761b7b9ab1f8692f905b5afec4a13a2a28e706ed8ddb432c935a957695
DIST gentoo-kernel-5.15.10-1.x86.xpak 59895765 BLAKE2B 1af3cd32fc6fd5797dc92ba03701266d020b39fd47b7c3b0d624b878c86100388cce0a899916ae90e3e6d6b4729aea21c5982ff5456cf3ac536aed03ea84726a SHA512 f53b635b20f1caec159c1a0fde1e5d9bbed2d1eb838420fcb8acce61545a07edb13034d13c5391d0b9105832aad0ff8a76168695a213a94e239513c270f26b51
+DIST gentoo-kernel-5.15.11-1.amd64.xpak 69061498 BLAKE2B cd7f5f572e66219998fe3dc9298cfbf24f62aeaf45ff68a0aace5cb25d926aad1cffbeed662208754e2b4aeb73baa2e8de6f449ac9b3eb8dba6b3e4c33e37b2a SHA512 3be55b3df36a7edaf5dbb5da96075865a56845ff371a42fcd4d3f61a6d4e954544e629f45e0b78f7110db3a77f2f6a0f9c240cf7159bb81515a0121ead85d7b2
+DIST gentoo-kernel-5.15.11-1.arm64.xpak 64032891 BLAKE2B 5bbbc1f3250261c6ac6a2029e8055e4af67fc47b19e47238def3b313d6b08fb4126ba87697c1a67f834f2b8a52c75ec7a1ff9be2f85c5518aa7a4a1026eba956 SHA512 0a10b84f2698eae6d8547938ba92beb6bfaba59b32da746782c693d1c88164fa7f2db27001d62577d87d9041dad9742439ed68523739ac1632d07fb3cddd9f0b
+DIST gentoo-kernel-5.15.11-1.ppc64le.xpak 57833976 BLAKE2B 01e80f26cef7c5945f0c9f75d162792b3e91f390e714fde61484a311e8e828564accbe1274196903d71ca15ace41a6b8d06230a4092f2fd553c2eeb31a78350e SHA512 04fdf0baf55a5bc85464dd0d3ec014830c6d986e718718bd2c87fa2fe5e439dcc4a865557db5eed1a3a91095579d9ca8412553c1c4a1cc5c1626a1651c5a4c81
+DIST gentoo-kernel-5.15.11-1.x86.xpak 59903241 BLAKE2B ab48b3cc11ac2a4aa1ff4c9b14ea96e3a34efb8941a6794448bc008e4db72d3dac77fae90aaf1e6bfd94572cab352bec77796584274e64c7be1af5746b558504 SHA512 cc70ee598386ec2cdb4abd510511ad880123e1fc22da3603ce6f9966c697ae32d3839b808c1c6c9c42b78e679f6504f8ce228df864ede08d07f55009d7ff1800
DIST gentoo-kernel-5.4.166-1.amd64.xpak 61416799 BLAKE2B a965230f6d843731f13b204a5cb118a2d18854af7f063a385cd8c95d6d597b366bcb9ac614f2862b8819778278fe133029e043f49290c24ee719f9268f0dddcb SHA512 abe0ecd9c9659c1c6add162baddd32921341d7d3f53f3ee5c7c1338cb391a3321bee246df4ffd811cff5a3b62d831f5992fc4bca44d6c9ee9c738ac3cf2b964d
DIST gentoo-kernel-5.4.166-1.arm64.xpak 57654675 BLAKE2B 47d215a54d6403e3887a73e3bf0ecfcebbac53962cc1f0d0ebf0f39c4c0fb0d9a985ea5db5174fd09812c9efa797c373bee18c65567009ddf42f89feeb009b28 SHA512 0ef4cf10b52edaff0bb62f678dffd85b9cb4acd0a9c75e317a6c15d1a84b4061533cd95bdc6d0ec687309b1f99220292ae978dbf663198028ab7e341f1e4d8ea
DIST gentoo-kernel-5.4.166-1.ppc64le.xpak 54973435 BLAKE2B e20c7f437bd2d5920fefe33d408ca0a99d47808420a68be98b3a086c7fd817954aecc7bbf8fb1671f9c1e6b85df874a598a921b07c5b073479fd13dfaed5d365 SHA512 b75ef15bb9ab843a2ddf2cc933c8d94d9edcef7e0eb95e21c7aa47cb78bfd3fe90e42a40fd3b4c5f1f747d7b090f5f540abca92489f99ecb7280fce6969cbcf0
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.11.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.11.ebuild
new file mode 100644
index 000000000000..849be5e61578
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.11.ebuild
@@ -0,0 +1,125 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit kernel-install toolchain-funcs
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 ))
+BINPKG=${P/-bin/}-1
+
+DESCRIPTION="Pre-built Linux kernel with genpatches"
+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}.xpak
+ -> ${BINPKG}.amd64.xpak
+ )
+ arm64? (
+ https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak
+ -> ${BINPKG}.arm64.xpak
+ )
+ ppc64? (
+ https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak
+ -> ${BINPKG}.ppc64le.xpak
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak
+ -> ${BINPKG}.x86.xpak
+ )"
+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
+ virtual/yacc"
+
+QA_PREBUILT='*'
+
+KV_LOCALVERSION='-gentoo-dist'
+KPV=${PV}${KV_LOCALVERSION}
+
+src_unpack() {
+ default
+ ebegin "Unpacking ${BINPKG}.${ARCH}.xpak"
+ tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH}.xpak")
+ eend ${?} || die "Unpacking ${BINPKG} failed"
+}
+
+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 "usr/src/linux-${KPV}/.config" modprep/ || die
+ emake -C "${MY_P}" "${makeargs[@]}" modules_prepare
+}
+
+src_test() {
+ kernel-install_test "${KPV}" \
+ "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \
+ "lib/modules/${KPV}"
+}
+
+src_install() {
+ mv lib usr "${ED}"/ || die
+
+ # 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
+}