1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

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.
This commit is contained in:
Nick Rosbrook 2023-12-07 16:21:51 -05:00 committed by Yu Watanabe
parent a6f1551fe7
commit cd3207491d

View File

@ -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;