On Thu, Dec 7, 2023 at 5:36 AM Ross Burton <[email protected]> wrote:
>
> For many years we’ve been carrying patches to recipes to move some libraries 
> or binaries into /bin and /lib, on the argument that people might have /usr 
> on another mount.
>
> I don’t believe this has been the case for a long time.

AFAICT, the usrmerge distro feature (effectively) forces this already,
so I don't really see a problem with making it the standard.
Presumably, that will make it so that usrmerge is always enabled and
the actual distro feature will be removed or a noop?

Also FWIW, you have to have usrmerge enabled to use systemd; not that
the world has to be systemd-centric, but removing the alternate code
paths and file system layouts to make things more consistent is a good
thing for testing etc.

>
> Modern systems either have more than enough space that / and /usr don’t need 
> to be on separate devices, or alternatively you can have an initramfs which 
> is actually constructed explicitly to be small and contains what is needed, 
> without the /bin vs /usr/bin argument.
>
> I propose removing all of the patches to recipes that cater for this (eg, tar 
> manually moves the binary to /bin), but I thought it best to shout here in 
> case anyone is aware of anyone who still needs this functionality _and_ will 
> be moving to Yocto 5.0.  That second clause is important: I don’t care about 
> people who won’t be using Yocto 5 as this won’t be backported.
>
> Cheers,
> Ross
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1878): 
https://lists.openembedded.org/g/openembedded-architecture/message/1878
Mute This Topic: https://lists.openembedded.org/mt/103033053/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-architecture/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to