diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-14 18:04:21 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-14 19:28:03 +0100 |
commit | 7220746175f5aed6b1e2f7ec8060fce8522424c4 (patch) | |
tree | 6d89ed68ccc6ff6f1e2980e24443d653c9e16a40 /sys-kernel | |
parent | virtual/dist-kernel: Bump to 5.4.227 (diff) | |
download | gentoo-7220746175f5aed6b1e2f7ec8060fce8522424c4.tar.gz gentoo-7220746175f5aed6b1e2f7ec8060fce8522424c4.tar.bz2 gentoo-7220746175f5aed6b1e2f7ec8060fce8522424c4.zip |
sys-kernel/gentoo-kernel-bin: Bump to 6.0.13
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-6.0.13.ebuild | 127 |
2 files changed, 133 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 5b3a4edd188a..18b0fed6fe19 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -32,6 +32,8 @@ DIST genpatches-6.0-11.base.tar.xz 622960 BLAKE2B a8d35eea162ef85aec18ee2b1b57e0 DIST genpatches-6.0-11.extras.tar.xz 3804 BLAKE2B 11aee6c336dde017a69fd47cdcd881db93c2b183fae9924bbcac663fccc3276450536325e63a11407adfa0900e1cb1a017d10c8ebf2bb0f3127fdf56cadb1215 SHA512 c3ede70c3ea7ab481fd2e5862254c589d9fb56e0d91e1e8bbfae0fbfa57d325b59e778c765a28be03655d75763da7f19361f2e14e5f8335fb779a083d9b42b67 DIST genpatches-6.0-12.base.tar.xz 658212 BLAKE2B 0daa718dd00d76224db3776d6792d51e072a2e4c8094ec22814d84cffcff8d18a670b73f94b5fe231e1eb586e05b42aa44942b8706ced76ac5c172777f8f8519 SHA512 e960c0a687b06ab108429ee99e5ef27dcc826dd3e6d90471addcb215284d37c1ed0cf40eb9d442a7ac90a5c4696a0ad95e0c5997ee954e4677b949a2c7ffcecf DIST genpatches-6.0-12.extras.tar.xz 3804 BLAKE2B fbf21f852110ac732124e5a227b38462d7a94ec17d788fbd48ab35e08c2a941f9c3549e58e7cdb4279f8a273daa2cfbde0a560a769d808ca9d26d2419b303b96 SHA512 efdc24c196c10ee2b47d6f81482b4408a5a7e829c21d9c2eff6426a92a1c17f0315c64875d45795cda7b735d183b7560ec44e308fee34b09e89c171526c9ee4f +DIST genpatches-6.0-13.base.tar.xz 698372 BLAKE2B 3069effafcb526cc4d2735e2bde48cdb7d0ba5e25748b2acc854d1503268b298e9f690e266e6e81b73ab09461eaa1f0ab3d68066997e51d27af7a051d4c5f84e SHA512 a92a50c3f01266df91793c1ba4baf77aa758093c1e00d333050f8fc989f690240ab6aad53a31e59af95db918a15a5037e2542addde8f9fc3cb57d296bbaaee6e +DIST genpatches-6.0-13.extras.tar.xz 3808 BLAKE2B 6edfc9b381253851e8e2c976b6376aff9bf98648faa49396ec81389315694afda7465702fe99f54b1a33249deabb29ed81a6d1651320dbaebd4eea92ed5f3a21 SHA512 216098565a5eb046788413da37a7ea933f35c990f3c7f3726004470509929a9717158bd778d321333839490e2dfc1b733fe3c016bc3d06804bfd34dbdc4bec93 DIST genpatches-6.0-9.base.tar.xz 478548 BLAKE2B 916f2b1b5d198adec6f73a0bb52029f4667132e7b7528ac5578134e3ed775d6aaac7989ec5e3827fe16db691f3321ef16b5a29088d2ad81e963f768f67cc2b61 SHA512 6b748f241e609d6191f83134f65bd9010122d5681b080c7ffeff8690f4cb1ab0f44b2681a135689d945de45f4ef25384411aea1d78a5b1c6248e547dc9e5297e DIST genpatches-6.0-9.extras.tar.xz 3808 BLAKE2B cf37233fbfc631e8ec9d7c663e8982a3bfb154573fa84d13cbb3d67fa73ff38ce74b27bf6dbf827b311826d18c628ef2818a75975e068ce381bc1a46c4948075 SHA512 b4f5d0daae3120662fb79e9f53b7dfd0c15f0a2b7c77a32b7440cc7425b3df87107aabb2cd913a31b7014c9fd1c3c85ab2081839af652ae9d7e43352dcdda42f DIST gentoo-kernel-5.10.153-1.amd64.gpkg.tar 66529280 BLAKE2B f0e4ccfc14b29dcd25ccea3ebd199a6a61092a42d4df68f36e699cf4059674bb0f3056c348fe8da0322bdb9dbc8806e36e87dc329fd88baa0f39c442324ffe71 SHA512 a53fe9f935e05311f40dcffab224791b64b42f218c78e2737d4a4a396df08d0d21f85858d3767a0df329a038c93e892ceadb3db58646d6f103e6941e0b4aa772 @@ -102,6 +104,10 @@ DIST gentoo-kernel-6.0.12-1.amd64.gpkg.tar 75909120 BLAKE2B c1d895de34fc7051c0fa DIST gentoo-kernel-6.0.12-1.arm64.gpkg.tar 68843520 BLAKE2B a701f8b05c02f04fb57de5c3595ab1bf83606d308226fc7565c9042c85c13ca3318d54da9408d04c9bddb5d622df31358421274804064a8b7307329b5b727518 SHA512 c63e3d062db02b32c2c71f4ca3136892ced5982419c45a2f018a44179b7f94ea74295f89b9181c8f8534d717fdb0413c893decbb3751984c77ef5e0310c78fec DIST gentoo-kernel-6.0.12-1.ppc64le.gpkg.tar 62156800 BLAKE2B 350aaeba2eff90d18e698b9ddd2de71fcab33cc6407b78ad53fedfd4c6b457b08d04521f540ab09682984d16f1f10099ef87c3655e86677fe27bac064091b7ce SHA512 e1beba91f97aff23d04dc5e2738270b3d54e4a5b207cb86d8bd40b270f0c79a39ce554b12d4d9bb94f2a6fec3488ec54cce7d9dff154c38eb799cb75c03c0b94 DIST gentoo-kernel-6.0.12-1.x86.gpkg.tar 65300480 BLAKE2B b17f4c09007402f3fb2a91042afd32107bc0047f1113eb070cd133d574ba4269b3d1cd0e7c4c4d6a1e0914b9094bf7f564e91e314b9d94622ef0cb6953cb2b1b SHA512 5d1e2f9de8d3d9df4fc90b22d96a8f6af014e49913302c0dcfc5760de2867923596f3bce13f66700d72bfed980910b7974c332ace7f90fd7162dc6e3ce72e63a +DIST gentoo-kernel-6.0.13-1.amd64.gpkg.tar 75919360 BLAKE2B 06f63b3da4d396d10b93ae0f2b844c349e0fc0465df518f5f90ee682277a485d87c0d3a0c99ab5b2a30a52988d9207412096684ef0ceeb64e48b3ad86b8f3630 SHA512 8462abc311db023ed9241c8edbb7ecf4cb276944201f8ee5730de5bda745377ed67cd759cecec2134b59fb1190de97909bbaf9a2638089d58988564cc39c5ca1 +DIST gentoo-kernel-6.0.13-1.arm64.gpkg.tar 68833280 BLAKE2B 2ea0653d36c2aeaf2ea2ada638d6d529447de23e23981a9d4d56e9a216e1b5da527ba62e3233410591a2ac610044f2a7fa5f2130c35e5e2facd253322d374baa SHA512 d293c5841cdfcba3dbf9182d9c67d40c6bc657ededd70feaa61c1a01ba217dcb4b773f8a49a3e8ae225d8786136e06ca984da4c139b27554096fc561ab73ebea +DIST gentoo-kernel-6.0.13-1.ppc64le.gpkg.tar 62156800 BLAKE2B d642e9d639df5c1dbc0a9e09a7d6940129c8e0c059ef63601d9cea4f6c83b78ac6c79ab3134b8eeb97a1ec288ca4209919bbd10975abb404af2b06cfdddddf2f SHA512 6608d4d330758c42935dd8fa0cd06638927ea8cad123c6db8968753ce592852428f4b441dec49c029c65254959b1419e24d4b3f4a5d96bd805722cab0fd7b056 +DIST gentoo-kernel-6.0.13-1.x86.gpkg.tar 65320960 BLAKE2B 545094ed52c97b05248ebafa7d6a5000f44c82c024a0efc041fc72171ac6e1b3aa7d2b1e42f647d970470a476e5ab0308ae9daca28841f38c57b7b27c51bde80 SHA512 6d92443dac6e5a72f6fb6aa78be117452b5a79cbfa524cf8017e394285818802706a70753a1823e343e9f3f2f2cbe3fca8817691d4bbbccfa7a0cde46439e9a6 DIST gentoo-kernel-6.0.9-1.amd64.gpkg.tar 75929600 BLAKE2B c8798004001baece32bf8a6e242423b04b7e4cea4876fb42baae7e2299adde61591dfa62d06ec385db8ac1b985e8353dccb797b08ef0c42ea21c054c451f27f1 SHA512 4730dff292802f82fe9b6d1c73ab0eb42d00b2d9c7d672ec347c59a0dfa1a586f773a2bf1b6eb7d4e905da1ef678269715f55ef275cd44556520f163002e8cde DIST gentoo-kernel-6.0.9-1.arm64.gpkg.tar 68843520 BLAKE2B 6eec02147edfe83ec7a6a62a5d02d6982649c28654f160223ae6e8479b6071174a26e256ca8504e9a8ecb0f6b26036b2972d9be71f6d23bd6c5c627bf203707b SHA512 83cc9b1022bc652cb5a8105c58f3dcda1c21216ffede67835eab9bbec58cf4c2188655337f03692fa1c1b2a4d24ffcd99c49cdef7300a9fa6f1a4f9b4d642628 DIST gentoo-kernel-6.0.9-1.ppc64le.gpkg.tar 62146560 BLAKE2B aff5949a4e9e26f2a63599953e949c8747bef2fa7ddf05e25b8bb095dd1635d3ffb03d37608b6e84e111616d1438425da0a39f91c0621fab8bc1c0cbe5b926dc SHA512 555ca3733ad5883b04100cfa934da2b979e22f2345a3b5b88b86efbf0b9c111d52062b0a706c00b58a4f891c9a6e3e57350f2efca09b249bb71a4af8e16749f3 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.13.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.13.ebuild new file mode 100644 index 000000000000..2f8f3d790587 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.0.13.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-install toolchain-funcs unpacker + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 0 )) +BINPKG=${P/-bin}-1 + +DESCRIPTION="Pre-built Linux kernel with Gentoo patches" +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}.gpkg.tar + -> ${BINPKG}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.arm64.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.ppc64le.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.x86.gpkg.tar + ) +" +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 + app-alternatives/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +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 "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "${BINPKG}/image/lib/modules/${KPV}" +} + +src_install() { + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d boot/dtbs ]]; then + mv "${BINPKG}"/image/boot "${ED}"/ || die + fi + + # 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 +} |