]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: treat "uninitialized" in /etc/machine-id as first boot as well
authorHarald Seiler <hws@denx.de>
Sun, 6 Sep 2020 19:23:35 +0000 (21:23 +0200)
committerHarald Seiler <hws@denx.de>
Mon, 19 Oct 2020 10:33:39 +0000 (12:33 +0200)
commit583cef3b7347c4e6ca269d38efef6d2e4314aba6
tree6a8a090412c52fc8f53e590a2d25d0341c95adad
parent7139e9d9a3857724a857615a4bd80f857685eb97
core: treat "uninitialized" in /etc/machine-id as first boot as well

When /etc/machine-id contains the string "uninitialized" instead of
a valid machine-id, treat this like the file was missing and mark this
boot as the first (-> units with ConditionFirstBoot=yes will run).
src/core/main.c