diff options
author | Michał Górny <mgorny@gentoo.org> | 2025-01-09 20:37:35 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2025-01-09 21:05:51 +0100 |
commit | fe5f139b7dc78e2b0e7230aa6ec1b2f6e3ea5b22 (patch) | |
tree | 63331fcda6672fbd2f2a0bda311a2ba66276343d /sys-kernel | |
parent | virtual/dist-kernel: Bump to 6.12.9 (diff) | |
download | gentoo-fe5f139b7dc78e2b0e7230aa6ec1b2f6e3ea5b22.tar.gz gentoo-fe5f139b7dc78e2b0e7230aa6ec1b2f6e3ea5b22.tar.bz2 gentoo-fe5f139b7dc78e2b0e7230aa6ec1b2f6e3ea5b22.zip |
sys-kernel/gentoo-kernel-bin: Bump to 5.10.233
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.233.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 1a5589ae1cf9..d13c7c5e0e13 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -1,5 +1,7 @@ DIST genpatches-5.10-244.base.tar.xz 7784252 BLAKE2B ab6f4a3f41b9ba52f1b9d7fc1c0e0b16a5871bc0bd30da7c63b24f11c3c3abaabf141b1aab76f4435fed4d5f25c2ecade6a83a9c3ca20efb9f9c6f44327ce545 SHA512 fe2e006f6a7571e1ab1cb3dcb80d9a6dbb46973918a138af1d6d402bf3702cb89e3764f7838d2d2cebbf9c97974926637d6b58c666899251be8433910dd6dd47 DIST genpatches-5.10-244.extras.tar.xz 4056 BLAKE2B 48aa848b13eee7909a304b368603f03050f8ca0678e702ca8b302982373ada3b5f88fe1e6b51d7c66a46015c38efea31e82d8d67282b2ae4021c0be30c3a287e SHA512 eba51067dc0fb1074b860afda9ba5be55e83738738e84a70d1219ef5c89bfb7c5e82191f347881f7c82b25e87ec105f9a0c08d0248f5f0a2dc20bbea2e642c08 +DIST genpatches-5.10-245.base.tar.xz 7815984 BLAKE2B fd5b339977af766fc292071eeb16e08fce3185dd3bf1c16dfcc1522b664f84dd5892042707c68f84863bdc19afc35d8fe053476f904dce2ab18b4aa9b3cd61ac SHA512 45754b5713276a852f83be7c23d66deb020b3539457614a80b051cd4e276780101df3c92e2c6ddb96729676bb86b418f77f76807fe96cdfbf5571d2141e5a313 +DIST genpatches-5.10-245.extras.tar.xz 4056 BLAKE2B f4838beef428e2913d3861b26989b10f82391823ebc39811402294c23c5a84623dab8b15346ada7aa3c9552727c857ca80a262fd9dcf4f4751888b0454fcdfdb SHA512 617ac2cae48ac2831bfbb5a0bca25e466087eccabd930ba86c0e9f984822aa5ecade7559d4b1c71031b4db7bdb803ee31a4c392ac36413d97a51e2befcf70166 DIST genpatches-5.15-185.base.tar.xz 7813568 BLAKE2B a287174103461737a4af5e24410266140ecd2970dd5568557ea1270d7b3d9db98ee218c392a4e8ef35fadedcfb8f9013f6dd830c08c0d9b2147c57658720e1d4 SHA512 edec855e548f4ce61e2aa3e8a86216a75d43405141054c114f7f2ed024f91500b905e953dc07f528d19bd25b13781377d8c60ae70e0bb15330f5cd187762b509 DIST genpatches-5.15-185.extras.tar.xz 4056 BLAKE2B bab13e1f8b400270ab36e78525947b68468504433f41784c507e6700d23e08b7eff91cd49e50398f90622cc289d6c4c122b3d5f8da77742b01c167ced5284cf2 SHA512 be561334e77afb45e11fe5e8c6c3b61d85c821776bcefc0cbe0d9addc6561a4c0bfc3956a990fa50f703d7defbc4a847ddeeb170d4dc828c2bcbd1a4c6f4429f DIST genpatches-6.1-131.base.tar.xz 6701808 BLAKE2B 0ff847805abdeefee31ce75d0b5c02eafdf7b12f3b3c499c0d9d19305b3ae934194bdf58fabb30e51a356eae5e57c7d633b7abbf45a94096e981c671181c9b16 SHA512 7604d45f78bd5a087f0a158acf3767b275315b60c77cb4d6b93139943d56ca917a75ed8ed784a608a52d3e1d06cb36a01f5c3d0f5b211dda6d62d36fbe9ffaf9 @@ -24,6 +26,10 @@ DIST gentoo-kernel-5.10.232-1.amd64.gpkg.tar 63672320 BLAKE2B 43d75308443842d0db DIST gentoo-kernel-5.10.232-1.arm64.gpkg.tar 56852480 BLAKE2B 6f628a7d0b7feb82c903e2814b2f02ceac867270356ffd3d06ad5bf03a55da340e089739fac83ef727fa03148a7adcef5f00e295a26f7f88ea46cdecb7183b94 SHA512 dc06388259a4d5878c7045eeece9393edbd0981538ae9b7208e3dd4aedc49d9b5f71178812765242cd0383145529af4a273de165c15c1d72f2e852a18620227c DIST gentoo-kernel-5.10.232-1.ppc64le.gpkg.tar 52828160 BLAKE2B 1a77533dc0bd3072311120b62246fe8ed2ee57c06354cdd1aa3657ef2aa21f3adaa780910a3f357804fedd6d65006bcb5ba29d5786d291f51acd1142c706118e SHA512 de8aa68bc5960b5dcca618641fdb570dbb77b83f4f02a28f0522f491af0a7d83795879d9b50a1a19c780ef6d4b941019d9cc945af31b8eac7219f5647ede6440 DIST gentoo-kernel-5.10.232-1.x86.gpkg.tar 53811200 BLAKE2B 89a171b837a0210cb83895e8ce8698b6901153686b1b84088db60a2d6b46083cb6be677087d261f0369adb4c4956258da81aaa18a1dd6de3645b39feaac4636e SHA512 fc53f52f0941d204ccebdf0b1f7828003feda77fee352253d83a4808ea8b32791bfa2483ec88a9eedd1985f6299368a367f731e2f8ce660f3d8fd81c041c0dcc +DIST gentoo-kernel-5.10.233-1.amd64.gpkg.tar 63692800 BLAKE2B b1807bcd074455292610a08353a8cbd329c9c8eddc09bae9bc089d6c1dc099a3937a98017f577d5d90cf7b7ca15c92845d16af7a124d08b9057a56c5fcc13a6d SHA512 95889f3754ea1601e063866a59599389229346b195b5247151dd34f6fcd397424d9d504a5aefe7d8424e62a4a043e9d9c82fcd32e633928e3905c89baef6e608 +DIST gentoo-kernel-5.10.233-1.arm64.gpkg.tar 56842240 BLAKE2B 80650d6155278c12120fcd831018b565bafcbfa34f782c9a0038d5cf950d975c9eb66754cef37a72379813241359582f1746066dbffd34d11be5b35c64591412 SHA512 c74297b9035a0f74e98ef609a7bf81017f78cec0e1759c278f6f18504f9ae1a2f1609d6286530ceb19ce90c713f7af39abf531b7b3d4ccf5ad2390c207ffae3a +DIST gentoo-kernel-5.10.233-1.ppc64le.gpkg.tar 52828160 BLAKE2B e7297dfab0cc9303c31f97772c0f91bd47f5e15c7b618b86d701b399cffdf06b58519381be73c6e0c67e8848929a1e058757e82e8653eb90b04e1d5e31e5277b SHA512 1aaf95701bd26cb16a65d9436fb7f6b0a62d74fab6d30bb1cc87b24be91b2149b265411053b14d31d4ff7b4f61c08ef53a589fc9934700a7326bb0cc18603e3b +DIST gentoo-kernel-5.10.233-1.x86.gpkg.tar 53811200 BLAKE2B 61d2e6000729ad1fa127717df45c6ff325df86402257bb8297b11c23602d7b345ef9c73725e81367e9111e92ba1834da8039bf20e0b18cf806ca92fc8100ad1b SHA512 7f6bce845d3744317864b01f51309d5fb6a7b0d5495e5d037c2d07b7a15137b267d09c9ea3e34c7abdef3b366dc0feaf35e0a0d1484fb62a1b6e628da18ec06b DIST gentoo-kernel-5.15.175-1.amd64.gpkg.tar 68833280 BLAKE2B 685aa97574314074905d39fe19b338fbd4443c594251e6084995869cf1588f5de086d2867f15bb66b2cda4b3fad6c49ac8226880cc6af35eb4c3ea2e95f71a91 SHA512 be5e5267f9b58ed91e3548564e7e1259f3af7eef62220b3c4918e563a32fadd320fb02647152d4f3fd57f46f16f32b7c6af75b45b7f9eb54f366084505da86da DIST gentoo-kernel-5.15.175-1.arm64.gpkg.tar 62545920 BLAKE2B 2921da5a6c57f597182ff17b93d7fe0b561549105efcd226dc9dcafb73b9cf09f12f71dc3bfa645686b398c98232cfec14f22de0c74cd869cc1d55cdb8a2f841 SHA512 568507b177cc2623068713a5422c7664b01d2d2120b20b34c52b7dcbd4e6e3120cf9d1dd528f2f3771b11a327d66dea0801e3da100ae118983603661290c6ff0 DIST gentoo-kernel-5.15.175-1.ppc64le.gpkg.tar 56821760 BLAKE2B e3989934dd49c1cf5a326e01786ebeb8d87288d4e2326c4b7fbba738f6e6af7a903694e1b940ee0d70c58873cf7c568ea535d71ef093815f6082f1d0dbc569ee SHA512 1cd0e70023db8c8fd930e58298d2330df53d6ff83954d967e7dbe5808b869da4133fd6e0f7fd76bb103a2bd34b7b46febc3accdb8e99f345ce34b16215c95f91 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.233.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.233.ebuild new file mode 100644 index 000000000000..88e83cb23916 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.233.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##*.} + 12 )) +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=" + 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 +} |