]> git.ipfire.org Git - thirdparty/systemd.git/commit
machine-id-setup: sync before committing machine-id
authorHarald Seiler <hws@denx.de>
Sun, 6 Sep 2020 19:35:33 +0000 (21:35 +0200)
committerHarald Seiler <hws@denx.de>
Mon, 19 Oct 2020 14:28:22 +0000 (16:28 +0200)
commitc261a5d01469a3f5b6c448c066ea7ad6d14a5300
tree0c127218ac212eca53d6fbd7f5a77f7735ea7c31
parent3023f2fead7df9f219acf3c8595d974e31ad23cc
machine-id-setup: sync before committing machine-id

sync() before committing a transient machine-id to disk.  This will
ensure that any filesystem changes made by first-boot units will have
been persisted before the first boot is marked as completed.
src/core/machine-id-setup.c