[OE-core] uninative binary?

Gary Thomas gary at mlbassoc.com
Tue Nov 8 06:41:33 UTC 2016


On 2016-11-04 11:03, Richard Purdie wrote:
> On Fri, 2016-11-04 at 08:16 +0100, Gary Thomas wrote:
>> Some of my customers need to be able to build without any
>> network connectivity, so I normally use BB_NO_NETWORK="1"
>>
>> Is there a way to add the uninative "binary shim" to my
>> download mirror?  Given that the path includes a hash as
>> a directory, it's not clear to me how to put it into my
>> mirror.
>>
>> Thanks for any ideas
>
> Set UNINATIVE_URL to point at your mirror?
>
> If the file already exists in DL_DIR, it will be used without touching
> the network.

Thanks, that worked.  I keep a link to my mirror in my meta tree,
so I added these lines to my ${DISTRO}.conf:
   UNINATIVE_URL ?= "file://${COREBASE}/sources/uninative/1.4/"
   require conf/distro/include/yocto-uninative.inc
   INHERIT += "uninative"
When I ran a build, this got sucked into my ${DL_DIR} as
   $ ls -lR downloads/uninative/
   downloads/uninative/:
   total 4
   drwxrwxr-x 2 gthomas gthomas 4096 Nov  7 13:02 101ff8f2580c193488db9e76f9646fb6ed38b65fb76f403acb0e2178ce7127ca

   downloads/uninative/101ff8f2580c193488db9e76f9646fb6ed38b65fb76f403acb0e2178ce7127ca:
   total 4
   lrwxrwxrwx 1 gthomas gthomas 76 Nov  7 13:02 x86_64-nativesdk-libc.tar.bz2 -> 
/local/poky-cutting-edge/sources/uninative/1.4/x86_64-nativesdk-libc.tar.bz2

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the Openembedded-core mailing list