summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-08 19:16:53 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-08 19:17:33 +0100
commitdafd99aa6b91177ce06b81ab40f4ba77bc868951 (patch)
treefe88ad1dd75d01c0458016b9f3b8bce60e6bfc3f /sys-kernel
parentsys-kernel/gentoo-kernel-bin: Bump to 5.10.84 (diff)
downloadgentoo-dafd99aa6b91177ce06b81ab40f4ba77bc868951.tar.gz
gentoo-dafd99aa6b91177ce06b81ab40f4ba77bc868951.tar.bz2
gentoo-dafd99aa6b91177ce06b81ab40f4ba77bc868951.zip
sys-kernel/gentoo-kernel-bin: Bump to 5.4.164
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.4.164.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 09bfe2f68947..195086942959 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -36,6 +36,8 @@ DIST genpatches-5.4-166.base.tar.xz 4193772 BLAKE2B 0a06f3f716f07f15a01f96fc0f73
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 genpatches-5.4-168.base.tar.xz 4237544 BLAKE2B 302f72ad789134fbd008effd19494744288855506c9fd29d97b8509b633b00fa67bf8b2d8c839565ea3cc2be9923e561da44d41daeacc97db0abcb4a240f7710 SHA512 8220ef3a384b11b4cf75ee7d6cd678d6f06be97a391f9f427a24b418df0b079f19d31e659b8cb1a596d1b611bfe6fc01c3ae63229004f71ce729ef6c19a4a705
+DIST genpatches-5.4-168.extras.tar.xz 1788 BLAKE2B e99f5ef8b46b5cdf0a47426f70e9811a3172c3ca005e167ae85bf3ec134cc9dfbcd4ca14c24148e0cf9183550a443018ff3c7a34d8a5d1936ea9ed4a82325000 SHA512 f8c8574668dc81f2f1bb225de55dd0e3a37b22becfe46bb9516c67422dcf46a44f70b23c7c4a1549e0caa28f8a69042076a6ffcaee3dd442be63bc343c07e5d9
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
@@ -96,6 +98,10 @@ DIST gentoo-kernel-5.4.163-1.amd64.xpak 61397084 BLAKE2B 43b1087290182e2d587f783
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 gentoo-kernel-5.4.164-1.amd64.xpak 61406038 BLAKE2B 0dab7e6bfa071a2535b3d21c5cc60cc75b341de6b741526ce7e679517ea6cd3ed7a9eae618c7da431cd4c4f87bb5d406f0b6107f0655558261b467a4363569d0 SHA512 84935832fa69ed47e2dd54c6479d7cabb9dcf6a0aa8262a1a9f80c404692c8afa0eebe8055e6e3c663a4773a0c74eaef01919962ca020c1af7c9b91e1ffb939c
+DIST gentoo-kernel-5.4.164-1.arm64.xpak 57649157 BLAKE2B cd7db279eb08eeced9660f74099efd623c2b990c81a95d413d422cc54632787ce5be7d75d3eb69e419878689609d30abaad8cba6b2eec22928d32f5a1c93c759 SHA512 3f85c9e103bf3622cf89d60824b2f016d7dcef1d0e4ff732773a8b03e15cbe7de6f898d1288d1afedd244e53d775b28963434fdf7aa9ada0ab55a5126fa2656b
+DIST gentoo-kernel-5.4.164-1.ppc64le.xpak 54920943 BLAKE2B c5a9199bd126ff3b6bcc8f11bc2c3fec18d6237fc224023eccf7195c0aea641eb1e713e9a3f8c867e0c38a57c43f14bdb7c5ab81d2de867e73c2457d09ea8beb SHA512 e12c13683192a7c0e3bdf39dc13ac4aa5529aba107171ba503afce1e7f883b6cc6a46d3f9aad2a709112c779c0cb5e3ef57c92e2830da20dcaa66d8edb9c12e0
+DIST gentoo-kernel-5.4.164-1.x86.xpak 53154304 BLAKE2B 405b5351dc7762ec4c77a1c6169d77e460a28a2cc2733a010a8d5d1a2339695c813d2f6d87e5ef34a18b38efd5a6b8356bd48c835e73029bc271c87426f9cfc0 SHA512 901125e1a477e2caaca5b86084e15418d4365ffb6f3eaa25e91b3e159c68cb1a2bd45ea88f8e4f8360d7856045d51d9e59653cf75a553d2b367a1e71e231c293
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.164.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.164.ebuild
new file mode 100644
index 000000000000..9954fd93dd40
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.164.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
+}