aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-10 16:00:34 +0100
committerMike Frysinger <vapier@gmail.com>2023-05-10 21:39:25 -0400
commitedf5f830e3623f80af2bfd2f9e4fd3df7b8d4414 (patch)
tree5eeeeea7962b0cb03cd1361d115d92c86ccd2532
parent863e1a5c87056bf5b0c4ce6a02ecb818b0b2ba13 (diff)
librc: allow overriding rc_interactive on kernel command line
This was originally introduced in 14625346c07a2a66fe77ce578c9423918bec1d97 with an example list (just one for rc_parallel) of options. Let's add in rc_interactive as it's a pretty obvious thing one might want to override. See https://forums.gentoo.org/viewtopic-p-8694588.html.
-rw-r--r--src/librc/librc-misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librc/librc-misc.c b/src/librc/librc-misc.c
index 7a090fd2..ce658f5c 100644
--- a/src/librc/librc-misc.c
+++ b/src/librc/librc-misc.c
@@ -287,6 +287,7 @@ static RC_STRINGLIST *rc_config_kcl(RC_STRINGLIST *config)
overrides = rc_stringlist_new();
/* A list of variables which may be overridden on the kernel command line */
+ rc_stringlist_add(overrides, "rc_interactive");
rc_stringlist_add(overrides, "rc_parallel");
TAILQ_FOREACH(override, overrides, entries) {