sys-kernel/xanmod-kernel: add 6.6.46, 6.10.5
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
47b3a7858a
commit
ede22ad5a3
@ -4,12 +4,16 @@ DIST genpatches-6.10-6.base.tar.xz 257104 BLAKE2B 13309e86f5b16ff79797736ac91214
|
||||
DIST genpatches-6.10-6.extras.tar.xz 4056 BLAKE2B 746ea837c1ba5ed7a4385b2f60be08986ad43f0c2eadebbda940d4cc2f7eabdef830459c55c183a68b63be318af661a8bffa25bc5da37628efb1f59987724c8e SHA512 63929e552c0e648245f8b7af72478bebf3a19be2f9aeda2d37e68b02611a69bb171338228c1c1d46b352236f63c3b514e24ef4f0260e0477d487d02ffd99ddcf
|
||||
DIST genpatches-6.10-7.base.tar.xz 309388 BLAKE2B 7c1b7e7ef111b090d54c616d2e4df14d2f914c0e5b5a947c27781c237de9ce53d42c4cb9c6b55b3e0711485a0f28bcdd484babb0ecd2d3e0d508712f3e5e8979 SHA512 828c4638cf3b29e2513bdc418cce2ac567b593a9c2b710c564c49193790e5268e2be5a37d341f3b2aa08a59d36f59019021d3d5fc5a2ec7fd4f45b643d686801
|
||||
DIST genpatches-6.10-7.extras.tar.xz 4060 BLAKE2B b07e59e37eca5c1a3fabd0d062c67f35f404244f93ae10b423d6849ff4d141fd184619d93551014ddc02db0c3379b8b2c486f71ecc798c1a53c20ab5a5a6a426 SHA512 0938b6a622b8b9e6e251fdf7689d972e1aa0a78ebd1cfabb7686298286f87bf9f0e30fe01f64205f775d90e870cb2cc3eefa73b49100a82ae01a6399376d6e94
|
||||
DIST genpatches-6.10-8.base.tar.xz 391536 BLAKE2B 636997da732776bccbfd9dc0543a452bd38a42876bfa46b4ec97034880fab320017de72c50b87ee2e7813d1231babed5b2649e65f603dd65dc4280f119ba94e5 SHA512 f2b23a7a244c8cead4b5644d3c7b34bd1ac890e8822f673a663f44902bcbf85b00ddc3dee25664636f3ccc6893bcc89358fbe7733d89c8b2f681c4e6b6076da2
|
||||
DIST genpatches-6.10-8.extras.tar.xz 4060 BLAKE2B 62f1c87268953d69bc08bb9a601d8b446c31c5d76a50d0c3f67d8048b24e1fa5327fe5ec8cfcad95bc83a39dfe7daec856a23775e9f797241cca30fe8935c13e SHA512 a2925de9fba3d5bfcefa81a01ddc919e8dda835a433b952deb455a1c7065f4272cb26e363408b2fa92ca9b2039fb596a4b99395546b04b3ea96129176f5613e1
|
||||
DIST genpatches-6.6-50.base.tar.xz 2671516 BLAKE2B 356a9a17f69416423c37c801e715dd4b03d1ebf02411a3e637e3790b4adba44db6c04f51f19a6da4ba420332cd5af1221692dcfc2ee1101825a5c8a8885c2e44 SHA512 e7a74df4659bdd54bf0bdb4aad8172bb1374aa563a19d28cf9643d034b59aeb55343ff5048d3aea42ddcd7561f0f723f951ab1f00c05e5ad88d20e70b7c3069e
|
||||
DIST genpatches-6.6-50.extras.tar.xz 4060 BLAKE2B 57044e169841ec9e977b107ad32741262bf3f1455638db2d105e160f2ccc21a6dc6bcd75e09e7f0761ffe3c1879dfbaf39bbef8150cd0de407875f2bbbfd700a SHA512 5c0d55dce1f869f79ec0db577d282b078ceb17667e5b18ee1abb00a6f94ee82978039ddf9650cbccfa1b8f9b99abd48057c44b230510bebe17d890e316d6c7fa
|
||||
DIST genpatches-6.6-51.base.tar.xz 2817576 BLAKE2B 42dbf8663f53bc7196c57c7cb93029b780354e6e1580405b08a34fadd2ea38302c37bb4559df4c65916b0ec2f98c61f7eced52fc6be3de0d6dbe7468dd3d8c22 SHA512 fa25988574b06ad59403b1858d97f70fe0e6056d0b889d8a6e56f44b763146da63a952a2b7361f3bcab1aa34c9a3a97f81a35113a3e5173a2e09b704e54c386f
|
||||
DIST genpatches-6.6-51.extras.tar.xz 4060 BLAKE2B a9e7008c67de6095d6c97bd6fbe9f7359e71d0b40aeb11a0ff14a0cca4feea199a3895bd9ac086d3f011b5c35a98f46d5856b8d27ca7438b8979203ff9164155 SHA512 fa649b918f1bcb7dbe4670a30dbbb47bbf8d57da73724463bc8fb5664c527f082a02f06ac96ff6a538469fe73fe0978f97bcf69b64a1a8d488387ff5a06844f6
|
||||
DIST genpatches-6.6-52.base.tar.xz 2852888 BLAKE2B 1f393bb3b90106ebab46858e2b7c2b3c0ddcff3238ee3bac594ced79e09fdcab47596859004e2aa5ce3ec9bb2acfb33d9afb9a9350de1c549cae37589f0f4755 SHA512 ce0adae3031e902dcacedddf799667a71ae3bfd5186bc435e30f266e2ce850f51e73f0ddc3d4ab2c62a3b485a55623ec00c4a57c98524d1681a1d4b4c9c2dee6
|
||||
DIST genpatches-6.6-52.extras.tar.xz 4060 BLAKE2B ba934440bce51a7d2497cefd4f98bc48bb4e1005e038bfce6d8a13660ffb9f3e3d21fb260293b5717722811c600eede8e4a1c5f2261d42da7178005ea95ec9fb SHA512 74fb01d8e49647b1f1ce134958218ec47eaf7983c55c01724a266ab29813c5878bf98701ba4af80ed1a6349d6799e7c1ed64ebe7a47584d79b38f66f91a9ce97
|
||||
DIST genpatches-6.6-53.base.tar.xz 2894996 BLAKE2B 68c68a4f3ef4ad60204cd06f86a3cb54810427d93ffa55d7cf08265f759cc9d789ade864b19964cb5c5ed0cb48cd8fc309590741bf9a02f97e226a7bff8b80ff SHA512 c328a28a3954b993a82024cda27720ac6667ba48224bd40f08e3d9a197173bdfecaa686fdde2cd96353b7fd38137091eeb6d9889849971d21b21ae91eeb6069f
|
||||
DIST genpatches-6.6-53.extras.tar.xz 4056 BLAKE2B fcc3c11e40145badde05428b03da9323a440357525d6f0f08112dfa6c2c4f170ddbb121f6d38503923eac0c1841ce697d0cca0654784b39b048a40303e8a11ba SHA512 8fe3053597ff48c9f4669faabcb9165e1f64454c2f5993a80a04ad124eb113361369cd2607ee40bdbfc0dcced95ff57381beca9b0ff7982d14dccbf3048144a9
|
||||
DIST genpatches-6.9-13.base.tar.xz 688596 BLAKE2B 4d999aac191dbde56dbb6feae3d328d2e33f4731b7f9f6853bcd7e7f47e73dcb182e64b41c05e3035fade78ad02157a4fadc7e2e7e0d6a0a4bba5ff49b071adb SHA512 d9347755a75a5c34dee79cbf3eb012f7c3b669510c9fe1d87035ac36073139e9e22ca55cedf2bbda5cd493026637d266ea227473c9a3c6f402c0f0c41b9e3579
|
||||
DIST genpatches-6.9-13.extras.tar.xz 4060 BLAKE2B 001215e8ff494a0daf42306c4f2301e477c4135a8817b4b0c2abe7bf6894c570e7bfcf8454d1db1703a52ab77b5d54dd6fcdcef72fc1a3e9730f238996830dd5 SHA512 9cbaa56e9d2dc20915d6831f73903ecefbc1361e56d27cf71df36db87b648643cb974cdea1ab96426a6eeec710259755fb58ec285425c6b7ba44f2a42bb5549e
|
||||
DIST gentoo-kernel-config-g13.tar.gz 5759 BLAKE2B 831f89078e539c8b4ce244528dfd847c12a45b52d540eb10d85ec0d9deb1c14288d8de12456865c92d16e3523ec3595676787a8f3b79545d76870b0fb68deb5d SHA512 2a7230cce57a67e3333f9a88a311afe4a928e27ce76036747451cb77d3186569ad11d7a5b827748ad53290a17ad63637a8362ca896516f85ff0944a8d68265a6
|
||||
@ -20,8 +24,10 @@ DIST patch-6.10.2-xanmod1.xz 143344 BLAKE2B 90ccd2dfeb80d188c853f065412e2ec9b657
|
||||
DIST patch-6.10.3-xanmod1.xz 377416 BLAKE2B 2913211e39e5508747c2cd1ef110b353561897b88f0b5dcbc86bbbc6286775baab3268272448d1d9011da989e0149617b416c48f675d6c8dd51a3e5e38318e4f SHA512 00895fed74599a1e32ac774bf1df3b2da26a8f3ed36c8d9eb26ef49c6e6490198e371d8d4fb4be591a9884f7e98392c111599cf3d064a083e9f67bc9611ec46e
|
||||
DIST patch-6.10.4-xanmod1.xz 427644 BLAKE2B c72b6210c01c91a137c49ca8b83d36c31648e305ff6e3d6f57e355870e9808353882cf103b03a0e2c11e6ad5b3f5ed556b070ab451d914148cbc86e5eed5fbc3 SHA512 bb6afcdad2649f2382c0a4dbfc47adc9a0c0094735b7912a663ee611900564c59e5b5bc38f8e99513418b55d12c61b27251480cfa4e65e97c8fa36da604d5be8
|
||||
DIST patch-6.10.4-xanmod2.xz 427556 BLAKE2B a5a18a8039628f8c7329fef928a8b8dddf3e817e087e81c7952291bf059f82c35921fe8f69910ec7102910aff8d4aaff97591654aa360b435db417592911eb06 SHA512 40788ecee134edd7cea54c741d4f427cb3630f82dead516b6f2b4311b306d7f4c8cfe78e6aef2f548e43b42e289cafad981604364c859ec01773ccf861879774
|
||||
DIST patch-6.10.5-xanmod1.xz 505520 BLAKE2B 65ff24b174926a0754f836fd723bb513338b21715f9fa373c100bd1139302f88a50591b2ce8afb0488a0539aa9b5e2d72fb2bbbbf994d17a7e47476785ac44d3 SHA512 5f0a1a5a3eb56428c628c036e8a46c0aed8ff6367b847be5490dc624a6b314552b32ddf1fb2056015af14261eaed498bc2b0d099ac729281bb609e2a463cbf54
|
||||
DIST patch-6.6.43-xanmod1.xz 2565432 BLAKE2B 912185fd5f37f7b30b941f71098da9b6b89c915404892327c656fc01b53da33fb50e0d57fbe4c4be47e2e686f8e3fa5a3c5e832a12a7a77316a6af64a8cffa12 SHA512 bc5a4058d0d21e18d022710b2e5ebf200aed91ba33c69c36252cfdfe89661b8c03bcd84f9d9c67d90c73c69428be317d70554a5ce43784ee4d09a8ec9f6028ee
|
||||
DIST patch-6.6.44-xanmod1.xz 2692656 BLAKE2B b68eb4b3aa6642c80963eede847dce9c91fab972f7f694e5a9ee12670b234dd83a00858561f0594e848088b56703a28f14090489d19fecee6185bdeaa1d74711 SHA512 62ba9a12495575989d152157c411a6fdbb4a656d99396ddd85cefb498782f2256d4420da50a526b8bc5c1f0b18efa4e0d5df4f9b453240238408336222b1a214
|
||||
DIST patch-6.6.45-xanmod1.xz 2721424 BLAKE2B 97ffd63c0e45b0a3e258262c736a00389e470d04e03954134a550da5b46b09e46087cb416cd661053fe0e21bbcb74cd3fbec20518e16c0d98d35d2ebf517a69c SHA512 4402862bbead0fb72563cdcbd20be259a397e31c5e62f430927b6ba9bde6bda623029a0bcf3a31cec1c79f7b98c974207548b30dbb1f7c753de78b1e697e3bd8
|
||||
DIST patch-6.6.45-xanmod2.xz 2721176 BLAKE2B 35d0d31c430feeb39f8e59485757b63e980b48a27951d99cca01988eae4670ec2b7ff4c547a6b6fb150915228754b1c53c7e4d637afa4f67d61b0fe1cafa9070 SHA512 98f53b2d6a1b61de64b644016c69d362fad318c46e5ecb4f4917e73c58f970f710ee83c713aa36f895b7212b2ebc62b8e9b32ba2a7b4f7e2e8356b211522957b
|
||||
DIST patch-6.6.46-xanmod1.xz 2756124 BLAKE2B 3329277a41b7cc55c6104f3ba22a2ffad37f3ff4443124f53ea00950ee562fb8cbb319921f0a586080147e60d18988101663bba5826d4b5dafd7a840354fb81d SHA512 c343694468dfafffdf50d480b05eda7fe6833dab532801aab31e3ad314a7b610de460869aa7a0cc083ce89d925a50eb0176fc676b58822733f2b4cee5ebbd47b
|
||||
DIST patch-6.9.12-xanmod1.xz 804592 BLAKE2B adb8fa52b9adc6d46c21b7854a1fe69e4702a2262c1f5eb88dcb1854252b24c5dd52431351494f4f841c8dfc0cf9f09633a7138b1f3369281e496b217c4618b9 SHA512 d2b344e056ac0fa582866dd8ee8a3adc98baf90c36fb1a80dbde9371b4ff2f261c28e1f6ea01ce84a5b4e26ec286ca4ec939f3b5655081307bbed6eb783b70b2
|
||||
|
88
sys-kernel/xanmod-kernel/xanmod-kernel-6.10.5.ebuild
Normal file
88
sys-kernel/xanmod-kernel/xanmod-kernel-6.10.5.ebuild
Normal file
@ -0,0 +1,88 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_GENERIC_UKI=1
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
|
||||
inherit kernel-build
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 ))
|
||||
GENTOO_CONFIG_VER=g13
|
||||
|
||||
XANMOD_VERSION="1"
|
||||
|
||||
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
|
||||
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
|
||||
SRC_URI="
|
||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
|
||||
https://downloads.sourceforge.net/xanmod/patch-${PV}-xanmod${XANMOD_VERSION}.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/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
|
||||
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="-* ~amd64"
|
||||
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
!sys-kernel/xanmod-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() {
|
||||
# Remove linux-stable patches (see 0000_README)
|
||||
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
|
||||
|
||||
local PATCHES=(
|
||||
# meh, genpatches have no directory
|
||||
"${WORKDIR}"/patch-${PV}-xanmod${XANMOD_VERSION}
|
||||
"${WORKDIR}"/*.patch
|
||||
)
|
||||
default
|
||||
|
||||
# prepare the default config
|
||||
case ${ARCH} in
|
||||
amd64)
|
||||
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v2" .config || die
|
||||
;;
|
||||
*)
|
||||
die "Unsupported arch ${ARCH}"
|
||||
;;
|
||||
esac
|
||||
|
||||
rm "${S}/localversion" || die
|
||||
local myversion="-xanmod${XANMOD_VERSION}-dist"
|
||||
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
|
||||
"${FILESDIR}"/x86-64-v1.config # keep v1 for simplicity, distribution kernels support user modification.
|
||||
)
|
||||
use debug || merge_configs+=(
|
||||
"${dist_conf_path}"/no-debug.config
|
||||
"${FILESDIR}"/no-debug-extra.config
|
||||
)
|
||||
|
||||
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
87
sys-kernel/xanmod-kernel/xanmod-kernel-6.6.46.ebuild
Normal file
87
sys-kernel/xanmod-kernel/xanmod-kernel-6.6.46.ebuild
Normal file
@ -0,0 +1,87 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_GENERIC_UKI=1
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
|
||||
inherit kernel-build
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 ))
|
||||
GENTOO_CONFIG_VER=g13
|
||||
|
||||
XANMOD_VERSION="1"
|
||||
|
||||
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
|
||||
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
|
||||
SRC_URI="
|
||||
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
|
||||
https://downloads.sourceforge.net/xanmod/patch-${PV}-xanmod${XANMOD_VERSION}.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/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
|
||||
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="-* ~amd64"
|
||||
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
!sys-kernel/xanmod-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() {
|
||||
# Remove linux-stable patches (see 0000_README)
|
||||
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
|
||||
|
||||
local PATCHES=(
|
||||
# meh, genpatches have no directory
|
||||
"${WORKDIR}"/patch-${PV}-xanmod${XANMOD_VERSION}
|
||||
"${WORKDIR}"/*.patch
|
||||
)
|
||||
default
|
||||
|
||||
# prepare the default config
|
||||
case ${ARCH} in
|
||||
amd64)
|
||||
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
|
||||
;;
|
||||
*)
|
||||
die "Unsupported arch ${ARCH}"
|
||||
;;
|
||||
esac
|
||||
|
||||
rm "${S}/localversion" || die
|
||||
local myversion="-xanmod${XANMOD_VERSION}-dist"
|
||||
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
|
||||
"${FILESDIR}"/no-debug-extra.config
|
||||
)
|
||||
|
||||
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user