Feature 'usrmerge' is coming...
Patrick Williams
patrick at stwcx.xyz
Thu May 18 21:41:14 AEST 2023
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
--
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20230518/575012bf/attachment.sig>
More information about the openbmc
mailing list