sys-kernel/xanmod-kernel: add 6.1.60, 6.5.9
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
1586f88296
commit
2ccbef2ef6
@ -2,8 +2,12 @@ DIST genpatches-6.1-64.base.tar.xz 3729008 BLAKE2B 10f4366a8fe83ca0609c0e2654e6c
|
||||
DIST genpatches-6.1-64.extras.tar.xz 3816 BLAKE2B 315826af9d3e7abbef0314f962e2df50f9d183555ec5fb956fa7c9820435042e3c3a72a5ad766a3441543c54986ffbfdae8ff0a4deecb2a72851237108eaee71 SHA512 5a384aa4f6aff1a3410090873f9321ca1c6bcdb48dfefeaf7c2746b950ad22c7a745c60389ec49b99a249cb62c91d517389d5d91c844509dce5cd45a67b47edb
|
||||
DIST genpatches-6.1-66.base.tar.xz 3766288 BLAKE2B 3cf0a62fbfcd492e5c16b4158bcf7dfaecf7cc8df376e308ad606d8203022e04a0375a2c9a4fe58bf37bafbfd4a1ccacbb8939fc166590089884ba9989929430 SHA512 69418fe7fe88958d95bdcfb142e6350363180ede26cc44e035a0fdba12d2a8cc542a0ed7789572677eba29f9905af8720c8ddfa13e8257b129bfa95641e72f50
|
||||
DIST genpatches-6.1-66.extras.tar.xz 3816 BLAKE2B 8b2f2aa2f65d427c4ec39cdb988200d31d360f2ffde6f633838b0c3437c4efe8438e01ccd8e2de57d7f164c32d509e35a8be1ac4818841a7719a3cdce9e47717 SHA512 7f40e6153812cfe74de8ce376d4ae02868b6f246027cbce67e0714a139e60b4aa32743876c180f3b7b07e9b6fd07d2138e21ff5e6ced9571d29bf3e647b615c4
|
||||
DIST genpatches-6.1-67.base.tar.xz 3816044 BLAKE2B 9116263f1f3cbb472ad09ad785eb643cc4deb16f94936196c1dbb3d500b6e20447d07d434f4fbc59fe8cfc03076da0aa0ec22a3c6d93e09d0dfed6d6fdfe7add SHA512 609935fec85285a34e4fa6032f552230aeb7aed1caa867d34810a25f68c2295e0a8f886e0a093f111b1623ba364cfd6e17b237d670d42c8c539778810a02f681
|
||||
DIST genpatches-6.1-67.extras.tar.xz 3816 BLAKE2B 6aa8e9614221c2b9d84df9f75e5b8eb530ae8752b406ad698be86a8031b47940f9efb1de9bedfa0e466d0bad32dae60c5c639815785353a49e4b439de79a80ef SHA512 a911476dcfa9767f4adb946bcdcbe475e78f83753a7880a7e3a96aed347f1ec520ba8d75fe4e5565b2aded25965cecd3c7f79fa12009af043f7408200e27189a
|
||||
DIST genpatches-6.5-10.base.tar.xz 631564 BLAKE2B 7a9fe483c7a6a040af5a1fc0fd99dd7d575a380240268bb61d68caf95613d53fac46edf6cb18633b6dd2e803c9360d3cc13f0160e6ccaf811ac8420f7dd30771 SHA512 506abb2a66c51e45ad3ebab0c3b921faaa890640c7236eed377aeb27dff9da552088ea8d8192b4f2e142c510c7d565a5c8431444fb39bd82948ec0e696c4b083
|
||||
DIST genpatches-6.5-10.extras.tar.xz 3704 BLAKE2B 4bfee3cf5f3af32c02f4df2b91437258a4bed38c4cd1fc8f8467020ffe1835ec86dee58a10d2e1775fdd6392c6a28552ea3a90ff5fd36504ed43cb7787ea7e5e SHA512 48589be11fcc969fd3f46475f8aa53047f191c5fec66918e84d178e14f531c209300808f7c2ddb479fb8409a344f205f59b72dd18b6d79d1ca924eab10f81f85
|
||||
DIST genpatches-6.5-11.base.tar.xz 690272 BLAKE2B b647ad0ef234e1470b72e4cefc091b48bc81b0591fa41d3741d25360d6c92d6b47cafe35a06c5246806072d11ec4839f76bca382f8cf38d0e76ddde9f4fa3bb0 SHA512 53da072920619acf21afa89f3df7b24c27c1798a1244aef3f21f76bcdcb38ad1ad79d07e3aba62b44773af57162c89bb77eb4c19b7056e0806926ec5951d149f
|
||||
DIST genpatches-6.5-11.extras.tar.xz 3704 BLAKE2B 21929f8a381175f9c33ac9df5f17388eb2f99adb00fac7783c612a2712db1d4b2f179b2fa6ac548b77a1d0e4c9c9d88e32cb393531c7e6ca680f9c98a037927a SHA512 f3643139bd6b2b324c477998b69418b80e40ae675dbef9bb34e26f138a10244ffcaf551de7c49623b8aa797ed7b9ba82e680a62b7996ed1bd1f8002b29b09cb4
|
||||
DIST genpatches-6.5-9.base.tar.xz 574412 BLAKE2B 339dc1d19a323c2143fdd394b324e8d73b6e21b833e48096b6ae312b188bd9f39811fcd7b93f900c6ceb6982eb6ca108b2ec617b8dc98fe2ec255ec3b002e31a SHA512 42873d29784c0d85434d7eee81ef2000a42164e20ef74c875b81ed8df96ec3632261485c38e17ffa41d94df200b69d8d0e663eb8c90ea741234e860aad9026e3
|
||||
DIST genpatches-6.5-9.extras.tar.xz 3704 BLAKE2B f45e43b281c9ad49870e72a7d4e3790f316076f438a5b45fbc53bf3fc29173675fae1e1b8ec170aa7609e0a87e79afbe033ffe7ee64d1ebdf2c1200fcdcbebca SHA512 888a87e165c64ee71b04b6f103666b4f699f790aadb58314253f63e82b0c245646f29fc3f139da2eb6a08db7c8f40c5239a359e81e3d7ff2b0d60b219f8756a8
|
||||
DIST gentoo-kernel-config-g9.tar.gz 4981 BLAKE2B 1881cb550ea9e274cb5bcc3bff5b1aa6f28bc218a09825c5ab3ba2bff4ee1826398c9fbecc513b6dd20d195fd5cf26e1e7c631bf66100ab1887705a8e04fc79d SHA512 9dc2f30a33aa19fed3006e93330210c9db613febd842467e40d51c47eccac1dbdcb5a7037e9174e92c29e2a85a52ef2c31bbe2a8cccc7a22320b3dccb8aab17a
|
||||
@ -11,5 +15,7 @@ DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b
|
||||
DIST linux-6.5.tar.xz 138898084 BLAKE2B 2e641b79a080e8f4ce283bcf6b74e2c6f15a374367f1c4c875c663868dbe801317340824fb3adb46b3a51d3b7e1f67cc4e8144d367621ec43ffba5c4eb8abb39 SHA512 1b59dc5e65d4922c3217a8c8f19022dfd6595ae89747861d825bfeb51a4ae6c85449d05db69635a712bef7b355b80318195665582d8933b1fed6ba582f6ff257
|
||||
DIST patch-6.1.57-xanmod1.xz 2900160 BLAKE2B 85c6a7f67cba7d985d08b41093229f4982deb88fe9701f6065bd46c2372b2a39cf0686aab772986c76adbaaa511df257f16c25ce930f9ea2b3a3e65e89223e4c SHA512 753810974167a1304d761b09d1e3b05cc7109c867a19ffbbac79058e4910a06cd95c9d1179d36d09e8a3f156ecedf667e880808e75d68e0f0bf2e964739a9f0a
|
||||
DIST patch-6.1.59-xanmod1.xz 2923508 BLAKE2B 9626b11ba7e3d60eadb1e55e75eaabfd1f04c998fbe698ccfc699c3623f2ce8cb2ecc5156b9bf8c0e7749f4df0c8a37c0e0b2229c6e9f0a5b00dfe975ed2679e SHA512 c3a14ba0f903da4b5156705820079c944532cdaba96f36d46f1a20a76a9e164780967ba26b70311f7161c774bdcd34f8bd92b82b9d675b9277aae9bf7a126220
|
||||
DIST patch-6.1.60-xanmod1.xz 2961812 BLAKE2B 282aa34b5371cda327759af7b99c1b51ed0a5a680c429fa6a94baecac82546d06a3dd6e7d931c642af0ab38c3b1fbe34cd69663fa63d1a7c66863463589c12f0 SHA512 6b90f8a42e64ca21363ef287a96bc33cff94b83a2ea84c80caad3cd2c1789cb98dc9481ffa10db7d6e3b6a6a07ace477917e11c710380656147e3d9ac898a9f6
|
||||
DIST patch-6.5.7-xanmod1.xz 690892 BLAKE2B 82d20fd5ac10a439c2624175efa48f8513146ca8b21fc11c3c77d1263b4ece101577e248cfe8a28bc4f81336460c5b51a17e04703282e5cca9399ddae64d332f SHA512 bd75d776cad10a911220ab2f5ebc0c24a5233e80e4a840286ac902a1aa4dc76029155400f4c1070fcedbbd67124fdaa7568c59fe4d4699e097e23c6fdcfed5e3
|
||||
DIST patch-6.5.8-xanmod1.xz 743580 BLAKE2B 08ffd621c883647fc7870564f3f53f19d481fa881191fb701bbecc067b10126a1c82ed052591911ceb15dd088811cc49a75ca49fd636fe91f516eb92a714fd24 SHA512 a5b5d180b838f5a820d89f142cda3bfff143afade1276483502520333c26ed29511435a3ce62b7f545daf371531bccbfd0d55a59b84bc9101832a13af61bc665
|
||||
DIST patch-6.5.9-xanmod1.xz 797080 BLAKE2B 8a403ef336993539d804bedc2b9799b249df6fa0d3fb9edd9693322e45ce1d047c3078748160572c5e0406c7ac29f1a4000faf648027285807cc3d52ed7d6d4c SHA512 c1380187b277b722e23f06c3ca8e45e895c850dd81cd798ae8a021d16949aa1a41dd4bcf6d22eb6068190a0f55cd99b4d535cb19a2a1ee56f4aed9761dcece9c
|
||||
|
79
sys-kernel/xanmod-kernel/xanmod-kernel-6.1.60.ebuild
Normal file
79
sys-kernel/xanmod-kernel/xanmod-kernel-6.1.60.ebuild
Normal file
@ -0,0 +1,79 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit kernel-build
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 ))
|
||||
GENTOO_CONFIG_VER=g9
|
||||
|
||||
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
|
||||
mirror://sourceforge/xanmod/patch-${PV}-xanmod1.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}-xanmod1
|
||||
"${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="-xanmod1-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
|
||||
)
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
79
sys-kernel/xanmod-kernel/xanmod-kernel-6.5.9.ebuild
Normal file
79
sys-kernel/xanmod-kernel/xanmod-kernel-6.5.9.ebuild
Normal file
@ -0,0 +1,79 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit kernel-build
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 ))
|
||||
GENTOO_CONFIG_VER=g9
|
||||
|
||||
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
|
||||
mirror://sourceforge/xanmod/patch-${PV}-xanmod1.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}-xanmod1
|
||||
"${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="-xanmod1-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
|
||||
)
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
22
virtual/dist-kernel/dist-kernel-6.1.60.ebuild
Normal file
22
virtual/dist-kernel/dist-kernel-6.1.60.ebuild
Normal file
@ -0,0 +1,22 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Virtual to depend on any Distribution Kernel"
|
||||
HOMEPAGE=""
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
~sys-kernel/gentoo-kernel-${PV}
|
||||
~sys-kernel/gentoo-kernel-bin-${PV}
|
||||
~sys-kernel/vanilla-kernel-${PV}
|
||||
sys-kernel/xanmod-kernel:${PV}
|
||||
sys-kernel/xanmod-kernel-bin:${PV}
|
||||
sys-kernel/xanmod-rt-kernel:${PV}
|
||||
)"
|
21
virtual/dist-kernel/dist-kernel-6.5.9.ebuild
Normal file
21
virtual/dist-kernel/dist-kernel-6.5.9.ebuild
Normal file
@ -0,0 +1,21 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Virtual to depend on any Distribution Kernel"
|
||||
HOMEPAGE=""
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
~sys-kernel/gentoo-kernel-${PV}
|
||||
~sys-kernel/gentoo-kernel-bin-${PV}
|
||||
~sys-kernel/vanilla-kernel-${PV}
|
||||
sys-kernel/xanmod-kernel:${PV}
|
||||
sys-kernel/xanmod-kernel-bin:${PV}
|
||||
)"
|
Loading…
Reference in New Issue
Block a user