Feature 'usrmerge' is coming...
Hello,
Historically, Linux has had a distinction between directories like /bin and /usr/bin. This has been called 'split-usr' by some. There has been some effort in some distributions to move /{bin,sbin,lib} to be combined with their peers under /usr, which has been called 'merged-usr'.
An upcoming systemd release this summer is going to remove support for 'split-usr'[1] and I want to get out in front of it so we are not caught off guard. Yocto already supports this through a DISTRO_FEATURE named usrmerge. I have enabled this on the Bletchley machine and what it does is turn /bin, etc. into symlinks to /usr/bin (etc.). I believe that means it should be trivial for us to enable.
I'm going to leave the commit[2] in Gerrit until May 26th (or later) to solicit feedback. If I hear no concerns about it, this will be merged.
It would be good for repository maintainers to look for usage of things like ${base_bindir} in their recipes and builds and to start a migration towards the regular ${bindir} (and friends).
[1]: https://lists.freedesktop.org/archives/systemd-devel/2022-September/048352.html
[2]: https://gerrit.openbmc.org/c/openbmc/openbmc/+/63586
Signature · 1 line
Patrick Williams