diff options
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/Manifest.gz | bin | 4419 -> 4419 bytes | |||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 7 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.168.ebuild | 127 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.10.168.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.10.168.ebuild | 137 |
7 files changed, 411 insertions, 0 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz Binary files differindex 3f364412bc58..5301a48cf351 100644 --- a/sys-kernel/Manifest.gz +++ b/sys-kernel/Manifest.gz diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 4a928617cfb6..146a6e86cd22 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -8,6 +8,8 @@ DIST genpatches-5.10-175.base.tar.xz 4909096 BLAKE2B cf9a0be14ec5a99f5a8ff6ba615 DIST genpatches-5.10-175.extras.tar.xz 3872 BLAKE2B 1371c40d2a9e15fb2297842c5aa7989772c3699d360dba1837df770d3e8c16fe48cfe6ade3a0832237dcf85722ef276ee80960072c47dd83d46018de44af4bbf SHA512 9c2c2349c1a88e916ddad9b67cddd0cc5c281ce1d85d29c56e308a52999b79c1c212c8caa3f829aa16e20b8ca4154ba8c66e6cc5d4ed1d4d07d3fe9c26f46ed5 DIST genpatches-5.10-176.base.tar.xz 4910744 BLAKE2B 119dfaaa5a2212f088f767e3600d748b2bc20a95c8e21b34bb81dc0a6ad6082769da9cc11a89b226c326c0326cb4c7da6fa0fcb1cb4c5e1f04fc353dab01a117 SHA512 60632369dc2066789ec8a144080127d7149d9deebb3c9764cd1a13fbe961dd5f88eaf345dbfeaa33c8c8b55d558511d2dafd4bfb631fac2db72110574ccf6c8f DIST genpatches-5.10-176.extras.tar.xz 3868 BLAKE2B a0a3808562dba6540d632b25e3a417f9a2514dddb13cda9692002b253a4d033bb58ffa4d606fd57764024f21a0907a94d93c2130deb9bbe92a60f310179e761c SHA512 847fd0c0ce8bf3aaee9c6aacb527d8590439f44f5e1e19ffda883b5ea7d8bbc502cbe5e126fc181eaad9dfbced8ca664e459b70085bdc6d51e7f001bf4901f2a +DIST genpatches-5.10-177.base.tar.xz 4940872 BLAKE2B b2a81aebd81bff1144ecb1732345cdef2a91abc5bff2aade07770cf11cbb5475c58ce2e4c2dc00a5b292948cbe9316d4812dcb534da90bf9361f18136bd67194 SHA512 b6c25015719ad70a3322d65a5f796ff075a38db7225d90b5bd18af22348e46adb547a374c0ab8fb6790f30d211570dc6742aa7abf0b24987fa4e6fc49b2a7c3d +DIST genpatches-5.10-177.extras.tar.xz 3868 BLAKE2B bffc5ec0895066aa1e497ebf412a298f1dedd4ac86758f72c364fc7e56508aee3928725646742a66bb3979b8ed33afa7539e3ffa9c0f350c0f81139f69671287 SHA512 2c0b9273c933764c5c2fcbf6176b3fea06777aca18d823055cd69740519e1a37027a058238a0a9c15b39f1b29417fbdfd771fb7247663097fa717889b5492641 DIST genpatches-5.15-92.base.tar.xz 3843196 BLAKE2B 1a70c672f4ceda221611ba1bad20fc4e791a51e27f412995308cb7f39962c6e237efc1bb7912c67b8e3dabaffce3bb6ceb55d62f4f12b79671910b70c1e7a8dd SHA512 33390b3e24783405971f2eacb24e715faf841a66e477a03d4055d61694fa72694d7563d799b95d47037ad0d7e7c234e56c894ddd7cd1dba59077efb901bbba26 DIST genpatches-5.15-92.extras.tar.xz 3932 BLAKE2B 12936d0ac139d69f2e5947436ffd34add80625aa383aa23e51b4419a5e2ad3c38ace4d69c9e7066bfeae32ab727013e602c3a1c3424e128562597c517c7e5903 SHA512 6595eca7525db97672a15275228dbb9b14e7e234514b549e0fc17daeda4b48d298f6dbcde46e5862fe02bac9f50ffd7b05d82a174541469456289bdc6eb7f4b1 DIST genpatches-5.15-93.base.tar.xz 3874100 BLAKE2B 3f9bd1a90de22824db823bead22ae777ebea551ebd183184ecd039f33def8db603694acbe3757352cff228eb2a28a8c31d362f2185b32f88edd19c4de6eedad1 SHA512 1d5c83f5f44ccee701755dc7732f80baa00e5b3f4137c9da8d81cd7fad0055df6b09dddb1cdd6287db6a43cd1b673aef3a543086138af72cad5218d2fef31860 @@ -64,6 +66,10 @@ DIST gentoo-kernel-5.10.167-1.amd64.gpkg.tar 66293760 BLAKE2B 86933f7a1da3888fcc DIST gentoo-kernel-5.10.167-1.arm64.gpkg.tar 59351040 BLAKE2B f8e0ba24eb686e38704fce1c296c978105f953b801ada73eb83f03f9dcee542d223e23e103281035e1e7f78be2bceba52616f84dbc998fc391e6ed136b6ea9ec SHA512 5d373fe35cee7142af63fac61282d2e71e5b9c80bac7c03ac3987a058aee7ac4915bebfab02cc995ff1344070d158a83d042dbb6573fe0bf5d13b9656e60f07d DIST gentoo-kernel-5.10.167-1.ppc64le.gpkg.tar 54906880 BLAKE2B 85f324ca7221ba94b2fddf364b3e3b2f2e95549453f9b5d938ab6f711a4bc719559ef8f4e9b6adf259e7864877b888ddf09f5c22054164f098abfc0d2c71556b SHA512 b4cacbdeb21ba0d1f72afbbd321f696aab71c150fd936e0e365c45df2d4fb7bc35e397fb32c788dbed8f45275225560e0bc894c724afcf23ae5dcf9bd507f897 DIST gentoo-kernel-5.10.167-1.x86.gpkg.tar 56442880 BLAKE2B 5386059e894540767125e8a8ad9f6c7243d67eb75d80d26fa457ef591aef2cc03b4a7599545df8f7b3601045c8d304a07162f00c2dc668d33fb1d403c24bb12e SHA512 97dd05d6027c07b385617da4685d152c338d23c35b2947017ddfb6d61ff5daf2f117cbf089db608fb3137ebd21a4e7a14772cb8992b2faafb635fb268c9da740 +DIST gentoo-kernel-5.10.168-1.amd64.gpkg.tar 66314240 BLAKE2B 17cd291cb4bff82c4bd3a5b17a019c04087b77589ea1ddb983fc184e9e64009a4ae412d4d710bbe5d5c1efeafcaf7b66f48eabac19f85c9f851a0ab973481f40 SHA512 7890e5406dde1485e80a7f5c279355ed0370920ab6e23ad8d7521dd616de859ef37c1298e6326372038146e20924a4f158ce8009c75cc167c7637292e1867d9b +DIST gentoo-kernel-5.10.168-1.arm64.gpkg.tar 59351040 BLAKE2B fab2fc6aa2b3d03adcc1a8a91b2cc477310360bc494fd6125a544033c0b387ef22f71fdc9c2a40f9cd8fa922bcb57b210d868496a2a396352ad104bd3b37ba5d SHA512 7679427a17a9e7f3a5453f41752c5bb60f3312c8363bd3490cf85edd3c3fb8719327fd542474979655f3b5dd63db3d9cdd337cf2d1e8a7771ab8ab956f272d99 +DIST gentoo-kernel-5.10.168-1.ppc64le.gpkg.tar 54927360 BLAKE2B daf08f4a7de35b30b94875a0e7c1d3a0003a0e8d0d952a6a5f5ab2915fd5121f6db7f8e787c8599a78b5b6b21d7b2201d2202a2b4534a3c2c20bf502384e6528 SHA512 b6da41e17bdb1043b462102a808ae164de4090339d36a6f0a18db6bfa91880e08b568109464aa7789fde4a2a0caeca3e225ad986bf8417b9ef341529eba4ade6 +DIST gentoo-kernel-5.10.168-1.x86.gpkg.tar 56442880 BLAKE2B 3f18046b4ae785d4ff09d8cb0f4a69ebd531e6900491cbb35858436684d21331b7ba8b93f1f4885bec5b71958601022b8bfbdbb393f251d4435665e3ff8fc6e9 SHA512 050bcbf0f021bebfba82563eeac279a22ee254108141e87ae1be9ad9a7cb2254181a5273d7514abe908c0df61c32e561e565aeeb4476a923be517674d1c5a4c7 DIST gentoo-kernel-5.15.88-1.amd64.gpkg.tar 69826560 BLAKE2B 9c32c9a590770f2b15e67e62066265cbbf82d09ce9daef7af5522be320eb98eb13714425f842c6de038fee83f7a2166c2113c77acfb6044c201b39e26d36f1e4 SHA512 9143d0393203eb00249916b84b0699aadbd8af5dd5e4376ce251ef77a1018ab647ccd7a370e2724b6b2f72d077ba9fc3f2000ecc8518295e975cfc8f464d9df2 DIST gentoo-kernel-5.15.88-1.arm64.gpkg.tar 62904320 BLAKE2B 8edaa87b1d574787913d9f0e935d3f79505aaa507069ba8bfdf4acd894582adecacbbd429554e02c569aeef975eabeb3285f9cabb1e9ca5aea4d32487a5f298a SHA512 6f41644cbc0442f39d79c54aef05d64fed2da2f8dff1f906cd109470a7c12d2b67732fb5b68959e3393db99972185fdb960dfc22c153992da3632ed2bf9f382e DIST gentoo-kernel-5.15.88-1.ppc64le.gpkg.tar 57251840 BLAKE2B 361eb1433ee75820bdd85ed39960681b091c42d7cc7004540e4a6f60e8636569463e18d9de785f98d4015463f24dd58b1da368ad97a431e9fc5f13e9d2a98194 SHA512 c9ebe0f7a184a7fba4bc8532e7b66ad652b2cf9f1754d6267c9534673a62940c8adefbd50184655920a6518634bee9b97f1ae3037b39862ada64344ef62f090d @@ -145,6 +151,7 @@ EBUILD gentoo-kernel-bin-5.10.164.ebuild 3028 BLAKE2B f09e5f0570fd0166abc54b10b9 EBUILD gentoo-kernel-bin-5.10.165.ebuild 3026 BLAKE2B 6c177f2c23f69572f5624d77f8b5270c7acc98313a384ef44db2ab40dc279873908a69909d500d947d14ef0aa80307ff2026c4601a0f52aa946f1f728d979060 SHA512 4042a43b0f241cac838f42c679f7703d7376474eadd036edd75b6e88b381a3a8d40df3a0610c5720ca2929f55a781257a54be8016ee50fe958801f10828c1629 EBUILD gentoo-kernel-bin-5.10.166.ebuild 3026 BLAKE2B 6c177f2c23f69572f5624d77f8b5270c7acc98313a384ef44db2ab40dc279873908a69909d500d947d14ef0aa80307ff2026c4601a0f52aa946f1f728d979060 SHA512 4042a43b0f241cac838f42c679f7703d7376474eadd036edd75b6e88b381a3a8d40df3a0610c5720ca2929f55a781257a54be8016ee50fe958801f10828c1629 EBUILD gentoo-kernel-bin-5.10.167.ebuild 3027 BLAKE2B 11b9acf8ecb0b8aceebe698f6512b658b4f3b9e4dfe398cb8f18d85e1e425f3b911eed7918fa1e6aac319847090a45c8a24cd17efd685a7860db4c29d9c712df SHA512 f3c8e2aaff6cb3ea177cd05d65f312dea573c81875a46bf9f3e1cd0627fdca5c32fde1acf819dde9eb6ca6da32abc9550fbba4b127c4d6ba829c045b40fd19e8 +EBUILD gentoo-kernel-bin-5.10.168.ebuild 3028 BLAKE2B f09e5f0570fd0166abc54b10b93433d1068d4f3a4713cfb6857697532f30b6e2a1df8d4afd66eaa665f4bd2023205334900392f020c62b0574c87a119479bc1a SHA512 e6a6510263e9cf194b9336e26cade4b76f190e1765b7000be003203f4e23fd2b2d64b645e37c0c69a35ba93c3a2e9c5e6f6b9d14eedc1b506b3b68debcf95911 EBUILD gentoo-kernel-bin-5.15.88.ebuild 3024 BLAKE2B 900a5622d9b0ecfbdd3d51d3b7673332107be5af36e211db5663e8edc6dcc97b96648b06cbaeb3cf5ca2e467e4da30748eec6ce67ae3367328ceff7f207adadb SHA512 8a95fbd8ee9d36da9bbbe28823d035eb6bce287aba95602c75c0dee5ee2d92a765c547f9f661f4eb7b331ffe0012beedd42769eaa02340e5b376b3e8f3305d3c EBUILD gentoo-kernel-bin-5.15.89.ebuild 3028 BLAKE2B c8314539c6ea447c8645bc304bfcf6cfa99398ad38f6106dc2fa6c9a9a759ccd288646b95f77a2e9a3e9ec2ab045ffd1544a70d9060096a0e04a91ecff46ad42 SHA512 22fbd6a7597f0a6b489e6e6cace828fa7df95cbffe48a6c79b7a4d568c2e79f7ffa7d8bc717fa2746015b0e4da295f446c6d7f20bc679fadf7d9ee6574921e2d EBUILD gentoo-kernel-bin-5.15.90.ebuild 3026 BLAKE2B a9dc3db24e35841fbd584d8bff4a61be0f104f6d0eac7ca7d2e5aa26c6d78312c794b1a23e14ee109302d0cada226fef2892953370450e04ee33f3f992121351 SHA512 c9f3722f7bbd7e9e1b11da56166918ad0bc333d41eac75d645e2417e7144c4cc4410717bb663e6e0e1c1b16d5d9b25ac0a743cb0864d16378821638aa47c572e diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.168.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.168.ebuild new file mode 100644 index 000000000000..8f6c357c55e5 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.168.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##*.} + 9 )) +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 +} diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 974f6c921fb7..6ed1fb09b59a 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -8,6 +8,8 @@ DIST genpatches-5.10-175.base.tar.xz 4909096 BLAKE2B cf9a0be14ec5a99f5a8ff6ba615 DIST genpatches-5.10-175.extras.tar.xz 3872 BLAKE2B 1371c40d2a9e15fb2297842c5aa7989772c3699d360dba1837df770d3e8c16fe48cfe6ade3a0832237dcf85722ef276ee80960072c47dd83d46018de44af4bbf SHA512 9c2c2349c1a88e916ddad9b67cddd0cc5c281ce1d85d29c56e308a52999b79c1c212c8caa3f829aa16e20b8ca4154ba8c66e6cc5d4ed1d4d07d3fe9c26f46ed5 DIST genpatches-5.10-176.base.tar.xz 4910744 BLAKE2B 119dfaaa5a2212f088f767e3600d748b2bc20a95c8e21b34bb81dc0a6ad6082769da9cc11a89b226c326c0326cb4c7da6fa0fcb1cb4c5e1f04fc353dab01a117 SHA512 60632369dc2066789ec8a144080127d7149d9deebb3c9764cd1a13fbe961dd5f88eaf345dbfeaa33c8c8b55d558511d2dafd4bfb631fac2db72110574ccf6c8f DIST genpatches-5.10-176.extras.tar.xz 3868 BLAKE2B a0a3808562dba6540d632b25e3a417f9a2514dddb13cda9692002b253a4d033bb58ffa4d606fd57764024f21a0907a94d93c2130deb9bbe92a60f310179e761c SHA512 847fd0c0ce8bf3aaee9c6aacb527d8590439f44f5e1e19ffda883b5ea7d8bbc502cbe5e126fc181eaad9dfbced8ca664e459b70085bdc6d51e7f001bf4901f2a +DIST genpatches-5.10-177.base.tar.xz 4940872 BLAKE2B b2a81aebd81bff1144ecb1732345cdef2a91abc5bff2aade07770cf11cbb5475c58ce2e4c2dc00a5b292948cbe9316d4812dcb534da90bf9361f18136bd67194 SHA512 b6c25015719ad70a3322d65a5f796ff075a38db7225d90b5bd18af22348e46adb547a374c0ab8fb6790f30d211570dc6742aa7abf0b24987fa4e6fc49b2a7c3d +DIST genpatches-5.10-177.extras.tar.xz 3868 BLAKE2B bffc5ec0895066aa1e497ebf412a298f1dedd4ac86758f72c364fc7e56508aee3928725646742a66bb3979b8ed33afa7539e3ffa9c0f350c0f81139f69671287 SHA512 2c0b9273c933764c5c2fcbf6176b3fea06777aca18d823055cd69740519e1a37027a058238a0a9c15b39f1b29417fbdfd771fb7247663097fa717889b5492641 DIST genpatches-5.15-92.base.tar.xz 3843196 BLAKE2B 1a70c672f4ceda221611ba1bad20fc4e791a51e27f412995308cb7f39962c6e237efc1bb7912c67b8e3dabaffce3bb6ceb55d62f4f12b79671910b70c1e7a8dd SHA512 33390b3e24783405971f2eacb24e715faf841a66e477a03d4055d61694fa72694d7563d799b95d47037ad0d7e7c234e56c894ddd7cd1dba59077efb901bbba26 DIST genpatches-5.15-92.extras.tar.xz 3932 BLAKE2B 12936d0ac139d69f2e5947436ffd34add80625aa383aa23e51b4419a5e2ad3c38ace4d69c9e7066bfeae32ab727013e602c3a1c3424e128562597c517c7e5903 SHA512 6595eca7525db97672a15275228dbb9b14e7e234514b549e0fc17daeda4b48d298f6dbcde46e5862fe02bac9f50ffd7b05d82a174541469456289bdc6eb7f4b1 DIST genpatches-5.15-93.base.tar.xz 3874100 BLAKE2B 3f9bd1a90de22824db823bead22ae777ebea551ebd183184ecd039f33def8db603694acbe3757352cff228eb2a28a8c31d362f2185b32f88edd19c4de6eedad1 SHA512 1d5c83f5f44ccee701755dc7732f80baa00e5b3f4137c9da8d81cd7fad0055df6b09dddb1cdd6287db6a43cd1b673aef3a543086138af72cad5218d2fef31860 @@ -76,6 +78,7 @@ EBUILD gentoo-kernel-5.10.164.ebuild 3663 BLAKE2B f146b559903a48c99de41e0b1c69fb EBUILD gentoo-kernel-5.10.165.ebuild 3661 BLAKE2B 43d972360a498fb0ea50f8ccfca0b913d035ca5bfe2369edeb83b29e019481757fe29963a12016c78764dea8a610fb61c52d24f2d60b5255f74aa885246d190f SHA512 15ea67d8eff1b3be14c934086f48e396d625e29bf2d41c6c7b15ddf5cf9f00d43b0df8a1bb68a2864cb0a406567d792694d4a44c518b8d450460615247696bb9 EBUILD gentoo-kernel-5.10.166.ebuild 3661 BLAKE2B 43d972360a498fb0ea50f8ccfca0b913d035ca5bfe2369edeb83b29e019481757fe29963a12016c78764dea8a610fb61c52d24f2d60b5255f74aa885246d190f SHA512 15ea67d8eff1b3be14c934086f48e396d625e29bf2d41c6c7b15ddf5cf9f00d43b0df8a1bb68a2864cb0a406567d792694d4a44c518b8d450460615247696bb9 EBUILD gentoo-kernel-5.10.167.ebuild 3662 BLAKE2B c9c8132123185d0ac0fdd52cfb681b64460ca465fc16e882dc3df24493120a25fa0ed7078d1af2aff35542c3ae1fbd0a7229254194a3ba2e5ca78cbd0a480eba SHA512 68d9a735728f5fc90f1670d6db2bffd90a9b2db0c6fd726d26c6584add69ae7e1b66bbc99d4800987380e4857f5522256b34fef4899bf5cdbe8dd79f7c84a4c3 +EBUILD gentoo-kernel-5.10.168.ebuild 3663 BLAKE2B a96f9278e03d012a15254fe025dc633983600e2c48cf64d58d4778e9981de76c358a9e6ac75d457106da82a888d9c64c5f9d2927d31e6c90541651f6a1494898 SHA512 0f1880b9488f929dcdc918cb803d95572665727603b078550cc6a5490b5b90c8ae4897f14d5f4b1ae413622d1b2225f6edf29805b27a7dc098c67c6b3b30f2a6 EBUILD gentoo-kernel-5.15.88.ebuild 3656 BLAKE2B 90cb9f2efd019c294179d97716ab7cf03a35096d4d40d0a1961be84af706bdcb42d823bb9d78543f936e9dcb125ffc6f8eb3062d5355607d06bbfb9a1cdf1fce SHA512 94c0a060ada4b1ade65777664f8c63e7308103063cc6f662a060d5bd60d70dd94beecb382e221cca692c8e87e7bac02f3064fbcd7d22893f393006b1d4ba1564 EBUILD gentoo-kernel-5.15.89.ebuild 3660 BLAKE2B 5b15f9354482b92ce358c31cb985e041661879dceb4cdd753ef4787d37ec136f03f6a47f2b126960fb06bf7a7933db8c8b64601dbf56551d77b6487e95d9668c SHA512 49880329cabbc35a5fcb302bd0d9b5d597947db106d8e2c0ed810d3298bb7272d134692e8769ce1823c42b78b4c7077a71ce6801e3b1f3a128fb6944033fe7c9 EBUILD gentoo-kernel-5.15.90.ebuild 3658 BLAKE2B 5e1d1e367bce7c5b6ac25b1d92a3558d95e4c95cdb084646a48a4c170f34f38eeb172c665002e1e9d5ccd9d9abc207464e7eb9c05247d581aeaab8bc4f7292a4 SHA512 e32673293bd711082f1819d9ea3c1ce6d2378feda81ae7654a555d62ce1119a0fdf46710a1299346028fab4b61b6dfa284548f68830bc47d252df1150bfb2cc8 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.168.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.168.ebuild new file mode 100644 index 000000000000..23950288e429 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.168.ebuild @@ -0,0 +1,134 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g6 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + 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 + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index a591434a0a8e..f3f760fd8685 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -36,6 +36,8 @@ DIST linux-5.10.166.tar.sign 993 BLAKE2B 354afaef10f11a81aeca2e6acc132c961ef3d14 DIST linux-5.10.166.tar.xz 120550760 BLAKE2B 87cd994ce1b3d4d573299aae680d4488797ddc82a3010ef1965b7890bbb7043f84e95f96e88f9988c64b4774bf64989d13cb8dd4e0882e21ea81481dd22da067 SHA512 a6c185acb7b24e38e3a8331bed97dd5e03e885b5e3d5ea7fc3c1113ec64c16567dbd3ee6daa6311634dc3bfbbfdcd280571975f636457f87ef2a1e19b226b4cb DIST linux-5.10.167.tar.sign 993 BLAKE2B 2e67cccd194ba019038a23b75d4a8410bd8492200914d546c42ead38a1059394f3518f522117cb9d377f453d4033dcad54a0de89f9a43063c62da46c64895610 SHA512 fb3a5d01e0489eb118ce6b6cfa8fdbda74b30be872a5854c13b9be32caf383b8b014b954bd1a617cdd5b3acd435ec96c1087baf914f9ae9be41068c0ede992a0 DIST linux-5.10.167.tar.xz 120557548 BLAKE2B 2af3b16a9be8133cec49b95b1303063c684a980532899ff7cb40e4adfed9bd5c3312bd7bb5b41394cc11689cb34d9ab6e8f89175797d8066d42cb4cf45c33a75 SHA512 e9ec7f353bd49bca747c03defd4935b905222bb66c64bf23b27d3ebdc7b9bca267ca05e0f91b215cd788c227265c5aa7e26a9f0a73989c66e65ea4d4c2c42e6f +DIST linux-5.10.168.tar.sign 993 BLAKE2B e1db5850d4bd77400a35a06db3c1f6e7da4d4afce822f18de2df4a11737f40bad9b2433ca3dc261c72eede6b56a4e47e3b09d930ff62d10c42ff194bc7987658 SHA512 a8c66d4414cc161aa6547e002f637059c6eafc1d721f1ec8e65f4770bebfa511f32521be0fe273fe4e2943af3659d0e1b0f9551bc567e5d3f4bd0f1dbd95dd67 +DIST linux-5.10.168.tar.xz 120556556 BLAKE2B 5519fd3fe11f94ada0b84fcb1eba284efe15fb810230cb66e96a0f5cd9e73e4b86ae765a140224ba1e484952912dae847e2bc503f25fd0c728ac2e0957078d93 SHA512 c941cf2b03d1a7fb404a2de698394d449f1384e8033053640fdb1899f693d91b01b4cb1eea43a23b09b96793c7a801d858e9feffa165a2da1aebe8b4485e0e6d DIST linux-5.15.88.tar.sign 991 BLAKE2B 928ea938758c904971cde08ea5d390ee483eda4ad5c7ced83d606e219d823966bd6ea745c64b2c954e81d444369507d57cfa3b54e18e433d9733325007fca93e SHA512 b9f1744190bdcb220d8a17b295784aa34ca0ab7035d4fc832dab0605ce665dcc9ac356ceefdf47a2996dfd33b05b0ec8a2dcd66c785146c756cca74ad10ad0a2 DIST linux-5.15.88.tar.xz 126523892 BLAKE2B 26ec7427e3370c417a048ca76f394cd9aeb25f6cf8b6bbceb074707a85c75f668c8d70c9f1b19cd05ce33212f259736ac1b554793ead30a007d1745d4329879c SHA512 2ecb84f7800a6fe22577f890c403e2bad383a1638b6a176c20cd8d1311ea433c016e08ef00d1441099c1dba974d82c4211acc190c8d59aaa9feb12588af1b348 DIST linux-5.15.89.tar.sign 991 BLAKE2B 79d90af0bc18768e9a09ebf159713d59e708ec23ddb99662b67ca7edec6871dec70ec624a98db404b59f0daf9bd5559e5488f8280c2e1fe83218a6e99f6bd450 SHA512 77846c9c18aedd5f8dea54208cc65067cb85a88532f812c19bf510d34e03d0f4599c4d1182d799c982ec63d235ca0af474b2817ef8d45e2e4bc51aa8092329b8 @@ -77,6 +79,7 @@ EBUILD vanilla-kernel-5.10.164.ebuild 3776 BLAKE2B 424da71003b2af567b58f742010f2 EBUILD vanilla-kernel-5.10.165.ebuild 3776 BLAKE2B f17a71ce2af16261001d766fb6e9d280a9939bebe3d6df50dde64a04b662f43df2df41ff222d903fafd58ab981122103fb6020771eb82a4615fb532a8ad0dc5d SHA512 5a7d0ce4b2b601a6c1a891b09376d81a84d518f7faa387f68ffa707a916b7d325aa11424781e32042b392598bae5c99f718c408aeb96270f8256e287a8305d33 EBUILD vanilla-kernel-5.10.166.ebuild 3776 BLAKE2B f17a71ce2af16261001d766fb6e9d280a9939bebe3d6df50dde64a04b662f43df2df41ff222d903fafd58ab981122103fb6020771eb82a4615fb532a8ad0dc5d SHA512 5a7d0ce4b2b601a6c1a891b09376d81a84d518f7faa387f68ffa707a916b7d325aa11424781e32042b392598bae5c99f718c408aeb96270f8256e287a8305d33 EBUILD vanilla-kernel-5.10.167.ebuild 3776 BLAKE2B f17a71ce2af16261001d766fb6e9d280a9939bebe3d6df50dde64a04b662f43df2df41ff222d903fafd58ab981122103fb6020771eb82a4615fb532a8ad0dc5d SHA512 5a7d0ce4b2b601a6c1a891b09376d81a84d518f7faa387f68ffa707a916b7d325aa11424781e32042b392598bae5c99f718c408aeb96270f8256e287a8305d33 +EBUILD vanilla-kernel-5.10.168.ebuild 3776 BLAKE2B f17a71ce2af16261001d766fb6e9d280a9939bebe3d6df50dde64a04b662f43df2df41ff222d903fafd58ab981122103fb6020771eb82a4615fb532a8ad0dc5d SHA512 5a7d0ce4b2b601a6c1a891b09376d81a84d518f7faa387f68ffa707a916b7d325aa11424781e32042b392598bae5c99f718c408aeb96270f8256e287a8305d33 EBUILD vanilla-kernel-5.10.9999.ebuild 3295 BLAKE2B 191d46975c539cc082db84ee88fd5a19cbd62fb1062c811e8250baa1175192d0cd1786f6a051cc6f27b41f5e9d5f5348a6ad913f427ca4e13438f408bd7ce1dd SHA512 6a60dc8f452c732628848ba37149e647e3106789b14cce9fa177287dc535c9ebd3a30020d181d9979fc43baa1dc035a1747fd0a3719b11f655ed90f6e5538d2a EBUILD vanilla-kernel-5.15.88.ebuild 3776 BLAKE2B 77cefac45d3aec0fb7b3d3d5f88c051007b39978e0e17309857938fdfb9c1b0377fd9cbd72194a4737011dbc97099a419a5b6dd84cd302d381ef237bcf313e83 SHA512 786dab6b343260261c8181b9e409ae0cace10f0348186e9bc88be75660b77c7ea983edac2c6d5d20076130be3b97ff58fd776c8c85cad757bd9d2d23db4f591b EBUILD vanilla-kernel-5.15.89.ebuild 3776 BLAKE2B 77cefac45d3aec0fb7b3d3d5f88c051007b39978e0e17309857938fdfb9c1b0377fd9cbd72194a4737011dbc97099a419a5b6dd84cd302d381ef237bcf313e83 SHA512 786dab6b343260261c8181b9e409ae0cace10f0348186e9bc88be75660b77c7ea983edac2c6d5d20076130be3b97ff58fd776c8c85cad757bd9d2d23db4f591b diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.168.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.168.ebuild new file mode 100644 index 000000000000..9f817374f36e --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.168.ebuild @@ -0,0 +1,137 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g6 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + verify-sig? ( + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign + ) + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/openpgp-keys-kernel ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} |