diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-20 06:42:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-20 06:42:03 +0000 |
commit | cd57012a0ef40d302cf7d5a92dd2f3dfae285d2f (patch) | |
tree | 901ae45158f35951dbc249ac7e62a2a5b78da25c /sys-kernel/gentoo-kernel-bin | |
parent | b2ec252cbc0a7476fb6892f96130c8cdc35591ac (diff) |
gentoo auto-resync : 20:01:2025 - 06:42:03edge
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 7 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.126.ebuild | 138 |
2 files changed, 145 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 8874d5ea6f45..6b3f25401b4a 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -16,6 +16,8 @@ DIST genpatches-6.1-134.base.tar.xz 6754804 BLAKE2B 36d49584071a74207d07d353e67b DIST genpatches-6.1-134.extras.tar.xz 4056 BLAKE2B 7612c02201b9db803c7b7c0b0c6e8c48dab78783e4d144eaf2e798fd0f1fe1e192138dea1802fa7a17385c6ca65ddf9b089cc3e547ca23efa36bda45cf355f5e SHA512 33e35c97ba7017e0b8c78f53aa4ab91e57c0a1f1fc246fec6ba6c3a091577bda2f99ecb1d909f3599d9123f2d99e756b7b6bb5b8086c8ff4cefc28a1827e5410 DIST genpatches-6.1-135.base.tar.xz 6772832 BLAKE2B 7aad4f211cbebf17baf43c2009e2343f3bb737d8665def616fe5aeed2816e9dffab4762d8a4cb3929c325315db5787d7404dbffe05ac23c3fc0c3327d5449d55 SHA512 ad3a1ffbba27a5ad0895367023db24be96cdb365c02dd77c49fa1e47866db77962a022d268cdebd156ac6e00bcfc24cd571b82b4a772a65f2f8d72874b8e8184 DIST genpatches-6.1-135.extras.tar.xz 4060 BLAKE2B 3940d48e36b2986d8e97e8cfb56bbbc1118efa61a6077eb4a0c68a8962e03bf1d9896bcdc85f7fb478ff88219f4c10db7af7e83bbd328df2077fd56f309298d6 SHA512 6ad629028fe2b1d38d3949dca050673cf89b57fe229492a9964253f6129183d85ea9200fd3c008d95b0f58251029541895e1675d7ab5cf4c22446006a9765f14 +DIST genpatches-6.1-136.base.tar.xz 6772616 BLAKE2B dbc95219a1c641003a1dce638afcb4f8fac4d291258d7e9e8723fd10835e3eaedfe6b28bfc77db5457d2484053079854ac8ae7ef28d614062ff20d0455764f4d SHA512 99c5609fdeb02c56561b382678f9e33a6fd4dbc454e3dd80bd871a2dfb5ad81ce721125c2def3571de3b80bfbcaa12b322d9a46176e17cfa4c72eafed90e9942 +DIST genpatches-6.1-136.extras.tar.xz 4056 BLAKE2B beb562de00607a2dad56c4fd338f2c5c0453d116336aa8167263547b2a48def2551b051e9cf53ae0c9525cdb280596b3ad1f740721f425ac150fb654881a5d76 SHA512 28a227ee754d258b671213a54489454134922b5d9bc2b4f9f6f51ecb2f23f237e9f0a2ec190e3aa3be46f038d5d35db1a7957b7d4ebb6eef2883ad94d1fb5af2 DIST genpatches-6.12-10.base.tar.xz 680556 BLAKE2B 1e8b7fc1e380a238f2d3eb9778e0632a3d8d2a9fd59578c866b80d0f6d8452e737aecd3a443f576c9df434d2a81968be7382006db2ca032c9253168bb4463633 SHA512 f5a3dfe69b2dc0517f29a019b20abda79e608bdba568e838c1ceb8d26613fd7536c30f5f92336820a2cf33e89e7470455333b530292e0b63590e2def4d089147 DIST genpatches-6.12-10.extras.tar.xz 4060 BLAKE2B 9cf7abbfb23624ba1acd2c7fa972154d9c66bcba6e9170c9ba860f7370263cc9c8fa2dce8f1d663bdd10f2f95539a91f1c1f6e914c3a0bffae641c6c73cbec54 SHA512 cf3dc0120d4048cce2f2eb7f105cdeb9c70a95381518523bcbd8df126ad8fb5035b1d6862bd01f5530830e74f27d1a64f8c999382aeca327e80f385b7bb9ceb5 DIST genpatches-6.12-11.base.tar.xz 711536 BLAKE2B a9911cbb7cca5e6f3b06adba52289957eaccbdef25aa1d1f610ac7d7fde2a1cce46095e3d48b281a9ff0a9e88559a492833f0f39cf151ba560d6f3ff8fa5a4b3 SHA512 d33a54716e726cc8d19b366a7ad1cc51822eba4fa329eda596e6e7dbd851a9725db4e5f4bb827f36a26604b7c0b5a60154a2310f99b18265fb3c68251420fc1c @@ -74,6 +76,10 @@ DIST gentoo-kernel-6.1.125-1.amd64.gpkg.tar 73000960 BLAKE2B 34049964226c50f2023 DIST gentoo-kernel-6.1.125-1.arm64.gpkg.tar 65730560 BLAKE2B 56801e6c6ffb5e669f1fbf8d9d95f1f2a49be58bdb2f38dd056ff2ff02d494e7e2e43d6e493d72f8100a43f0c11cb8f074822c319754823042ff4a675263e9db SHA512 5b87abab148597cbeed43988e52abc2f99f53dab405d955676e765aa4f470144bd4b38ffe730673a925f727a9d0839d7afdcafd4fc8fd5761f8db231d25f4600 DIST gentoo-kernel-6.1.125-1.ppc64le.gpkg.tar 59924480 BLAKE2B 2334fb4c12cf7d4cf11fe4b3bb58d8aa11af9004fd97d87e1b5dab83b3d11557a1b2834b7c8659cf907c050b3e5fe9ea5c4197d54a3f8a48bbb8907f40ed3e70 SHA512 bdf805232cf12e8625a8f5874e6bc374fa2de711de4582ecab3c668bc1f9258f51b77a9ac8cb6aa55429046a719376325bfb40ed302c465ef7b0514046be8b88 DIST gentoo-kernel-6.1.125-1.x86.gpkg.tar 62382080 BLAKE2B 744a5555991612eb784a1f906b0499dfb2428d9e0304ebe282c6627b03563e5ccfe40c47212f792f56b134a1ec10acf00f1ac40c8fa1b4771e2598eb75ecb57e SHA512 351a9c1d9ca07effdafb82e62f3bae004d2d1342c58cec65c97351f9363f478c8288570c0f4bf77252a2d0fc063cb1ddd6c347cf7cc80855afa48cdaacb5bb02 +DIST gentoo-kernel-6.1.126-1.amd64.gpkg.tar 73031680 BLAKE2B 0f91d5f4c980934d74b0049d9aecf62396ddfa893242e18adeeb8945750fdab6bf75ce7c6fd49d5f925a8918bcf075674a8f8eb2dc4867839fa031189b1bc389 SHA512 4262bc88d8e01268c27e945b00495c15b17b757cf9da2250b956d582fb69dd026bb8d142de9f2ce0188a9d34ad9ead3a317ebe785f1875efd331feca495767a2 +DIST gentoo-kernel-6.1.126-1.arm64.gpkg.tar 65730560 BLAKE2B f429827066c63344f2edf5af47413c74c8f4348a96a049d4c974e8c1e9b94e82f8759e42a743ded14f4eac7437f275df1bdaf0548ceb455a3a014e43f44c2054 SHA512 149ebca698a900b7025127099aef657e59c6c47bcfe480c03f023ca3ad9a70a80912861321b680a9a1155d632dd551bded0dde2156469d444b84d5fc45c36fcb +DIST gentoo-kernel-6.1.126-1.ppc64le.gpkg.tar 59924480 BLAKE2B 7ea5b27d7fd731c65d375b542fb0211899728aa13a34a9eabb5efb28ad1ceb82ff067f3ccfba01cf4021689749c63be9f147a9a27652b4c10b397c9ec18defde SHA512 e8a932535d30a8c26d05b78f036d4eaf11148af59e335dca1f547d0c9b84c8ec62933aa88ae9f55068ba6758913bed1bf7208ac55f44c0ddd50dfb8157bcb307 +DIST gentoo-kernel-6.1.126-1.x86.gpkg.tar 62371840 BLAKE2B 2dd07310aecd97805ebb6dc74dc620dc2996baaf08bf2c94c9f15d472db00bd97a552f48ff3794497f94bc70a30bda1dd5e0a0b5cece53dc2a8d5ff8446abda2 SHA512 90712aa8e785f6ea5bddba73fd10dad8a07f8676482c87a23ec2ef2df871d21b153b8973494b2d8533d7e30739cf6322c17bd74e10a38c2c33b56ee68f745e23 DIST gentoo-kernel-6.12.10-1.amd64.gpkg.tar 301516800 BLAKE2B 44bf837abfd4165d0d6a01e08fcea264c3579e5d4f41dda716049fc8ab9905b748b0216b858ad6952a9ffa7574cdbcbaf054c11ac150af21cbacb2d7e82b1019 SHA512 119f4e51d7bba1f146d7bd7ed6e992e688c6eedfeecbc066af9d9af960111df9f0e517fd8e6503784cefed4e8ac53951785071dd401938dc0e976aa6b9babe00 DIST gentoo-kernel-6.12.10-1.arm64.gpkg.tar 277606400 BLAKE2B e60b300544e8b5bd26207792c2ccf3630035cdfbc6c93296c83f40b19123ef1161dd7f68256a4f1f8b598e0898a736ee499e0cb8c5f314d95da57b44f76ee8ba SHA512 d4a535644955d8a508c28ed1ef293811261cd422dcbe54b18511de2c2ec05e2ef1c06202582f37060fd577a608af47370dbbbb8743528ab1a3bf4f391582d735 DIST gentoo-kernel-6.12.10-1.ppc64le.gpkg.tar 73103360 BLAKE2B 2563681d420ac7f700c9bc59aa040303405ed0494f845047c8efe8751b26783394ace15f0c32e85e337d998cdde91fc3a7018f739642d6dc3dac8efd22a7e21e SHA512 557decc01e9979c1927823f05bb94cab78b2ec4eab2daf092e9d6cbbca63018343aa5c998197bdbf1149fcac79512d5d9f1b89e1da19607749a9984811cb5eb5 @@ -132,6 +138,7 @@ EBUILD gentoo-kernel-bin-6.1.122.ebuild 3415 BLAKE2B a055768b284fe252a8561a59800 EBUILD gentoo-kernel-bin-6.1.123.ebuild 3415 BLAKE2B 2a82d9eebf57975c51ebac5e8cac306831d29d423756bbf6d2b8c4a92df78ceed832c80ccf6d201921b8e174f2a4e9c5f2807a0cb7f1e2b25ab71c14e67ff01b SHA512 00081dd1717126236d8468f054e6ac9c07ee1c2c281b221e47585b2d5892a79e967ab49c4b333eabb7056c2afd8648fc8b510b6b8fc2623a340fde47112ea3de EBUILD gentoo-kernel-bin-6.1.124.ebuild 3415 BLAKE2B 2a82d9eebf57975c51ebac5e8cac306831d29d423756bbf6d2b8c4a92df78ceed832c80ccf6d201921b8e174f2a4e9c5f2807a0cb7f1e2b25ab71c14e67ff01b SHA512 00081dd1717126236d8468f054e6ac9c07ee1c2c281b221e47585b2d5892a79e967ab49c4b333eabb7056c2afd8648fc8b510b6b8fc2623a340fde47112ea3de EBUILD gentoo-kernel-bin-6.1.125.ebuild 3415 BLAKE2B 2a82d9eebf57975c51ebac5e8cac306831d29d423756bbf6d2b8c4a92df78ceed832c80ccf6d201921b8e174f2a4e9c5f2807a0cb7f1e2b25ab71c14e67ff01b SHA512 00081dd1717126236d8468f054e6ac9c07ee1c2c281b221e47585b2d5892a79e967ab49c4b333eabb7056c2afd8648fc8b510b6b8fc2623a340fde47112ea3de +EBUILD gentoo-kernel-bin-6.1.126.ebuild 3415 BLAKE2B 2a82d9eebf57975c51ebac5e8cac306831d29d423756bbf6d2b8c4a92df78ceed832c80ccf6d201921b8e174f2a4e9c5f2807a0cb7f1e2b25ab71c14e67ff01b SHA512 00081dd1717126236d8468f054e6ac9c07ee1c2c281b221e47585b2d5892a79e967ab49c4b333eabb7056c2afd8648fc8b510b6b8fc2623a340fde47112ea3de EBUILD gentoo-kernel-bin-6.12.10.ebuild 4840 BLAKE2B 9d284df32218317e248b99bba07507fdcb812eb9c154e368f76039bcd9dbbeb2d7fe5667616ef1b6ce77c529d24e0f22a8806959330b40a5298eaa064fca4678 SHA512 ef018e3a5c254bf0e71d0a4fafc0881dbc038cda99feaaa27e4722aaf656b5e969877739ea9d2d32b1bf5f150eaa977ea5904805b6234b22fd387b1620b2a98a EBUILD gentoo-kernel-bin-6.12.7.ebuild 4840 BLAKE2B 9d284df32218317e248b99bba07507fdcb812eb9c154e368f76039bcd9dbbeb2d7fe5667616ef1b6ce77c529d24e0f22a8806959330b40a5298eaa064fca4678 SHA512 ef018e3a5c254bf0e71d0a4fafc0881dbc038cda99feaaa27e4722aaf656b5e969877739ea9d2d32b1bf5f150eaa977ea5904805b6234b22fd387b1620b2a98a EBUILD gentoo-kernel-bin-6.12.8.ebuild 4840 BLAKE2B 9d284df32218317e248b99bba07507fdcb812eb9c154e368f76039bcd9dbbeb2d7fe5667616ef1b6ce77c529d24e0f22a8806959330b40a5298eaa064fca4678 SHA512 ef018e3a5c254bf0e71d0a4fafc0881dbc038cda99feaaa27e4722aaf656b5e969877739ea9d2d32b1bf5f150eaa977ea5904805b6234b22fd387b1620b2a98a diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.126.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.126.ebuild new file mode 100644 index 000000000000..dd88c26ac6f2 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.126.ebuild @@ -0,0 +1,138 @@ +# Copyright 2020-2025 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 +} |