On 03/10/2017 06:57 PM, Mark Hatle wrote:
On 3/10/17 5:24 AM, Alexander Kanavin wrote:
Packages need to contain just one value for the os field, otherwise
rpm will refuse to install them if they don't match what is in
/etc/rpm/platform.

How will this work with nativesdk for things like targeting mingw (windows),
darwin, or even alternative OS like Zephyr?

I'm thinking if 'linux-gnu' is invalid, then a simple conversion to 'linux'
would be better then hard coding everything to 'linux'.

I don't believe that the OS name embedded into packages is actually used anywhere to make decisions about which package to install. It's just that some packages have one value for it, others have another, and rpm 4 does not allow that (rpm 5 does, and so several OS values gets written into /etc). So I bring them all to a common value.

Alex
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to