All of lore.kernel.org
 help / color / mirror / Atom feed
* Has the file:// behavior changed in SRC_URI
@ 2010-08-24 14:03 Philip Balister
  2010-08-24 14:37 ` Chris Larson
  2010-08-24 15:10 ` Cliff Brake
  0 siblings, 2 replies; 4+ messages in thread
From: Philip Balister @ 2010-08-24 14:03 UTC (permalink / raw)
  To: openembedded-devel

I know I used to be able to use a local directory with kernel source 
like this:

SRC_URI = "file:///home/balister/kernel_source"

but now all that is copied to ${WORK} is an empty directory. This is 
with bitbake 1.10.0.

Any thoughts?

Philip



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

* Re: Has the file:// behavior changed in SRC_URI
  2010-08-24 14:03 Has the file:// behavior changed in SRC_URI Philip Balister
@ 2010-08-24 14:37 ` Chris Larson
  2010-08-24 14:53   ` Philip Balister
  2010-08-24 15:10 ` Cliff Brake
  1 sibling, 1 reply; 4+ messages in thread
From: Chris Larson @ 2010-08-24 14:37 UTC (permalink / raw)
  To: openembedded-devel

On Tue, Aug 24, 2010 at 7:03 AM, Philip Balister <philip@balister.org>wrote:

> I know I used to be able to use a local directory with kernel source like
> this:
>
> SRC_URI = "file:///home/balister/kernel_source"
>
> but now all that is copied to ${WORK} is an empty directory. This is with
> bitbake 1.10.0.
>
> Any thoughts?


Should work, if it doesn't its a bug in the metadata.  Are you using
relatively recent OE, or a split off tree?  There was a fix that went into
OE for do_unpack to obey either the 'path' *or* 'host' url components for
file: uris, because which it goes in was changed in bitbake.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics


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

* Re: Has the file:// behavior changed in SRC_URI
  2010-08-24 14:37 ` Chris Larson
@ 2010-08-24 14:53   ` Philip Balister
  0 siblings, 0 replies; 4+ messages in thread
From: Philip Balister @ 2010-08-24 14:53 UTC (permalink / raw)
  To: openembedded-devel

On 08/24/2010 10:37 AM, Chris Larson wrote:
> On Tue, Aug 24, 2010 at 7:03 AM, Philip Balister<philip@balister.org>wrote:
>
>> I know I used to be able to use a local directory with kernel source like
>> this:
>>
>> SRC_URI = "file:///home/balister/kernel_source"
>>
>> but now all that is copied to ${WORK} is an empty directory. This is with
>> bitbake 1.10.0.
>>
>> Any thoughts?
>
>
> Should work, if it doesn't its a bug in the metadata.  Are you using
> relatively recent OE, or a split off tree?  There was a fix that went into
> OE for do_unpack to obey either the 'path' *or* 'host' url components for
> file: uris, because which it goes in was changed in bitbake.

This is a recent metadata pull and the 1.10.0 tarball for bitbake.

Philip



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

* Re: Has the file:// behavior changed in SRC_URI
  2010-08-24 14:03 Has the file:// behavior changed in SRC_URI Philip Balister
  2010-08-24 14:37 ` Chris Larson
@ 2010-08-24 15:10 ` Cliff Brake
  1 sibling, 0 replies; 4+ messages in thread
From: Cliff Brake @ 2010-08-24 15:10 UTC (permalink / raw)
  To: openembedded-devel

On Tue, Aug 24, 2010 at 10:03 AM, Philip Balister <philip@balister.org> wrote:
> I know I used to be able to use a local directory with kernel source like
> this:
>
> SRC_URI = "file:///home/balister/kernel_source"
>
> but now all that is copied to ${WORK} is an empty directory. This is with
> bitbake 1.10.0.
>
> Any thoughts?

I don't know about the above, but as a related note, srctree is now
working.  I've not tested with a kernel recipe yet, but it has been
tested with qt and autotools recipes:

http://cgit.bec-systems.com/cgit.cgi/autotools-demo/tree/autotools-demo.bb
http://cgit.bec-systems.com/cgit.cgi/qt-overo-palo-gpio/tree/qt-overo-palo-gpio.bb

Thanks,
Cliff

-- 
=================
http://bec-systems.com



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

end of thread, other threads:[~2010-08-24 15:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-24 14:03 Has the file:// behavior changed in SRC_URI Philip Balister
2010-08-24 14:37 ` Chris Larson
2010-08-24 14:53   ` Philip Balister
2010-08-24 15:10 ` Cliff Brake

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.