diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-01-06 01:07:34 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-01-06 01:12:53 +0100 |
commit | 18ba68e4ec8ac22520ea17d610253adcdf965070 (patch) | |
tree | 3cd3c8c4f81c37ba822caf80449889bc00bf58f7 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.15.13 (diff) | |
download | gentoo-18ba68e4ec8ac22520ea17d610253adcdf965070.tar.gz gentoo-18ba68e4ec8ac22520ea17d610253adcdf965070.tar.bz2 gentoo-18ba68e4ec8ac22520ea17d610253adcdf965070.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.90
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.90.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 4178eec8626b..012a5676fa72 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -2,6 +2,8 @@ DIST genpatches-5.10-95.base.tar.xz 2769920 BLAKE2B 5de95da15985c9188801c6dfc413 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.10-97.base.tar.xz 2802920 BLAKE2B 09d1dad0c97f969f645631ed73963c561e03caf32c777047352e838553c63802bddb45908c0fa72debbbc481838125e2e20eff9e022a75e7d5cfeb6b45cc871a SHA512 d53660b318b5b68ab57613360294b816bd5d041a6c10048a3942186be0500a43d3313dd8a8b2d0337dab914f6d3a16d48acd06dc6c095e63f75e87ad8d3fc8c8 +DIST genpatches-5.10-97.extras.tar.xz 3852 BLAKE2B 5a00cefa5655fd06944c70ead8e8dcad1759b98fd898a7c6dd40e1f6d3e7f25185b1b9a5d1ececc09a4896ce2cf47d2d58f23f1326f0ff626ed31b05386408dd SHA512 afa2e426035ed8cc88d93f40a19e4978973f29434e94cc44cb18f585b4c8a377ec2c3d1212b9f53e2ddcf6cb70b47daec7b7154cba5646f5c31189587819f9a6 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 @@ -22,6 +24,10 @@ DIST gentoo-kernel-5.10.89-1.amd64.xpak 65553117 BLAKE2B 1643e30095663e4fea90564 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.10.90-1.amd64.xpak 65604969 BLAKE2B ecd4a8a7777fe42b90cd4db78f5244ce6437acbd2662d3f7201e30616dee385e496558588f2474a6de86b04fa06e898601989fdd83394105795dd045522e5401 SHA512 aa18cb7d72a7555c379e6ab909eae120ae93dfa4e1ea0b4ff543d0446674a32b53d6a8b4baf2f3b939f1dee0c6707dd4c49d060bf594c01ed33f0e0f7454e90c +DIST gentoo-kernel-5.10.90-1.arm64.xpak 60907501 BLAKE2B fd5f99f72cc7c9b68b454b5ae9b6bb3bdeb7f7d411c01d4ca3344f72e30b83b175c209eed523d1f56e896633d3be0fec89cd9c9f0e3da5ab6c07bac26cbfe085 SHA512 c3a50a48530bb88c23434d8659058bcc97cfebb9d8c3514ccb948020fbc940bb365b3870f79070b351c20fb1402967dd2b6c4d575ce59bb07ef6bc13f257df57 +DIST gentoo-kernel-5.10.90-1.ppc64le.xpak 55612962 BLAKE2B 8d2334c4abb1b78263d16a8b787fa5516d46898ab5ce6a3afad7daa15669c255ca364b0e764a28b28610b8f416f65a4084f6d384f4a2c9eaf7c9f3146722a08e SHA512 558145e5fc35962d7e8f305b1d5608215686e865646b5c54c13b05de4305f8fd873336cd239b91b7705411691b3575a69da0a187234399f625292e550fbbcfdc +DIST gentoo-kernel-5.10.90-1.x86.xpak 57248274 BLAKE2B c79a3152528038c87fa540613e453b85206c7c344f51cf4c0d169e59eecfcb87f017ed1c0b0e8f2f157a0807c8d8d24db3f991ac5ae79c9736f3cd8f5313a422 SHA512 b79a1a026303fec9f7ea347df787a6590ae3f1516d8cf2cabc8ec7b92fc000c8068e67ae116445ef66eaef941c58306d63ce179e5a7af910bc011e50bc06c6e6 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.90.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.90.ebuild new file mode 100644 index 000000000000..c7d60886da7b --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.90.ebuild @@ -0,0 +1,126 @@ +# Copyright 2020-2022 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 +} |