Skip to contentSkip to conversation

Has the file:// behavior changed in SRC_URI

DISCUSSION Philip Balister 3 participants 4 messages Aug 24, 2010

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 9 lines · Philip Balister

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.

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
#2 lore raw
Quoted 10 lines · Chris Larson
Quoted 8 lines · Philip Balister

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.

Quoted 7 lines
Quoted 1 line

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

#3 lore raw
In reply to Philip Balister
Quoted 9 lines · Philip Balister

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

Signature · 2 lines
=================
http://bec-systems.com