[OE-core] [PATCH v2 3/3] base-files: create typical merged /usr symlinks if the "merged-usr" distro feature is set

2016-01-02 Thread Matthias Schiffer
The typical symlinks are: * /bin -> usr/bin * /sbin -> usr/sbin * /lib -> usr/lib * /usr/sbin -> bin It is checked that only sane symlinks are created, so a half-merged /usr (e.g, merging bin and sbin, but not lib) is feasible as well. The following options in a distro configuration create a ful

Re: [OE-core] [PATCH v2 3/3] base-files: create typical merged /usr symlinks if the "merged-usr" distro feature is set

2016-01-03 Thread Phil Blundell
On Sun, 2016-01-03 at 00:53 +0100, Matthias Schiffer wrote: > +PACKAGECONFIG ??= " \ > + ${@bb.utils.contains('DISTRO_FEATURES', > 'merged-usr','merged-usr', '', d)} \ Why is this DISTRO_FEATURE (or the corresponding PACKAGECONFIG) required? Surely it ought to suffice to simply

Re: [OE-core] [PATCH v2 3/3] base-files: create typical merged /usr symlinks if the "merged-usr" distro feature is set

2016-01-04 Thread Matthias Schiffer
On 01/03/2016 02:01 PM, Phil Blundell wrote: > On Sun, 2016-01-03 at 00:53 +0100, Matthias Schiffer wrote: >> +PACKAGECONFIG ??= " \ >> + ${@bb.utils.contains('DISTRO_FEATURES', >> 'merged-usr','merged-usr', '', d)} \ > > Why is this DISTRO_FEATURE (or the corresponding PACKAGEC

Re: [OE-core] [PATCH v2 3/3] base-files: create typical merged /usr symlinks if the "merged-usr" distro feature is set

2016-01-04 Thread Mark Hatle
On 1/2/16 5:53 PM, Matthias Schiffer wrote: > The typical symlinks are: > > * /bin -> usr/bin > * /sbin -> usr/sbin > * /lib -> usr/lib > * /usr/sbin -> bin > > It is checked that only sane symlinks are created, so a half-merged /usr > (e.g, merging bin and sbin, but not lib) is feasible as well.

Re: [OE-core] [PATCH v2 3/3] base-files: create typical merged /usr symlinks if the "merged-usr" distro feature is set

2016-01-05 Thread Phil Blundell
On Mon, 2016-01-04 at 23:38 +0100, Matthias Schiffer wrote: > Of course, the alternative would be to force such distros to > override the bases-files recipe in a .bbappend. I don't think this would be an especially big deal. The whole contents of base-files is already fairly distro-specific and a