locale,firstboot: add headers to vconsole.conf

Closes #29717.
Replaces #29760.

Co-authored-by: cunshunxia <cunshunxia@tencent.com>
This commit is contained in:
Yu Watanabe
2023-10-31 17:15:21 +09:00
co-authored by cunshunxia
parent f155cb6d75
commit 0e7a7cd4e9
6 changed files with 28 additions and 2 deletions
+1 -1
View File
@@ -534,7 +534,7 @@ static int process_keymap(int rfd) {
keymap = STRV_MAKE(strjoina("KEYMAP=", arg_keymap));
r = write_env_file(pfd, f, NULL, keymap);
r = write_vconsole_conf(pfd, f, keymap);
if (r < 0)
return log_error_errno(r, "Failed to write /etc/vconsole.conf: %m");