[OE-core] [PATCH v2 2/3] base-files: create ${base_bindir} etc. instead of /bin, /sbin and /lib
Matthias Schiffer
mschiffer at universe-factory.net
Sun Jan 10 18:01:57 UTC 2016
On 01/10/2016 06:52 PM, Roman Khimov wrote:
> В письме от 10 января 2016 18:13:03 пользователь Matthias Schiffer написал:
>> * I stand by my opinion that moving files automatically is a bad idea,
>
> But that's exactly what can make many of /usr merge changes automatically.
> Take the kernel as an example, you just don't need the first two hunks of the
> kernel.bbclass patch, fs-perms fixes that for you if it's told that /lib is a
> symlink to 'usr/lib'.
I can see that it makes things simpler, but I'm more interested in a
correct solution than a simple one.
>
>> and the FILES issue mentioned in the other thread further backs my point
>
> IMO, FILES just shouldn't use hard-coded /lib or any other hard-coded path
> like that.
>
But if FILES depends on ${base_libdir} etc., the rest of the package
should also be adjusted to install all its files into ${base_libdir}
instead of /lib. Installing files to /lib, but putting ${base_libdir}
into FILES seems extremely broken to me.
Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160110/603e94de/attachment-0002.sig>
More information about the Openembedded-core
mailing list