DIST patch-4.9.215.xz 3367656 BLAKE2B 7316b3989606f079693beed84f999ec03f83082f8099b3535e622a3324e640722b6f694fc4ec906fe0f1643d5139241ae91424ab97cb7d855263e9b3df8c01b4 SHA512 60a2e0369cd8eede4f7d284afc101950ae1f5ab8e015736c8eb9384a25e844a271b305f96702c3cf07184edf7cb9a4b576fc4aa3f962ab5fd8013aaa0218f69d
DIST patch-4.9.220-rt143.patch.xz 175820 BLAKE2B 7e17aeafab5c5339ade88dc8dd190a9b8827535da9539c7d4512e55055b7842c0681df743c66c619faa749ff581a1b35250efafed8008e0f63859949c52e2bb4 SHA512 9630ad985e6e408221e0a21188d78b85f85477c852689df0ac6017b4b200d7aeff5afa42fc761a095216184d60c149bb9afddf2d7f7977f8e01250009722b174
DIST patch-4.9.220.xz 3433216 BLAKE2B 6b6c1affbed06f94c2cbb290fd12e884033697cb233f7729f380014e5c6a724b54e26efbb8791279a307aeaeefddf8b38d1e70280ce96e26dffacef79987c095 SHA512 e1165dff5d95c0811bbc7956f9fb7b4c4a6c6aadba4af2819fa076107eebc53221f1826e9bec5ddb12037b75fb579f51630fe3e9e80e2316a2c76d1e5902a688
+DIST patch-4.9.224-rt144.patch.xz 175820 BLAKE2B 66e601ebfa393644671c181c8131bdb09f48ce20c50b9ca8026661cfce263e325cefff6d3cc3bc9aa35bfeb0ba0a354f2e7fe2acc6e3dced3434f387981ca1d7 SHA512 104397378ede87f1c3cee0a08a4d9e75e3571c0b7d5872f602d10e9c47d9ff943e914e411980abcef585bf762b842ee4872e7d0629c2a5e473b6dcce453dbafe
+DIST patch-4.9.224.xz 3465868 BLAKE2B a13ab60afeba8ec9a4f797d67e505cf453b7590f617b695b416896e8eca85d083b2e718941fda882246acf7489c2f0f4f765139baedc7efd8382a5b311d52798 SHA512 df45c6c77e0d688cc5d101f98e8dc0a52383dc482d9f5d8a8970b6c7de355216cfdb62a796071ec47cef6559f1f00f839ea627c3dca36058254f3a5b335104e7
DIST patch-5.4.13-rt7.patch.xz 174408 BLAKE2B f16864ce308e365c18337cd2aea6655b90a985e98021f37c04bd85716e5aa473346992ce2b76fab3d6f2562c6328e2f92b7241f974bae6e86de4c28e65619ca4 SHA512 c8f339d0ec0be917cf12699d3700998acf7fbb2c420d8fcb758e20fd35b0766ce267af74e259b7dcdb624b3a878dca70fee39d98eb35813bdfc62a7b2a781fa5
DIST patch-5.4.13.xz 488380 BLAKE2B f4f707ec221bcd1fa2b68591cb8dabffd214b6dfcb0f6dc913a1e73fa2ccf5b49de5e50da483d36246aa14e8217ac1a692db18957d85ed70bd9b177f93130632 SHA512 e500486d372b242fb8fbffc780fb0a842012d699bb494c29a392befe0fd06e4858d89d995b71627e65eb93bf53af9f7bf37e8cbaa3d9356fc00356d81fbc893c
DIST patch-5.4.34-rt21.patch.xz 182396 BLAKE2B 5c9abc72cb4982dd14255ef222570b8dab3273e98e62aebe6378a4091d64bfa84f851377122be15d12b6f70edb591e7050d040f3c8d1aa869eca50c9da2c33e4 SHA512 b88977d43ab09108efec211a3e0024ac27d7cfe2cea6d32d5963d0698c11c4bce98312c056be0d6369cadf5aa99f1fcb33712d53cac66b3a42798a0e72dcf62f
--- /dev/null
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~arm64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+inherit eapi7-ver
+
+CKV="$(ver_cut 1-3)"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+RT_PATCHSET="${PV/*_p}"
+
+inherit kernel-2
+detect_version
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
+RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
+
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
+SRC_URI="${KERNEL_URI} ${RT_URI}"
+
+KV_FULL="${PVR/_p/-rt}"
+S="${WORKDIR}/linux-${KV_FULL}"
+
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
+UNIPATCH_STRICTORDER="yes"
+
+src_prepare() {
+ default
+
+ # 627796
+ sed \
+ "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
+ -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
+}
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ ewarn
+ ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
+ ewarn "If you need support, please contact the RT project developers directly."
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
+ ewarn "the ebuilds."
+ ewarn
+}
+
+K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
+${HOMEPAGE}."