All of lore.kernel.org
 help / color / mirror / Atom feed
* Unpacking nested git repos in recipe?
@ 2013-11-24 20:07 Ole Wolf
  2013-11-24 20:37 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: Ole Wolf @ 2013-11-24 20:07 UTC (permalink / raw)
  To: OpenEmbedded Developers


[-- Attachment #1.1.1: Plaintext Message --]
[-- Type: text/plain, Size: 955 bytes --]

I want to create a recipe that includes two git repositories. Fetching them
works as I'd expect when I specify their sources as follows:

SRC_URI = " \
    git://github.com/boostorg/boost.git;name=boost \
    git://github.com/boostorg/build.git;name=build \
"
SRCREV_boost = "42d94a72ccbc64e2f4652a69c2d292b1028da087"
SRCREV_build = "c2574b2d5a481f88864d1e75ce775f41cbc03bad"

However, I can't figure out how to unpack them properly. The first
repository, "boost," is to be unpacked into the default ".../git" directory
whereas the other repository, "build," is to be unpacked into a
subdirectory of "boost." I had hoped that the git fetching might provide a
"subdir" modifier, but it seems that's not supported.

So, somehow I need to be able to state that "boost" must be unpacked first,
followed by "build," which is to be unpacked into ".../git/tools/build."

Is this possible without resorting to a custom do_unpack function?

[-- Attachment #1.2: PGP Public Key --]
[-- Type: application/pgp-keys, Size: 6769 bytes --]

[-- Attachment #2: PGP Digital Signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: Unpacking nested git repos in recipe?
  2013-11-24 20:07 Unpacking nested git repos in recipe? Ole Wolf
@ 2013-11-24 20:37 ` Martin Jansa
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2013-11-24 20:37 UTC (permalink / raw)
  To: openembedded-devel

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

On Sun, Nov 24, 2013 at 09:07:39PM +0100, Ole Wolf wrote:

> pub  1024D/F969F350 1997-11-28 Ole Wolf <ole@naturloven.dk>
> uid                            Ole Wolf (email address: ulven@rødhættevej.dk) <ulven@xn--rdhttevej-i3a9q.dk>
> uid                            Ole Wolf <wolf@blazingangles.com>
> uid                            Ole Wolf <dnai@dnai.com>
> uid                            Ole Wolf <wolf@slip.net>
> uid                            Ole Wolf <ulven@rødhættevej.dk>
> sub  3072g/BB305905 1997-11-28
> sub  2048R/85758E3A 2012-09-10

Use destsuffix param

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

end of thread, other threads:[~2013-11-24 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-24 20:07 Unpacking nested git repos in recipe? Ole Wolf
2013-11-24 20:37 ` Martin Jansa

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.