diff options
author | Nick Rosbrook <enr0n@ubuntu.com> | 2023-12-07 22:21:51 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-12-08 02:57:23 +0100 |
commit | cd3207491d2a6ea633562925f46e88ad9cfb8aa5 (patch) | |
tree | 3d9ae9ea92d369d18453513e4e292cdaf26db3e5 /src/firstboot/firstboot.c | |
parent | test: avoid NO_CAST.INTEGER_OVERFLOW in test-oomd-util (#30365) (diff) | |
download | systemd-cd3207491d2a6ea633562925f46e88ad9cfb8aa5.tar.xz systemd-cd3207491d2a6ea633562925f46e88ad9cfb8aa5.zip |
firstboot: remove /etc/localtime on --reset
The --reset option is supposed to remove all files configured by
firstboot, but currently it does not remove /etc/localtime.
Diffstat (limited to '')
-rw-r--r-- | src/firstboot/firstboot.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c index f77a5f6266..17d344e980 100644 --- a/src/firstboot/firstboot.c +++ b/src/firstboot/firstboot.c @@ -1208,7 +1208,8 @@ static int process_reset(int rfd) { "/etc/vconsole.conf", "/etc/hostname", "/etc/machine-id", - "/etc/kernel/cmdline") { + "/etc/kernel/cmdline", + "/etc/localtime") { r = reset_one(rfd, p); if (r < 0) return r; |