summaryrefslogtreecommitdiff
path: root/sys-kernel/gentoo-kernel-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-10 05:42:48 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-10 05:42:48 +0100
commit100b0ae24e9b0d0fb3071efea2078a3bdabe4e38 (patch)
tree637adb56b86839c41fcb217b9bbe37e022fa666d /sys-kernel/gentoo-kernel-bin
parent12de738b83927a4b71c3ad067edbb6279d15b368 (diff)
gentoo auto-resync : 10:05:2023 - 05:42:48
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest8
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.1.ebuild127
2 files changed, 135 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 8e300f0a1c9a..302551584685 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -24,6 +24,8 @@ DIST genpatches-6.2-15.base.tar.xz 763032 BLAKE2B b933b63ddc6d19f47ba58d5a5884ff
DIST genpatches-6.2-15.extras.tar.xz 3808 BLAKE2B 6134125180afd914169eb329f5d9ec8f3f9fbd3ff61a0266200defdae573a62b39ba557c2a815229344ac762786715a6193ce3cb9c3ed08d07a87d83427ab107 SHA512 857e513619ab77e79461a337c02e9fa9fbb63ee9a837eef438b1e5af3c8c856867c738b0b28f21a8035a5e1b963eb8c13507223ad6a251f5320da67aeaeb595d
DIST genpatches-6.2-16.base.tar.xz 768864 BLAKE2B e852e0feb635be67bbf0da77ca6c946abb4fdad1b7b6a6e72c350b7705c4c1edeaa152f8b5ab70e4089bec80de805dc4a506ca60f74f53d3572b3ad0214bcec8 SHA512 2ea683e51835696d825977f65d93b9c25259f59499669bbddbfadc1573e6510b46e916c4e4922d5c62bd64ecda992615fbdb076f5c50648debfe2f9f05e1974f
DIST genpatches-6.2-16.extras.tar.xz 3812 BLAKE2B ffc7e5852ee193ff8bf364ae77394e10c0d9cf8f21ec4f9886d87803be3f6152e632990be009b68f3910ba3e95d7c2bd30c37d6cbf5c49cccf497dffd12f62a5 SHA512 b17df7f12e2c50bfaab0a0a865e1a7687f058e6b4d6fdcd1b107c690e6869e8ad5c127a51ea64b55ce3dc57d74da05fa075f9d99fb3f0b24dbe6dee5d7fb4402
+DIST genpatches-6.3-2.base.tar.xz 8036 BLAKE2B 754d46f15ab113a1bae41d154b47c4cde2a93df9dbc4333b93e7d3abc424ef19dca2993c25705020096ab9d500f794a852c4cff68f29907e7667edbec7503ff6 SHA512 45eb038e9118a2feff7625cefc7bbb96ef4fd8fa29fce118943dbd0685075fbf9c525202879abf6308d7e80e94b8e9704799e3c863105add026c86b97314d580
+DIST genpatches-6.3-2.extras.tar.xz 3808 BLAKE2B 6eccde5d3591804ef50d800dc7ec4cb8b2192d805832cde3496c519bf4ff0f9eef62a76f1e77677df66a054ed1f1efe341f71b8f86b185b10145de8200bc2c70 SHA512 8d79b8c2eed3c962a4c8fda80934720a2ee1436d4e42d762d3f945972537491f415aa6b3615f7a81a727bbb239cd0277ecfb18c83a90ba57252674bf135b35f8
DIST gentoo-kernel-5.10.177-1.amd64.gpkg.tar 66334720 BLAKE2B 87d02bab9e9d14388e984b3a712e00b85ae14ee57040acbd9948f64173166337e2939a73cb787d172365fd4f6ebc42677cf3fa52b33f7017549d7de373301527 SHA512 f77551f0df9d37befee7f310f05f5e221cab19fe29b21d788c515a4cf55071456d00f232115525e541b94f9a0ce6713f5c764ab49119333d337a043888d61e85
DIST gentoo-kernel-5.10.177-1.arm64.gpkg.tar 59361280 BLAKE2B ab78f801631243a1767abfb1e950206e72d030438bc9d6434900c5795686f9cc9cd7c804bd85153126f4206f2e1b3774f8288b1419d561492c210b030dca5ff4 SHA512 83434e8b1d6050e48967abe37e923e16a8111c0ed30773d016b80d34ff6caf52c27e10af9598e653d823a2f89e73a04c7f675ae027c248543cff72f87be04fc4
DIST gentoo-kernel-5.10.177-1.ppc64le.gpkg.tar 54917120 BLAKE2B 5a86c6beacd641530e3d1d36b8730ee8c223f9d537922b6cfaf32629bb8ef85074d456536a2f861381398731dba633255372957bf6f79951f4c919f0c160c773 SHA512 b9f69167a9d9a74fde75eebf7d645fde1092ef785441ac6b57eaa37fbda9351e8a2e02b1659cf32d08c057f97ee7ca9865c57f014fd2b1e5ecadbdce912edec4
@@ -76,11 +78,16 @@ DIST gentoo-kernel-6.2.14-1.amd64.gpkg.tar 82647040 BLAKE2B c895ead21704cdd0d2f2
DIST gentoo-kernel-6.2.14-1.arm64.gpkg.tar 71802880 BLAKE2B bd9f6c0368ca04f3a7512c4678b1d567bb4f7de336dc631639cd3c256b692464d48e1492911c231d907d189f71fff225d0710b1cbb3cccc5ba1104127c7027e0 SHA512 035ea2e7f7309b1080c58b5490c13bc6908df1ec8f01a286bdea83e15dcfe5f9ce36cb9664e3cf37dbbbd056b85621bda1c42f8ffd91ff77c4d56c392e02d0b8
DIST gentoo-kernel-6.2.14-1.ppc64le.gpkg.tar 63928320 BLAKE2B 8287654a4864994f70124132669cb9eda0cc8397150a44950b9ffe0241af535cd8d7556af67b07b6129e62a567be9678220ed34aadb09f2a9678af536604fa1d SHA512 c3dbaef15e020deee482b696a183da22bd1de2ccb4eb27e8fc5b40b3c49d8e5e0a76b3478e75aea064c84cb03823f05d12360682b59f30fc4db66b2a1801763d
DIST gentoo-kernel-6.2.14-1.x86.gpkg.tar 66519040 BLAKE2B 68dbd8c39de89dd97e8d29774df725cee0d67b74ce4d3c0860e0d7bbfb6564a7ade3a7b3ffecb079b9edb04b6b59ec8a22b668c86826ee64332e204a084abab4 SHA512 8a6b84ac77da67ec74de1a5c95e604d05298beeacf526ce23991c96ae3eeb13714d268d8ece6ee4979967310ebaa8773281c181d1af22cabab87cb6fac0e7549
+DIST gentoo-kernel-6.3.1-1.amd64.gpkg.tar 83415040 BLAKE2B 25b01c8ce51ae47c9ac32c8eb42b1ba78ed0c889ccc5538f3da96db671b5e4cafac133fb23fec7c2b315e1c5306d68c6c1072189cc6889cd1774ab7ab7a2a241 SHA512 f01cafdc3946fb6583d2412892498320a5ce896cbf3f27d1138de6698478522a68edde3610b22f4b8126ac0907d4cf63f602e71643ed06f8a87ddcc894eeefa8
+DIST gentoo-kernel-6.3.1-1.arm64.gpkg.tar 72376320 BLAKE2B 7bcbf05310a57d5d8417b13f94031f6876aa37108c8077a97c6d9e6ef67bc5052527319c0bdb9d470eaf398e6ba719079a8b4a121f900355343366c7ed749d4c SHA512 12ad556ed9b52774485de2e0a625a2fe3557425ad8c3971eb0988ac85ae17cbe4ab1bce5e8360cd28b12bf731edc1f6c8c60fffa86240fb45adc9ac8a7f12341
+DIST gentoo-kernel-6.3.1-1.ppc64le.gpkg.tar 64256000 BLAKE2B 4c094238f14f221fd42598b6dde1486e07f0998b51d834428ec294aa027d04e8f9dedf6c5d9129a12bf361ea4f009f5271b8bf542575e5dbc056d14eec4752cd SHA512 33ab3fc05bec10552e58796efaf63ae507af546b6edee2ec6111eca564aba71be1de00a1427386f0102b0cbe10b44e35ec8a2bc44f1d0a799bec7fcc2d85c695
+DIST gentoo-kernel-6.3.1-1.x86.gpkg.tar 67010560 BLAKE2B f3303c11d75dde5dbbd1d085845797a204ce72b00531befea8da2dc0a9aef38f30479d4a76108459e3de76b9af2f7e5cbc850959eb9fa242773aa1549d4c1b08 SHA512 ac74af18e7a687571154b6b9e7597902106fae65a3f1a4c1d56cc2ffbc6e93812756717040e698dce0fd3a39c82a656ef958347af985c74c6505cd5bb0577129
DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e
DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
DIST linux-6.2.tar.xz 136430892 BLAKE2B 05b63254734ea685db437cb1c00a6da63eee74d7e99f4ed2d074aaa01ac4487813ab297d337a6855cdbcbb33346b631c4256ee3b06191adfb1be3615a56bdd6d SHA512 a01bee0b968b95183934fe3504516be7ef5811944a061f5aed05ecebaa27b5eb64e33232fd0a8dd622b3c8743bfe462ef7e464d381734d111a0ad6a6d9f66ddd
+DIST linux-6.3.tar.xz 136891752 BLAKE2B f1887c8924efa8d0cb14c4e604affd0b0168bcf20f56a37c027405c7bc11aba822a43fcb38ccb55a81a26f747d00e1ab5a6554818affbf1e1c7ef5220150fc69 SHA512 768979440f4907ba64d4481b383d6101faf208f27a0b897156123aa278c5743fe3c4f61945b2541429c532d45382aaee8899ea9d44a1d2895bfbb79bfd937f65
EBUILD gentoo-kernel-bin-5.10.177.ebuild 3024 BLAKE2B 5c9a656c167dbe2af9c96a69319075b0583d84c9b552b5be2d67de160375a3fc7abfaf75b71e893a01b7b403b7501d5f128aa63392582156af5ff4cb70643c5a SHA512 e400bea4b00533a52321fb68dc8960238c48dee0a60041cee59c6ddb03b12b45808f2cab06360b4bd2113bf83db9642145db315424b7192b0caf136fdab24eca
EBUILD gentoo-kernel-bin-5.10.179.ebuild 3028 BLAKE2B f09e5f0570fd0166abc54b10b93433d1068d4f3a4713cfb6857697532f30b6e2a1df8d4afd66eaa665f4bd2023205334900392f020c62b0574c87a119479bc1a SHA512 e6a6510263e9cf194b9336e26cade4b76f190e1765b7000be003203f4e23fd2b2d64b645e37c0c69a35ba93c3a2e9c5e6f6b9d14eedc1b506b3b68debcf95911
EBUILD gentoo-kernel-bin-5.15.107.ebuild 3024 BLAKE2B 999b56ddd10be1eaa056b5512c6fe05f17a9e8f6aa73e9d21d4c4e83e5544d3b410fce745805b970ca6f5e5d3f437f7b259360626d0d45990f3132cd142b7a08 SHA512 c76e3fb597b62966b6758f73b85328bb7433ebc53621efd5545c9befc2fa8623e11286c09dd21e7aa551d1106ee5eede2a55f2c33fa264637c84b7fa9a9c64db
@@ -94,4 +101,5 @@ EBUILD gentoo-kernel-bin-6.1.26.ebuild 3028 BLAKE2B c8314539c6ea447c8645bc304bfc
EBUILD gentoo-kernel-bin-6.1.27.ebuild 3028 BLAKE2B c8314539c6ea447c8645bc304bfcf6cfa99398ad38f6106dc2fa6c9a9a759ccd288646b95f77a2e9a3e9ec2ab045ffd1544a70d9060096a0e04a91ecff46ad42 SHA512 22fbd6a7597f0a6b489e6e6cace828fa7df95cbffe48a6c79b7a4d568c2e79f7ffa7d8bc717fa2746015b0e4da295f446c6d7f20bc679fadf7d9ee6574921e2d
EBUILD gentoo-kernel-bin-6.2.13.ebuild 3028 BLAKE2B f1a8609dc0df691418f250273a84d7d645ed2c84f3ec70d4bdf494938b2305053949c31dc1ca1020d602de2ecc66a5bf0a231205ecd5c1fc500d80577cab7071 SHA512 c01314ba4cdad6a38de547bf178cd75d2c3cd5b8ee732bf60facda3d1ebdfef371fc1bea1603111fc96e36426996ff247150751f6a23f67dc1eaa688910f2f56
EBUILD gentoo-kernel-bin-6.2.14.ebuild 3028 BLAKE2B f1a8609dc0df691418f250273a84d7d645ed2c84f3ec70d4bdf494938b2305053949c31dc1ca1020d602de2ecc66a5bf0a231205ecd5c1fc500d80577cab7071 SHA512 c01314ba4cdad6a38de547bf178cd75d2c3cd5b8ee732bf60facda3d1ebdfef371fc1bea1603111fc96e36426996ff247150751f6a23f67dc1eaa688910f2f56
+EBUILD gentoo-kernel-bin-6.3.1.ebuild 3028 BLAKE2B 4bb3f46f40739c0304029ff6c4ccfdf255a4a8e247bef77c76e7d8bb57458e35ac2b2dddd1ebddbc189b1ce6402b97481c1e71e53337795b95de6700b1c1c1a7 SHA512 2bc1fd4438671d444003d3447618ae56c0efda7b2d82df6961cf48776d5c69ba39f4ffa83e6c0a818d7418291049cbf282a41d8c35de8fd7beff6c935c322bd6
MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.1.ebuild
new file mode 100644
index 000000000000..37a5c18539e9
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.3.1.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2020-2023 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##*.} + 1 ))
+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 ${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
+}