From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Khem Raj <raj.khem@gmail.com>, Rohit2 Jindal <rohit2.jindal@aricent.com>
Cc: yocto@yoctoproject.org
Subject: Re: yocto query on SR_URI creation
Date: Tue, 17 Sep 2013 08:42:05 +0100 [thread overview]
Message-ID: <4616187.FgK0ETbC70@helios> (raw)
In-Reply-To: <1E7EC87B-ADCA-44D9-805E-7CA4ADA3EA6A@gmail.com>
On Monday 16 September 2013 23:16:51 Khem Raj wrote:
> On Sep 16, 2013, at 10:54 PM, Rohit2 Jindal <rohit2.jindal@aricent.com>
> wrote:
> > Please suggest me the way to git clone from two repos parallel in the same
> > recipe Is possible in yocto .If yes how to do that. Eg
> > SRC_URI =
> > "git://ep-code.xyz.com/sysconfig.git;branch=xxx-ep-20130823-3.0-alpha;pro
> > tocol=ssh SRC_URI =
> > "git://ep-code.xyz.com/xload.git;branch=xxx-ep-20130823-3.0-alpha;protoco
> > l=ssh When I tries to do this it unpacks the source downloaded to
> > WORKDIR/git so overwrites the first unpack with the other. So please
> > suggest me the way that two download two repos in same recipes with their
> > detstined cloned folder changed to folder with my required naming
> > convention instead of generic git name folder in workdir.
>
> you could try using 'subpath' param to git fetcher.
>
> try something like
>
> SRC_URI =
> "git://ep-code.xyz.com/sysconfig.git;branch=xxx-ep-20130823-3.0-alpha;proto
> col=ssh;subpath=git1" SRC_URI =
> "git://ep-code.xyz.com/xload.git;branch=xxx-ep-20130823-3.0-alpha;protocol=
> ssh;subpath=git2"
>
> and see if that helps
"subpath" isn't the right thing here; that will also copy only a subdirectory
out of the git repository instead of the root. "destsuffix" is what you should
set if you want to use something other than "git"
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
next prev parent reply other threads:[~2013-09-17 7:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.7042.1376600669.19864.yocto@yoctoproject.org>
2013-09-09 7:47 ` yocto query on SR_URI creation Rohit2 Jindal
2013-09-09 12:45 ` Nicolas Dechesne
2013-09-10 14:35 ` Rohit2 Jindal
2013-09-10 15:02 ` Nicolas Dechesne
2013-09-17 5:54 ` Rohit2 Jindal
2013-09-17 6:16 ` Khem Raj
2013-09-17 7:42 ` Paul Eggleton [this message]
[not found] ` <17797116383D4341B029FDF34C22BF6A5D7F898B21@GUREXMB01.ASIAN.AD.ARICENT.COM>
2013-09-17 9:02 ` Paul Eggleton
2013-09-17 9:05 ` Rohit2 Jindal
2013-09-17 9:27 ` Paul Eggleton
2013-10-03 3:43 ` Rohit2 Jindal
2013-10-03 9:08 ` Paul Eggleton
2013-10-23 9:01 ` Yocto toolchain compilation Issues Rohit2 Jindal
2013-10-29 4:02 ` Khem Raj
2013-11-14 9:26 ` yocto query on SR_URI creation Rohit2 Jindal
2013-09-12 8:39 ` Rohit2 Jindal
2013-09-12 9:17 ` Nicolas Dechesne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4616187.FgK0ETbC70@helios \
--to=paul.eggleton@linux.intel.com \
--cc=raj.khem@gmail.com \
--cc=rohit2.jindal@aricent.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.