diff options
author | 2024-08-19 16:31:31 +0200 | |
---|---|---|
committer | 2024-08-19 16:47:32 +0200 | |
commit | 2b9ca1b55162322899bdc67a734b8a15c79261ab (patch) | |
tree | 011142defb17ed764528b3c44e4e00677ff55f0b /sys-kernel | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 6.1.106 (diff) | |
download | gentoo-2b9ca1b55162322899bdc67a734b8a15c79261ab.tar.gz gentoo-2b9ca1b55162322899bdc67a734b8a15c79261ab.tar.bz2 gentoo-2b9ca1b55162322899bdc67a734b8a15c79261ab.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.15.165
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.165.ebuild | 138 |
2 files changed, 144 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 465955c7485f..3376c69a2dad 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -6,6 +6,8 @@ DIST genpatches-5.15-173.base.tar.xz 7038704 BLAKE2B 4cf6ffc38ba49bdcac210b165c9 DIST genpatches-5.15-173.extras.tar.xz 4052 BLAKE2B e7d4effd4092467275f3f076676daa06caa2f647da1173a6132ebc30da1be78a085ddede5aa170c3d666f1808c4824f441dc5a1e873868fd72347a0c84149fff SHA512 7d272e7448a6688efc98a5e71eb8f83a978d82e9b177ae0b9b12c479078e23fb8dd66021f1ad488d9bfc056c89e7ee8642425dbd15607eaece249b565edc7fef DIST genpatches-5.15-174.base.tar.xz 7146696 BLAKE2B 02aaa04e156b848c1303da831795e48f038ced7134453cf1b09534df9ad46888ea807772af161b1c61a679a5c6adabe6a275dea97f425ba10d003ca9391af0b7 SHA512 cfc7e7e878d9f1fae329ea4103c785c7cda26bc37f0015a37dc1a5c79842b98a04923e53177cbf1977396a0fdff5fdc62d176642999a5b6fd89bfa9bff251597 DIST genpatches-5.15-174.extras.tar.xz 4052 BLAKE2B 9fb303cfcdb5f201b492996383adffa71543531d4b8cb77df076ceb994f2e4af2e1d510b0bb5fda77f505034ea89935efcc8ac5476970e6d96dcec01f582755e SHA512 9ede39e030d45bc668112f489cf0d4c22a14302d26f1a0e1bb9f53b0e42a16a99a24215211c1e510c7f052d00fbe294f70cc414b2d127c4c6e9ba4857ebfce72 +DIST genpatches-5.15-175.base.tar.xz 7264676 BLAKE2B 6911fc0fcef31daa55ddeb93e121acf4a95d130866f37ac0113a8697df1996c13bbf65e14f4a5703f7bb3f4dd3ebfb29e258ca358d191c0580a7f8e61fbf7c0c SHA512 3fc49566b23ef50590a3b9f90eb99558c9e37847259e0defdfb0ca036c37b7f45c4989d58787b8488c67ea031114173319346c1c17799680ebfdc581ae7e4588 +DIST genpatches-5.15-175.extras.tar.xz 4060 BLAKE2B 1ff5b5e69f9cb0e243d03d761c430bcb04ef698199c6a68e15c9535cf58b8fc0b12703fced2fd1e884c7c7d7b948b778f633d2a5de619de9a0acee60ef7c20a7 SHA512 8925f59f2d30f07838ca111c45496d7fa0229362065fbe6643dcf6dd0998ee747a8d8ed217a63b6e77b28d8b0775872408fdf8260e6c737db3a4aade0f299041 DIST genpatches-6.1-110.base.tar.xz 5564556 BLAKE2B f479e7fc7a12222c9b0268825fc8200e5bc3d73b81cd2d5b64bd321bc66b4563ae17d2bb66a0b0610dbac3059564b856d16c6ee122ed51a4c72d18795575ea65 SHA512 a0e8beec29ec7c63fbad02d13acf561ae694847d482f34a9120a06692aa4df1440433b19027484d3ef6a50221411bf34d175a4c833cda56aac4578da8b0b67d5 DIST genpatches-6.1-110.extras.tar.xz 4052 BLAKE2B aeded3974b119221fe8546f59eaa9a89842b24c0dd7d1ea45be003dbf91a62194b04d01e9811abb4a4af21b0e7b77e35b521a94f6042954f6fc09958fb41a84b SHA512 729ba854dc3513d9149860015013ea8e539bbe6adca5a28c53184fe0cb722307e96998c26dc1966e25d232e19e3188daf4adece4692d2804132ef956267629ee DIST genpatches-6.1-112.base.tar.xz 5686744 BLAKE2B 2a45c958031096547d8db5c43413057444bc76eabb91937554f78c9beac08318cba3ef890e455cbdd85f0b08e6d759a2374237a2be75293812df3bc68fdf1663 SHA512 c0c2a19af8f2bf1e76d89e084eaf4fa733bf868c11b3263f983b060f4cc7d82869ef1659939d097acce33339e25ed4f0b0f3144499913fb1ace8aded593d8a24 @@ -56,6 +58,10 @@ DIST gentoo-kernel-5.15.164-1.amd64.gpkg.tar 66396160 BLAKE2B 862ba28bc7ec7cf7e9 DIST gentoo-kernel-5.15.164-1.arm64.gpkg.tar 59760640 BLAKE2B e24f415f797cddc79a85c8c55e9f37a0745586ef1663da119c8957a2dbc1cddc12e3b5e7f626008c3d8d5cdae4387a563ef7e1b5b94c668caa8212a94a32c409 SHA512 2a9357c35d029ea1c5cee79eadc8e84971951e2db9a700acc7748a507f0d9b04d9b47a5377a7e552edb167d72d528a72099db8913120c7676f08dde5480c251d DIST gentoo-kernel-5.15.164-1.ppc64le.gpkg.tar 54999040 BLAKE2B 12355d36fa5fa05278480dcaacbcd7da8fe591a6b90bf0fe6e18720efd7c1dfbdb034460823f4c67c18d1bfafee2f16411ad770c60823de5d75483513351ed01 SHA512 79cffc5d0b1e48d97f0e48d3fa2393a773280e06713537942c97cb01c56ee9173f930aad6dda964cc2f2d61421a1dc810ac76fb00cc75ea90090ba1c9f592c32 DIST gentoo-kernel-5.15.164-1.x86.gpkg.tar 58613760 BLAKE2B f7bdf3d53c60cfa7c121e7f62c6131ececd8e133f6c45491429a78cf7609fc78e9ea42e5803b7f1c0863fc5ccd2fd9b3b34f3998f3402196fc8d8abd554374c2 SHA512 dd3d44134ecced68c7a050ed87a3eb691d94c42249dbd1a310382652437f744ab79a49ed7de1f66f4b3440f7f9ce44eeba0dcbdcc2fa6c15eca62d9ba0e6e483 +DIST gentoo-kernel-5.15.165-1.amd64.gpkg.tar 68474880 BLAKE2B 2083f58b92dad563b8242408969513a4563896757c24bde992d0fe83e46f688d515d04acc6d4a2995cd5a99cba9dbaf08c4cceef199786ddf3fe9b4274e00f37 SHA512 7a90415c0f8201f5786061e48a37ef3166dd7e515c9385b8e43172af980d7af7a6f282468353e8d44b6ef5c1ea991e5bb064e745f801f38de9dca1742e96677e +DIST gentoo-kernel-5.15.165-1.arm64.gpkg.tar 62423040 BLAKE2B dc88434ea36fb6f061ab6faa378d0a07bbd05d14c843524e2b2e86660f5f67bd4571778ca28bb4d831938941a8fe4dcf179ce26eea16a28bec49f3eaeae9d7d7 SHA512 e530161adb31ef03a3dc3a35bb577482968e3db8c9c2f854b9965a807319053833605e0630770532048da4c73c62c8668ca220f9bd7751999318b9008d3dd37c +DIST gentoo-kernel-5.15.165-1.ppc64le.gpkg.tar 56750080 BLAKE2B 4fbf85247beb1dcdf3cbcfdf19d9707212b437e0b49e9ec61a26f032b9071db4f5bb2b1934978601e4bec9b91db229b58808c116768d16755d083bb7b2307ad2 SHA512 93b6a98f02a6c0165567908619c0d0b877e989d4631ce845f6309f2d89b4231ebc008755700ceb17c972f6b4456e64df5efb627f29fe44ae67b2183510963082 +DIST gentoo-kernel-5.15.165-1.x86.gpkg.tar 58603520 BLAKE2B a4423cf68682169f36a4ebab66703fdc460e5f626a807cbced2bb987a6f9d6d9d9d69edc16363a17ec8dc502793056fd53d84c9dc689b7ea2e53f8c92c2025de SHA512 6bb58756869b0043e0b3ea973940e2610912f66c7a160ee5b583737226d403cef145d4a8dd31057e6d282591b0f497fe726fe28ea7c0f7c79738d387ed7be7a8 DIST gentoo-kernel-6.1.100-1.amd64.gpkg.tar 72570880 BLAKE2B e8aa0a2f5455fb70693272439f554ce6453723272b2b108f65f786ee0b2560fe6319d4952a3f71f35fd9b3eb2651e0901aab519ccbce0f5206d39be143975bb2 SHA512 872372d78774278695c1b7c2df6847576fa80f7e90c1a2e8c5d06318270cbca9f1a4715698bf70dbe533f16719f7565c287ba8cb32a478297544e4bed690560b DIST gentoo-kernel-6.1.100-1.arm64.gpkg.tar 65546240 BLAKE2B 2e673badd76cdb6dbb2cd5e4a2ba6b8848db477cf5d4f46dcde791c3b8fce1920632ba1309cfad2a5a8353e208f0eb5ed6a58d830a72ce3b6d3ff9ab25eaa467 SHA512 a18c5a2b3d37709307f6c4be17fbc8d8944764cec54197d61ba9bf2883b61324ccc0d2d3064ced624b6522c60feb22bd78ee514c9df626608af7fbb845f7870a DIST gentoo-kernel-6.1.100-1.ppc64le.gpkg.tar 59791360 BLAKE2B 485d690f30beeb3ea27b62da14fbf20bf5977df6b23b69dda6b5fe9ab6939988bc592be94e5d5ade7bb1c86d249b1aae0a2cdb25e2b38bf74c48cb8a1135bc1e SHA512 b70e509f8fabbe843fdf6865524bd6cc325bb7ddd165c80672ff6f435880dd8455ba2ca59ff626df99431d18c496537127de930af50a4e97e02eb4f89690bbe9 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.165.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.165.ebuild new file mode 100644 index 000000000000..53b01d5e35e1 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.165.ebuild @@ -0,0 +1,138 @@ +# Copyright 2020-2024 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##*.} + 10 )) +BINPKG=${PF/-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=" + app-alternatives/bc + app-alternatives/lex + 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 HOSTLD="$(tc-getBUILD_LD)" + if type -P "${HOSTLD}.bfd" &>/dev/null; then + HOSTLD+=.bfd + fi + 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)" + HOSTLD="${HOSTLD}" + HOSTAR="$(tc-getBUILD_AR)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP="$(tc-getSTRIP)" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + READELF="$(tc-getREADELF)" + + # 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() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + + # Overwrite the identifier in the prebuilt package + echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die + + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d ${BINPKG}/image/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 +} |