Open b3n-l opened 4 weeks ago
It was very confusing that the older commit referenced a commit with the same subject as the newer commit.
I think the path forward is here to submit the required commits as patches to be backported to kirkstone, shouldn't be too much work.
I can take care of that once I'm back.
On boot, the file
/var/log/README
is created automatically by systemd as part of the 'legacy files'.As we don't include systemd-doc, this symlink is broken.
The file causing this is
tmpfiles.d/legacy.conf
from the systemd repo.This is an upstream issue, which has been patched in Yocto >4.2 https://github.com/openembedded/openembedded-core/commit/18d46e11d85da1f6feaba5a135931e43060024d6 however, this change may itself be a problem. It isn't clear to me whether that would stop systemd creating log directories at runtime in /var/log, or if it is limited to install time.
Another approach I have seen is: https://github.com/openembedded/openembedded-core/commit/ac4c9f5aa967507d028caa3ee70f3fce580f9a09#diff-17f6e12c28058e9bcbaddfa8ea71f60a3e16ca4b5e9a08bc67947f3ad9f7b575 which disables the legacy files creation.