<div dir="ltr">hi,<br><br>I am trying to understand why the systemd recipe creates an empty /etc/machine-id file:<br><br># Create machine-id                                                              <br># 20:12 &lt; mezcalero&gt; koen: you have three options: a) run systemd-machine-id-setup at install time, b) have / read-only and an empty file there (for stateless) and c) boot with / writable<br>touch ${D}${sysconfdir}/machine-id<br><br>Having an empty machine-id file seems to prevent the &quot;ConditionFirstBoot&quot; to be ever met, e.g. I have a service that tries to use it, and at first boot i am seeing in systemctl status:<br><br>ConditionFirstBoot=yes was not met<div><br></div><div>However I also notice that /etc/machine-id is properly set during the first boot (e.g. with a valid UID). I am not sure I understand our intent to create an empty file. If I remove the empty file before flashing the board, then my service which depends on ConditionFirstBoot is executed properly, and becasue the systemd recipe also enables &#39;firstboot&#39; by default (in PACKAGECONFIG) then systemd-firstboot service is kicked as well, and ask for hostname , TZ, .. (which isn&#39;t very convenient neither).</div><div><br></div><div>without understanding the entire history, I would tend to think that we need the following changes to the systemd recipe:</div><div><br></div><div>1. remove the empty /etc/machine-id file</div><div>2. remove firstboot from default PACKAGECONFIG </div><div><br></div><div>any thoughts?</div><div><br></div><div>cheers</div><div>nico</div></div>