diff --git a/sys-kernel/xanmod-rt-sources/Manifest b/sys-kernel/xanmod-rt-sources/Manifest index b937415..73a27d0 100644 --- a/sys-kernel/xanmod-rt-sources/Manifest +++ b/sys-kernel/xanmod-rt-sources/Manifest @@ -4,7 +4,10 @@ DIST genpatches-6.6-59.base.tar.xz 3174716 BLAKE2B 8eded8d4d4c343869f587ecc2a218 DIST genpatches-6.6-59.extras.tar.xz 4056 BLAKE2B 8d68a426082bcb168f74abb849a7a58090268c9cf098aa8982d9e700fab754a6f42dd833c1ee5d44d52f58d1a6b3da018a954d873ba131a2049a286a39ca3099 SHA512 ee133a7efaeba2abe242482825f4490e1c1b17fca64f9183713dca601fc64048288aa79125f7b8c0715f6c4fb158ea3a230e76b39b63d1a59dbecf80697ac000 DIST genpatches-6.6-65.base.tar.xz 3582916 BLAKE2B 3d750c677e61c122144de989a55db6f04a2a545981858b71c602c156f802478ad19f4d87629760be724a9b522b377479df9f0c5f9a859235c5fc438df95c2aae SHA512 1ac5e7fb36e50227a6bdf035562f11401ef6a19c1a7af2d001d224b8710e3aa10434d828a3a0213a1f5cce101992bb803199e5d4e76474b657dc5c4d6328c385 DIST genpatches-6.6-65.extras.tar.xz 4060 BLAKE2B 53cdbf5d680c9943d189e7606caa10c18bd3317789ffc1f120bf535255d80bfb5e3969fe952eb0da3c1001ee41e93755616332363465d4714a67a90140c43bfb SHA512 b5b3c817426be391a72633740beb4ba7b4e2546ee441081906d77ba31636321501af414140d487d284de325f80d004aefb241f3e349ef3ccd62d2c6fc4d7cf7e +DIST genpatches-6.6-71.base.tar.xz 3745848 BLAKE2B ab33221175b500bce645d302fb32095aa15a536ba475b866c41087d963e57a713579ddde608d93a5f2ea823e7126850599b49522c8c7112cf9435fd85897805f SHA512 eecd342f586e1b594009f91fa1ac12399d90a164dbdbdb454414eeca9bd47ce04a78e0ceee28f889324ccc505112f6a3bb4cc093f88ed10a4c521869769f4e07 +DIST genpatches-6.6-71.extras.tar.xz 4056 BLAKE2B def4ae87c4a1b9221a7f8a38cc1b5e66867f599dba38f57b2641690a80ece90851fe9e4484d85894c5d41500d736fc5564c30669becd582898db2b8d3da3dff4 SHA512 66225121d986d43ef542899b32845867f22a9165c2a6ea7d891f6d8d35bc9dd6f6a0aee82e945a1566cb4c523b9b821175921e436f7217c16acaa9a1685bc307 DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 DIST patch-6.6.50-rt42-xanmod1.xz 2982744 BLAKE2B c6ef49df43c5ab3f456d8f41a9429db5079f304e21ed87f034b3d0f36ceba073f64cd92d2fa728fbb0940a73ae1d6137e8ae25f840329250bb73b72d1d161c2b SHA512 7b6e3008077dc038f9bf46bf0c69c09eb65516ca74d40814fb8607298cf3eaf9bc5e898b87de0972ef72a9aea3c25f456462c6ab1b92b4111cb9ffa22fecf463 DIST patch-6.6.52-rt43-xanmod1.xz 3060252 BLAKE2B e273ca945b3745e7e0390e180258ac9d68ac67aa3786cc13c5821e1512508f617ff3685f5fa7f660475a0c85638470f0196738c6d9d9b1504878f03025a7cf49 SHA512 4f0b6e777a2df72594093505c1cb3a8ddff2bab415c6b3f15c75ecc3176045dc8997e00b868f26236dc710876bb760fb767d5d96f8fbd04cbbd1bc6083b384c3 DIST patch-6.6.58-rt45-xanmod1.xz 3383148 BLAKE2B aa6865400a823088a9eed0e0df81fb01d7d8e221c816151bf2ef9df016d3adca96006c01cf91d2f10f527dca231147f7baeae8c6cd6aefc328dfefcea19e27df SHA512 3d30265f97c250a34c3e2fc2b5752b6774d7a4f57dbad0edcc4bb13c96c4f22326470ff467012798c0a3c2a6664e179165a1296da12c59b1bf3f99c42dc677b3 +DIST patch-6.6.63-rt46-xanmod1.xz 3514000 BLAKE2B 991ce27deddb6aac99a543192f6787d9517baabef199d2ba7b61d9a409c2108ca5d41ea3d6df6303a8a3210cbbca86009c1263c343e8e1f686342a7e19ef13e7 SHA512 e6ed409c03eb00b5976bf7d4ffc0472ff731e0c0846a3d22628d7a45e5b233ecff1ca1ffc27cd9a551a9038ac60b860c97a645117935eb0d7bf428023ae6f2a2 diff --git a/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.6.63.ebuild b/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.6.63.ebuild new file mode 100644 index 0000000..2a1c186 --- /dev/null +++ b/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.6.63.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +XANMOD_VERSION=1 +RT_PATCHSET="46" + +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="71" + +ETYPE="sources" +K_SECURITY_UNSUPPORTED="1" +K_NOSETEXTRAVERSION="1" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="Full XanMod sources with CONFIG_PREEMPT_RT and including the Gentoo patchset" +HOMEPAGE="https://xanmod.org" +SRC_URI=" + ${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz + https://downloads.sourceforge.net/xanmod/patch-${OKV}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}.xz + ${GENPATCHES_URI} +" +LICENSE+=" CDDL" + +KEYWORDS="~amd64" + +src_unpack() { + UNIPATCH_STRICTORDER=1 + UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${OKV}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}.xz " + UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1*_linux-${KV_MAJOR}.${KV_MINOR}.*.patch" + kernel-2_src_unpack +} + +src_prepare() { + default + + # 627796 + sed \ + "s/default PREEMPT_NONE/default PREEMPT_RT/g" \ + -i "${S}/kernel/Kconfig.preempt" || die "sed failed" +} + +pkg_postinst() { + elog "MICROCODES" + elog "Use xanmod-sources with microcodes" + elog "Read https://wiki.gentoo.org/wiki/Intel_microcode" +}