]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sysinstall: prefill firmware variable question with 'yes'
authorLennart Poettering <lennart@amutable.com>
Tue, 19 May 2026 13:08:46 +0000 (15:08 +0200)
committerLennart Poettering <lennart@amutable.com>
Wed, 20 May 2026 14:38:18 +0000 (16:38 +0200)
src/sysinstall/sysinstall.c

index 23f4472e1c0a4d969ae89c3251e1ea902c0b4813..0092f3f9c8c9220b2ede35738d74606eeddc8400 100644 (file)
@@ -580,7 +580,7 @@ static int prompt_touch_variables(void) {
         _cleanup_free_ char *reply = NULL;
         r = prompt_loop("Type 'yes' to register OS installation in firmware variables of the local system, 'no' otherwise",
                         GLYPH_ROCKET,
-                        /* prefill= */ NULL,
+                        /* prefill= */ "yes",
                         /* menu= */ l,
                         /* accepted= */ l,
                         /* ellipsize_percentage= */ 20,