sys-kernel/rt-sources: Fix setting of preemption model
authorKurt Kanzenbach <kurt@kmk-computers.de>
Fri, 1 May 2020 10:47:15 +0000 (12:47 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sun, 10 May 2020 09:12:28 +0000 (11:12 +0200)
The sed command tries to setup preempt rt as preemption default model. However,
that option has been renamed as part of getting rt upstream. So rename the
option accordingly

 PREEMPT_RT_FULL -> PREEMPT_RT

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/15593
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
sys-kernel/rt-sources/rt-sources-5.4.13_p7.ebuild

index 81de151240998ca2119a74ff2496d4544a280695..a641de8f285093d0593c767127acb530d4034934 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -36,7 +36,7 @@ src_prepare() {
 
        # 627796
        sed \
-               "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
+               "s/default PREEMPT_NONE/default PREEMPT_RT/g" \
                -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
 }