]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/firstboot/firstboot.c
env-util: make write_env_file() optionally take headers
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 30 Oct 2023 06:04:18 +0000 (15:04 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 31 Oct 2023 08:15:21 +0000 (17:15 +0900)
commitf155cb6d75f1ee4eb5f4dd55243e3defc370ba5a
tree319cff37e8ab3723bb9f89184e12647bc16c8ad0
parent78101ca9cc4b02a168d5bccaa22ba7eef2cde61e
env-util: make write_env_file() optionally take headers

This also makes write_env_file() and write_env_file_label() optionally
take dir_fd, and drop write_env_file_at().

Preparation for later commits.
src/basic/env-file.c
src/basic/env-file.h
src/firstboot/firstboot.c
src/hostname/hostnamed.c
src/locale/localed-util.c
src/shared/env-file-label.c
src/shared/env-file-label.h
src/shared/locale-setup.c
src/test/test-env-file.c
src/test/test-fileio.c