locale,firstboot: add headers to vconsole.conf
Closes #29717. Replaces #29760. Co-authored-by: cunshunxia <cunshunxia@tencent.com>
This commit is contained in:
co-authored by
cunshunxia
parent
f155cb6d75
commit
0e7a7cd4e9
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user