Openembedded Core Discussions
 help / color / mirror / Atom feed
* uninative binary?
@ 2016-11-04  7:16 Gary Thomas
  2016-11-04  8:02 ` Robert P. J. Day
  2016-11-04 10:03 ` Richard Purdie
  0 siblings, 2 replies; 5+ messages in thread
From: Gary Thomas @ 2016-11-04  7:16 UTC (permalink / raw)
  To: OE-core

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

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: uninative binary?
  2016-11-04  7:16 uninative binary? Gary Thomas
@ 2016-11-04  8:02 ` Robert P. J. Day
  2016-11-04 10:03 ` Richard Purdie
  1 sibling, 0 replies; 5+ messages in thread
From: Robert P. J. Day @ 2016-11-04  8:02 UTC (permalink / raw)
  To: Gary Thomas; +Cc: OE-core

On Fri, 4 Nov 2016, 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.

  weirdly, i was about to ask the very same question ... you should
have waited. :-)

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: uninative binary?
  2016-11-04  7:16 uninative binary? Gary Thomas
  2016-11-04  8:02 ` Robert P. J. Day
@ 2016-11-04 10:03 ` Richard Purdie
  2016-11-08  6:41   ` Gary Thomas
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2016-11-04 10:03 UTC (permalink / raw)
  To: Gary Thomas, OE-core

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.

Cheers,

Richard


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: uninative binary?
  2016-11-04 10:03 ` Richard Purdie
@ 2016-11-08  6:41   ` Gary Thomas
  2016-11-08 15:19     ` Christopher Larson
  0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2016-11-08  6:41 UTC (permalink / raw)
  To: openembedded-core

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
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: uninative binary?
  2016-11-08  6:41   ` Gary Thomas
@ 2016-11-08 15:19     ` Christopher Larson
  0 siblings, 0 replies; 5+ messages in thread
From: Christopher Larson @ 2016-11-08 15:19 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1901 bytes --]

On Mon, Nov 7, 2016 at 11:41 PM, Gary Thomas <gary@mlbassoc.com> wrote:

> 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/101ff8f2580c193488db9e76f9646fb6ed38b65f
> b76f403acb0e2178ce7127ca:
>   total 4
>   lrwxrwxrwx 1 gthomas gthomas 76 Nov  7 13:02
> x86_64-nativesdk-libc.tar.bz2 -> /local/poky-cutting-edge/sourc
> es/uninative/1.4/x86_64-nativesdk-libc.tar.bz2


It seems the uninative fetch does use mirrors, as well, from what I’ve
seen. At least, premirrors. I see a bunch of irritating fetch failure
messages from each of my premirrors when attempting to get uninative in
certain builds.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics

[-- Attachment #2: Type: text/html, Size: 2635 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-11-08 15:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-04  7:16 uninative binary? Gary Thomas
2016-11-04  8:02 ` Robert P. J. Day
2016-11-04 10:03 ` Richard Purdie
2016-11-08  6:41   ` Gary Thomas
2016-11-08 15:19     ` Christopher Larson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox