On 3/20/23 03:23, ChenQi wrote:
On 3/20/23 06:55, Marek Vasut wrote:
On 3/17/23 15:32, Chen, Qi wrote:
Hi Marek,
Hi,
sorry for the delay
I used the following line in local.conf and the firstboot worked:
IMAGE_PREPROCESS_COMMAND:remove = "systemd_preset_all;"
But doesn't that also inhibit the rootfs-time preset-all ? I would
like to keep that, I just need for the systemd firstboot units to run
on first boot to do first boot system setup things, which they won't
without the 'uninitialized' in /etc/machine-id .
1) Lacking of /etc/machine-id file also triggers firstboot.
2) systemd firstboot does 'preset-all'. If you enable firstboot, then
you don't need rootfs-time preset-all.
All right, thank you. Please go ahead with the revert.
But can you please document this IMAGE_PREPROCESS_COMMAND:remove =
"systemd_preset_all;" somewhere at least in the commit message, so
others who run into non-working firstboot won't have to struggle with it
? Maybe even add this into the comment in 'systemctl' script ?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#178810):
https://lists.openembedded.org/g/openembedded-core/message/178810
Mute This Topic: https://lists.openembedded.org/mt/97273986/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-