summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-01 17:24:09 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-01 17:33:11 +0100
commit2ca437c281f25a9061b594b9ec26b42a28c1c2a4 (patch)
treea0549a9f254352e3ceb273c51bfd3bc8136ae1ad /sys-kernel/gentoo-kernel-bin
parentsys-kernel/gentoo-kernel-bin: Bump to 5.10.83 (diff)
downloadgentoo-2ca437c281f25a9061b594b9ec26b42a28c1c2a4.tar.gz
gentoo-2ca437c281f25a9061b594b9ec26b42a28c1c2a4.tar.bz2
gentoo-2ca437c281f25a9061b594b9ec26b42a28c1c2a4.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.4.163
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.4.163.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 d1b7178b7abd..b560ae9d589f 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -30,6 +30,8 @@ DIST genpatches-5.4-165.base.tar.xz 4172064 BLAKE2B 5533ca691df2b2eae12f1ddfbdd4
DIST genpatches-5.4-165.extras.tar.xz 1788 BLAKE2B b724b539ecc76ffb7ed1186b71ae33ed066ddc823647c6da87e6afc3c0348bef83ce7cbade88f80579e00de1d2c32af76e5756f71d617c70714656ee60f2b295 SHA512 428c5204967d8bcef77c80c3146294fafe676501e72187c8a5c6a6882cde732635bd422ae690cbf365bdf033891a0f54605e953daf542251692af92a873f06b1
DIST genpatches-5.4-166.base.tar.xz 4193772 BLAKE2B 0a06f3f716f07f15a01f96fc0f736300a90a7f5be47f1cea7c9c245bdb93f8d255178d0b6b2d1ddf015ef1b51d2f86ee1fb9f45aa17f91ccad41601069d15632 SHA512 ce3ecaea43b7cd15af93a3e4076bc6cac9815f820891ba4b4127a4f8581d812a4c6adbce34cb284d189110df34f64d61d4a7c2619ad0da62ecda94185230aec2
DIST genpatches-5.4-166.extras.tar.xz 1784 BLAKE2B 29955fdfe9d1f4a9f373cab61b9931a3f4d816e78766db02cb942951283ee5ba1968d3ed208164681fed488126210d93cf20731fe0b4e1d0274333bab75da360 SHA512 799d99c155d060e959728c311df73c6ae184be5a8a7b113f8714ccca0fc30a7b390bc534c138b6d37e00b7ae2e2277229caeefa047dc3b110df9d2e7a74b2ee6
+DIST genpatches-5.4-167.base.tar.xz 4225548 BLAKE2B 8ab7df3c0ef717a37751b84b201f48d9fee77b4fdc6469716b26dca2ebfc0a91cb4622362de8a498c6b92ccefaa95b9810b2fa1eeaf0675ec01e5933dae8a181 SHA512 8566f02ed644781c21a4ceb555754d45ecdf3c12fad23482ea7faa39521015c113cf7cd1ce6beaacb6dce8f0f812a839075e8fe13d8889810cd3e29bd9b75ca2
+DIST genpatches-5.4-167.extras.tar.xz 1788 BLAKE2B 69a8d7c8e5a4fd42c3ff531ce9e39db68c41e43205f91d0408231067d79776dda65f7348fe2c1b5a31fbc0f01eeeb09dbabbbc4c053b060738f5a5dadc885bbf SHA512 f64a077bf5142baf282c847cc17e0e47c22e7dfcd7241c6f240aa42de40714799a73fbaba31b9b502ebdaeeab8e2f0373227f1eb641e10157f307aa49df9d351
DIST gentoo-kernel-5.10.78-1.amd64.xpak 65516317 BLAKE2B 444139b73822a88abf4ff033858cd4514f09c689bf68a24659477f5106b4faf89678ba7ed0b80c831d16456c04309bbfb1593cdcab9979991cf86052ffa9632b SHA512 4034c53b5c8f3dad7f8bcc146d3827978040daad6e05dbdd683202467a8ad62c29fa0d79236b1fdae404993f42ac301088f89605e4f6d32158cf867b498a8e62
DIST gentoo-kernel-5.10.78-1.arm64.xpak 60916561 BLAKE2B 4994d703ca272c6ad296cf50c498e992a799e5129ff758c9797fbc4d29c5ddef3a865b529360b189c27c751213ac5f7d3822a9473f0596494c739ddedbdc6f95 SHA512 f1c9eb8fe6f3997ff90ddbcc9b7dcd6c7544edd69301da9e2e803a01d288c503269ec1295883975da3dbdc6928bd7a8e27f4037cfcb890545fe7d86db7df90d9
DIST gentoo-kernel-5.10.78-1.x86.xpak 57263133 BLAKE2B d4f3ade0de191584fb2022aadf5223a917d77f8e0aaa885d919d22477230661a47c1e8849d5c78f3fd283097c2f509bf1e7db9e6a02bb8aa745a4a4fb45a1436 SHA512 340d4a59b417e872f0a2aab2b8b0a2ddaefd29abd3c51882f08bce93cfd72e44d2a4798e688a33e36162fb9cfc33b8c173fe0d4551e956ad7d4fec2ae7d2286b
@@ -78,6 +80,10 @@ DIST gentoo-kernel-5.4.161-1.x86.xpak 53165081 BLAKE2B 9bc7c8f2fe7754630edbf9f6d
DIST gentoo-kernel-5.4.162-1.amd64.xpak 61399544 BLAKE2B 45083bfa44957a5c0d54cd8e0633fb0ef59b403015071c58a3dc214cd2bd02744ff30d5dfb99d884d74aaa17183c93df96d56618902f69350b52dc08f4f5ae8b SHA512 f12044d63e5191229252f007d023ca6722c3926ded98bf3a219bd61d44a6dadea02dbd2d2c56206f04a526d8a471b0c0a34a11dfd5788a79449c13635cf14003
DIST gentoo-kernel-5.4.162-1.arm64.xpak 57697790 BLAKE2B 1b7adb38fc400ac386f3a748109df6132111b27f6b3e1f37f7a7d17bc3f50958503d38fd06c0c556b964478fd5e27e80ae7d8ebe003f0b161bc6644a0dcf6c49 SHA512 1451ecc61d771ae7dd148153ee06625cd1c4a1d559bb26908f5ab79ec78b7ebd47f5a134ceae845848713e46981dd0df9496fb514030194424a84a0f147a5460
DIST gentoo-kernel-5.4.162-1.x86.xpak 53220282 BLAKE2B de783135d68ccd12a3f15aaa33c3905135ece4560bb089691f907df9e091fd00ef34f1e6be805d6a58f7fa25edc905bcb29c196d802b1d05069a3bcaf4b29ab5 SHA512 421a96c49eb997157475d6cc030e27316f42f909605a4ce0d705c95daf5a348d9bacb102b77be4817c5f988c01c29a4b5b04addce7305d9688b33933ca607b1c
+DIST gentoo-kernel-5.4.163-1.amd64.xpak 61397084 BLAKE2B 43b1087290182e2d587f783ffd61e21dc353d7c7a41653d2382f406fc84fe4cbdd2c5ded057f1cd3c3cfc72eb432bceca905617ff8e4e01a9994daddc38c8625 SHA512 937696044d21f60c68e56353ecfc2d6073dbe49473a0f964ac29ce4e47e214d51fc20c897c2c45f982f18f5c4b89531f419135c0809e98baac1f07fbb2bea528
+DIST gentoo-kernel-5.4.163-1.arm64.xpak 57641732 BLAKE2B 23d5d6c875daf458f923999276918a0a346517963634ebb2f4ac98c769329447a2dcb81ab65b07084406f0697e3cfcec8665d86538f741ba2d73c5a395ae52ca SHA512 ea9040b5431a8ac95f1c6129718b95687222031b2cee23dcf0ea6b377175cacb685b3125ebbd30ce0cdd2a5fe8ad6dc58c9cdd8a9fff2a5e3562f66dbcaa6b20
+DIST gentoo-kernel-5.4.163-1.ppc64le.xpak 55034036 BLAKE2B 1b5ef5eeab9fd24643c3df0462de02b18255b3edc7a017f2c05086ca9e2fefab4937a3199d3a76caaf379078216bd897cb5ce21ee59f915a87a92e29ac315e3b SHA512 38876cfed81a74a2c37c1d14810d9d2463fb348989ff7171de325fdedd11f34b98c8febe7ba59fd61de7c10a3bf4bd72c6991cecdf518d4af23ac9b9aba4c69f
+DIST gentoo-kernel-5.4.163-1.x86.xpak 53204726 BLAKE2B e47aa84f2bdedaa88e407549ff8520ff7b3d976b2d46feaab1aebdb11c6082daae642d41d2228525f3ba3fc15feac3c16c7f0baf67403cbda4bb2118b740bbdc SHA512 fa711b9f42245bbd1f874552b7a26192518aa6af91fef7bbb7aa6bc35e64ca79f9e5a9d5b8ff81601c1e6c17be697216eb1afc1ebbdf9ed0eb9701671fefd5ab
DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e
DIST linux-5.13.tar.xz 119297284 BLAKE2B 9c4c12e2394dec064adff51f7ccdf389192eb27ba7906db5eda543afe3d04afca6b9ea0848a057571bf2534eeb98e1e3a67734deff82c0d3731be205ad995668 SHA512 a8edf97e9d38a49f1be2bde1e29ad96274bb2c6f7e8a2bebaa1161dd4df9cabcbaec4ff644c45bee94f86ae47725087d6deed0cd954209cec717621d137db85e
DIST linux-5.14.tar.xz 120669872 BLAKE2B 0047f5aaa3940dff97f4055ef544faafbbb5282128e6afe21d2f47d8dc8c395806a17016febfa050117d16f59e74b882cb8b9c5011d68f119c230d0a4d120524 SHA512 8e4f3ec3d36f774280f75dc7b004a43e09417af58f12e9c9f8348976659d4cfda7ad905f306f43fed66a27922e5c45db22e46bbfa7a0b9f365012380de3b6f64
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.163.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.163.ebuild
new file mode 100644
index 000000000000..9954fd93dd40
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.163.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##*.} + 4 ))
+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
+}