diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-11-16 16:53:20 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-11-16 17:28:21 +0100 |
commit | 9babbc235548bef8af72614fce85b32e7285b351 (patch) | |
tree | fada8d300b23ff2891dcae723ce12c8e7c657170 /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.10.155 (diff) | |
download | gentoo-9babbc235548bef8af72614fce85b32e7285b351.tar.gz gentoo-9babbc235548bef8af72614fce85b32e7285b351.tar.bz2 gentoo-9babbc235548bef8af72614fce85b32e7285b351.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.79
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.15.79.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 8dad2160e3be..931e3dfd73ef 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -18,6 +18,8 @@ DIST genpatches-5.15-81.base.tar.xz 3257712 BLAKE2B 66e0d129053b2cf3ba59681318be DIST genpatches-5.15-81.extras.tar.xz 3932 BLAKE2B 0783c48eab8d9f53d07770a3df525df2ffdab8f36d3d7db2d22e2fc5b0d1fe904644b013a3d1a5ea3d967636d4ff91b3f208ea8f004adf310134b98ec5cdd0fd SHA512 be4b557066d8d2327724c8be440ebcedb01d0eadab7bfa0f9f230111cba76a2623bec0945fc887b91d6e5c73eec3eec4fa29b2e76606e7871e81a91fdc4b2bf9 DIST genpatches-5.15-82.base.tar.xz 3300648 BLAKE2B 76afce0ccf8820124789ec68609a5479e27b7a5b3556410ce5cadee6c32d232a2f3ab44c30e862cb97b97c7715f18f25ac11505baea9cf66c807790f88c63cb8 SHA512 c057ed55a1a081fb94cbe8101b06ce28032355cc6c19913ee0a547987085fc774abe19f176b8c59ef5dbf8539934ae722c60cbbfd7feda26c5a88d322efd9aa2 DIST genpatches-5.15-82.extras.tar.xz 3928 BLAKE2B fddcda7bbe9c39c07851f708ebfc2f9a7fe485e8fdd0ab4357df16c9e6fc2b951e6188798872e9d05dfa15f3d29676e2ed97ed9c9bf4397fbe96a8a99d3c809c SHA512 76700ad690ee799cf3842df6acb68bf3c3a25746462cc97010fe45036560d4b41c60fba839f80f12a165c96c0623ae6c11fbd994269bf153756456824f0f8a91 +DIST genpatches-5.15-83.base.tar.xz 3328188 BLAKE2B 5d8da81e1c5f936ce49589d1dd10f41246a6059c410c0215b495ca7401eb618aa6c87d2ae23b08f27e3be5dd6b7f88e5d4e90ec9950924db9a08375d45cb2da3 SHA512 fdcbf6bc1e17f04df9d8334c1c75f21e5ca60fb99157708a4c599e43ed20a58664fe54fe8467924623d612ba2ddd409af4840195369fe274a4f55a84fce12ade +DIST genpatches-5.15-83.extras.tar.xz 3932 BLAKE2B 42ba0ee79654687ad5c858344ef7a1787c23fdadcf312788b2f53e739bd6319b3771c89d93eef7f604bd4f9275777421fcac09f8030af81cff6b3d9482b8e804 SHA512 55873c4cac9a4c5bf030b562c927fcc663a9a092602366d170541050386d427fac2dd8ac013d13b700bd874e47655d10b2cedb5b4c1034f41819c675aea80506 DIST genpatches-5.19-19.base.tar.xz 1098964 BLAKE2B c79251602e677d36db4f923ad148422c1c19d9e35b33d1eead75f317ac468ba919baa0c61a690425714bc0b29d96eb47aeb1c960ec4192ccb3905df752f81ab4 SHA512 bb0ed1e481a78f8f65229db777c5d8031edbd3d31cdc0ed45e48d4f5916b838397c1ccec5d465d957673494469290a1dffc8a4466c252395348c8160f2f5cc67 DIST genpatches-5.19-19.extras.tar.xz 3804 BLAKE2B c73e8bb8be2845ada725f71045e69fa38c99d0561e702d38e3827cf1e25ff2ab2105e3142d0f85baea59fa4a28a4521202d222c53190b741055609551ac1039f SHA512 b6f813b816f475a120543f637857f683e82cb22484fad7149bfbc5bcdd6d5119373d915ac53d6b743197910e78fc2ebdf35bcfb3612015e571629d33740f2701 DIST genpatches-5.4-225.base.tar.xz 5166864 BLAKE2B 20ffa864c45b41e82079158fc4645e5c809bda93c0de480aea22b2f1feac231c7eddaf031daae9939126297a197bb3cbcd48a696da76eda0fe8591cac817103b SHA512 da6a1febb01a772d8ba454de51fe902830461bcbd87e76f8f459bf9adbb8bbe2493914c5ebd4f291ea59bcfedea34d3aa96baf98409e84220240d70c17ab66a1 @@ -76,6 +78,10 @@ DIST gentoo-kernel-5.15.78-1.amd64.gpkg.tar 69816320 BLAKE2B 7a4a20ebf632b937a7e DIST gentoo-kernel-5.15.78-1.arm64.gpkg.tar 62863360 BLAKE2B 6974f40b2ddfb4ccb35413f4d29448fe97c2d86b37ce01957e11b7ce5085066f4235b0ab13902051e0dc2628be8d4ca8f127a0e6f25599927a9abbda8af8d5c5 SHA512 e1dab1d11d714cf52b53bec70b79dc849741efb5bce22f7dfc71aaadc737f4748db3d84311a25652c58b741cf6d13bc41ab9995a8e67e1acdb508a5b070f97bd DIST gentoo-kernel-5.15.78-1.ppc64le.gpkg.tar 57231360 BLAKE2B b8aae1497daf8721d94c23f9e7bff6cbd83d99214d0f85339a56cd90f00fedd426bb6f9c3db30bf4bf524fda2d93325fc78ec6da78c9952a4a4e0afc40a568dd SHA512 a1610e55f43833cfa480f2e099ba485cdfa6face9d49dc1622b1f6aa44f8e79c88e1ea002cc644ccb91b5dbe20cb587dc7f674d15539680ec2e2485b13280bcf DIST gentoo-kernel-5.15.78-1.x86.gpkg.tar 59146240 BLAKE2B c1a5f6dd634a852a1c6c1f2e4df0b7e611d6db3da5407be05999ee29e3929d518fa0cea391fa5344f2ebd95435f8473e63e5d87a4be792609bc1068aa1b7dc11 SHA512 01b8bb0056eb761517020f919e18b551ccc163849eb92bc15873c0e175dce71e531ddba69e668ead87ac0a6314e3fb830e72834c81bc250772d06b5eb02d7c7c +DIST gentoo-kernel-5.15.79-1.amd64.gpkg.tar 69816320 BLAKE2B 6498a6008805dda5b3bbaae6d9d1ae62775878c9cbeff615f46cf1605b59e25f4c74a08a05ed534c7847ec06f2b576eb3bfe4c419599f1a9736ebf3af56cef7b SHA512 93da11e551ee5365f476c71462605d75ea78fcab6c3e44d5b2f498ffb7cd786b4711e588119c412065c179fd5cf8eab9c3abe91ac71af33f3d748448d5e3b499 +DIST gentoo-kernel-5.15.79-1.arm64.gpkg.tar 62883840 BLAKE2B efdd14f1514d2b5900d6c89a84302d86d6b55e025850ded55a1fbf984c0a206e3c587ec3659f8b7344709efb1ad7f394f5017c9c8cc121bd61f1de6fd424b311 SHA512 d34dea185efcac93c2ee13829f284fbbe85c5ddc96435f9e729135af53b052b75c56d8c61d8d2a1f2e84711e414d3d3bab8ec618a47a0263969fa8395ffbfa08 +DIST gentoo-kernel-5.15.79-1.ppc64le.gpkg.tar 57241600 BLAKE2B 8d7b6af97f6c74264b08a00eec3acd6db1df92b19f4f18e181639e2b354d0626ec8e32f51e17966159f039d72dfba10d4bb535e1f966481d54c796f91921bcb8 SHA512 2e03c61a7eef436e2a75bf852beb02251f0f7c7ca24d4ec693430a8adcd812bfb3e0acf6cfd6a487b1b39c5ac4eaf4072a53d603e9a3a60a5c63ca7becc2db9a +DIST gentoo-kernel-5.15.79-1.x86.gpkg.tar 59146240 BLAKE2B 6e39b2a1a9f16f9488efa89989a7f1e65fcb37001b799d625d4fd050702eb036d397b5c0e5f283f38b453906a6584cd073c9364cd6edacb12774b940d3db763d SHA512 11ef510e14fb2ae39e8e6f1c4b24f44bf3294b6efda2781a5b1665e23ab7e0f57d6cf5b4e04ea34d050736a377cb37d5b069834c1cd6e47ecc97d43fd32bf611 DIST gentoo-kernel-5.19.17-1.amd64.gpkg.tar 72540160 BLAKE2B 18c079e028902f44f236222dc9ec0ed01edca3b8df5d667b05ff1c084f10f7dc64f1383e0e7c90330e33516e9901554e04a4518d4f07fbd54575d02de5469b89 SHA512 3f70e66bf1af9c0291bc0f19ab4fd24ea5acf98eb0bde3e4e74bd2cfd786c3cfd42b00da4adf8e8a74caa7204d7b37b8b3a7f11d25b1fa8907a6da72edb93527 DIST gentoo-kernel-5.19.17-1.arm64.gpkg.tar 65095680 BLAKE2B 2895023dcd376bdcb936033408614f63a76110e68db108cb745bccbca573c66eb615ab683363428bf7fb7ec7da7c8e30fa88f5a1d41d1d54e5ef5a39e71a325f SHA512 610b12c9d6cf6124767163a03b254512dcb2b4bf5bf99459110a36b2b3965fadba75b2ebeeef4cc8a8460083460cde7c5c0fa9de95c2cd0b60501eadad5b56cb DIST gentoo-kernel-5.19.17-1.ppc64le.gpkg.tar 59043840 BLAKE2B ccbe861e45b1a40907b05b922f6f25aacb60ac94cffba372cfeacf905ab7946212e1422be0b6e59b51ce9221ab99fff3f6903ff7ba3a309f9350882f802361f5 SHA512 ea5ba28cb4dcba8b5fea921d0f17be0f4de6d5981e1685c5b2c2b9020680a04e0ae5bab528948d04e6ced8aa1a20f16a1b46988332b62b7c4b1b6b734116a6bf diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.79.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.79.ebuild new file mode 100644 index 000000000000..b8881b6e8b6a --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.79.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##*.} + 4 )) +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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/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 + virtual/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 +} |