diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-12-29 19:52:15 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-12-29 19:56:55 +0100 |
commit | 9868bab561eaa3b44a786fe5ea65d0cf942b2be2 (patch) | |
tree | 2f4022cf189d481793d7a61508fceed7172184d1 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.15.12 (diff) | |
download | gentoo-9868bab561eaa3b44a786fe5ea65d0cf942b2be2.tar.gz gentoo-9868bab561eaa3b44a786fe5ea65d0cf942b2be2.tar.bz2 gentoo-9868bab561eaa3b44a786fe5ea65d0cf942b2be2.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.89
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.89.ebuild | 126 |
2 files changed, 132 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 33862880fa9a..818c8b8f504d 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -1,5 +1,7 @@ DIST genpatches-5.10-95.base.tar.xz 2769920 BLAKE2B 5de95da15985c9188801c6dfc413faa7fae2c534ccbc17ca3e8e3f70ff1422e00819b177cc4e1828eb6234ec110930af6e747089482e8efca010c1dd7fffa098 SHA512 4f6d6196406af59c3f9b7d9d069cf0d2186e45f10bccdaac0c1473520ed67606fd363d97b64eb53cb76c08c4d8e4198d67744af34a60e78419cc7c6ffe28a26f DIST genpatches-5.10-95.extras.tar.xz 3852 BLAKE2B 1deb0958934dfe7b0092ffe9254269fc8ca900cb526f4805e38d7c69e8d4d587b50a169b1a54d32ed83fdf481626f853ae56e007a21554d82a7befc598d571b2 SHA512 f3c5ca1aaa1f7ba0743fe0d0f3046e411547c09d3590766b76778dbdbe1221ffd3542f3231e6ac6a77773caf3327d28aaa7bcb767cdf132a4fac7cf8afd3e86c +DIST genpatches-5.10-96.base.tar.xz 2787744 BLAKE2B 0d845fc9e5eb4cee41eb60756661d5220da31ea438a16a415431415a54503278b0fcd69cb8562e1c7c47ae794df4d0691a92ef034aa5650ece4b0ea29f56c73d SHA512 5424bb5c20f6b918abfa8b308ceae9dc321d1a8621e311ec1c492b9efd9bde41f695d12085b0c8eea16b8113832580b1ad831ff18a5354e5cac2e275d99bfdab +DIST genpatches-5.10-96.extras.tar.xz 3852 BLAKE2B cd431b92e31f333d913f8607df5d3656dfb924c4dca63e86ac30e52b636773f82287481b4a51af57d51685bf55db2d0d5028bf3e5a3255de0481d277842681a7 SHA512 3612c26007ea77b2ef0657a1c11174f1468bbc1cce46cc189a829f66f1b242a54f29305ff405ed49356427f0283ffb23e5299ccefd7dc083492eb0143855bcd5 DIST genpatches-5.14-24.base.tar.xz 865892 BLAKE2B 5855b54e7ad2fe9fec353706d026b774c939f82967af5b57c41245762e0ea7fd18731faf1251b1b7aa814c2949d354ff24ce9f078dc68a5c8409490e5517462b SHA512 d83feb3e3c9a32df559fd25b598cb358987f076c107a233a8503390f85132fe6d2a62ee163482439308fa7a62d15aa83ebf9bebaabe0e631eb831fbbbfb700c8 DIST genpatches-5.14-24.extras.tar.xz 3844 BLAKE2B b11a8019a920d12c848fdc34514ed7352217e41f659bb7935c6211132897e8f948a8ebfd281b89e67e3993e3e5a03f2f32b0b4d3b73f5d1228e65812cf6cbeea SHA512 a2b757955740078aa3891a6a696bd50fa35606bfc6dac0e739abe2869d5322554417b4bfd6a989d23a2d31bea14c06294747578025ffac3d77e8a91ea16f4ee6 DIST genpatches-5.15-13.base.tar.xz 604984 BLAKE2B c674c2eefbc18f2a8d182fa95606714b9a74420d7a3ebb32138b714743f11a7c7b278d77d33747bd1fa1a46e8f8e8364a9238ce3acee6134f889fae267ab0239 SHA512 0741c183cf8def586fc17fcb2a44d81dd5494ac9430a5ca07d239079f41a7a24bb686406e0ecfccdeb8a38e33e99831d2b355d0e8e65e8dd2e30db5f4b0bbe4d @@ -12,6 +14,10 @@ DIST gentoo-kernel-5.10.88-1.amd64.xpak 65533790 BLAKE2B c0b944c638ea7a45846f679 DIST gentoo-kernel-5.10.88-1.arm64.xpak 60908835 BLAKE2B 56dcaa2323a559a8c431fddc9889065f6f036b244dd29f203c7095d3e19939f8586c7e26d2f1ec215c8ea1e971c64ec7066c231f967a39b205b55575107ffea2 SHA512 0f96759440f48e895f015ae456a7d62f3a4d531d23557c461a05d176e7866fae189d47f9e300441987cddf7b88b2bf0ebcf8588fdb21d8b980b742fbba73f664 DIST gentoo-kernel-5.10.88-1.ppc64le.xpak 55791954 BLAKE2B ea69c83ece3d9bf6a96efe0b168bdd91a7f55e5887f2e8dc2af2f0db4e01499ece76f474d4877f2971905ba0c7ee47fd0ea6a3cc5bd0b9b802a8b0a240a85a51 SHA512 9552ed2e9c4a88c846b272817660e5844b1cfc5b5c81c7abcffa3bdc401bf8f93c4b4906b0a414a75685062001469de013fa43282e5fa88e82d84edcd348f2f7 DIST gentoo-kernel-5.10.88-1.x86.xpak 57298984 BLAKE2B 221ee9179de6128673d9f48a1ac1be866d013f17551861e8f8089ba92f48d6fababf75f115659323c154b9d787204ec9cc605a49b61af1b81a0b7aa6043409ce SHA512 1cd6b49fcd9c86b0cb3333db1119dc79ff0570c629b4c27a250fea6285ccabac7e05e0062663fd5be5f4589f5c22b83803d70a350736450027848276fb42d503 +DIST gentoo-kernel-5.10.89-1.amd64.xpak 65553117 BLAKE2B 1643e30095663e4fea905643d63c0669edfe8dfedf45b9dd3d1dc41fd9e63a15e074c1a455f30b1db649f5be2108e212db34e0302a6733b8f51592d305ee1eb0 SHA512 3a949f678e6b2670647be55d82b8499cf58e3c8386b4b928933911fcf6acf0fd39d784bb3600daaa39b3b9dc65613032d2a553f01fa64396ac74f52e860bb86d +DIST gentoo-kernel-5.10.89-1.arm64.xpak 60922962 BLAKE2B 727a0590802082aa89dfeb2507652f2582cf82dbb4244c721f710becd0779e899680f172ea66f770eea20c0cfddb68c82ae34cd9fba1dfc088846163f006ac3a SHA512 037f96d6857f7e025aa12b7307f1a931a5e1b1b7204af7ab9a71f8bad2847c8f6ea95fa965061f02a39d9d3764f5ac0bd930e1e99349a3e6e6a83cc29f81c180 +DIST gentoo-kernel-5.10.89-1.ppc64le.xpak 55727985 BLAKE2B e6f783e63a3dfdb9d8e535ff140344076d161136bc9968b3e50cff5738be5aadcbb5d587b3daaaf6965a780c26d48e2d00f5c35227b258b66430dfbc8cbb99fb SHA512 37d4199dc355903031b9c75cf9647c2cf1e8e3c9892757ec5b157a1b4adf26978649e2e2e3fdd70e13ff13f2db99bd95925deaa7ad5bfdc38bb0891399038db8 +DIST gentoo-kernel-5.10.89-1.x86.xpak 57266700 BLAKE2B 7e159791a642e498dfa0b740d001fadbe37133a509822999453187014e71279f6381222a106be264e38e85c843828cb94b7b186a5766bd2822c53739d92674ec SHA512 23f650fe88c220f8a96b33550ad91b2271dd5aefd908280e6aec2d28637f98b8863a6c16bab9e299a34cf178a90c2bcdc2bca390cbaa14d1ddd5cf3673caa7f0 DIST gentoo-kernel-5.14.21-1.amd64.xpak 68158912 BLAKE2B b9279d59dfd6efd34660ac67045510048dd308cdd44b4626d3f5d24076caf2a2cae772cfa16e8d0bb8cb0ef2ad77309bba0e54d13a1239da8fe89be5ca3166c0 SHA512 04d399c11ece91e39b6034748fb0fda0ce13b3edc277eabdee2107f5f1264fe183c446b5b47db8175c8eeff124f8b5cdb506c436476ded3b016621abfaeac30c DIST gentoo-kernel-5.14.21-1.arm64.xpak 63079807 BLAKE2B e9bff436f4183e55f17b923386d10afaeecedfdead7b386ace028dae0364082f76c63688d4f91fb259999e1e635dc98cfefe220d5b117a4d34b1648c90b3f93e SHA512 87f9ff1f35ef16dc842dcb9dd8ed68e6c39a45f1f0887498aa61dbab1f30e551f525ebfea6c710ed2a907a54b9a92cb99e4f5f3a719d0fdc0314a37e981fcf41 DIST gentoo-kernel-5.14.21-1.x86.xpak 59244096 BLAKE2B c16154db406ac9c6626e5c37a33dfaf53c4051b37dd9719a6cf164d378b8bb4f419018ce2d944e8c4b63706e53061c7f9f80dd43bb8c9fbe7ccfdb18ccf830c3 SHA512 5df36eca258f0258b4c66b60511c7e92c5127b448eba6930d94bec83543053169a91ad349c65616dcfd21141bae984f85b4118eb47472b8a2319a5f1a80aca78 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.89.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.89.ebuild new file mode 100644 index 000000000000..443e9ff85119 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.89.ebuild @@ -0,0 +1,126 @@ +# 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##*.} + 7 )) +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 + # ARCH=ppc64, but tarball is ppc64le. Update if we ever introduce ppc64be binpkg. + ebegin "Unpacking ${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH/%ppc64/ppc64le}.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 +} |