All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Katu Txakur <katutxakurra@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: fetch from perforce
Date: Tue, 15 Oct 2013 23:34:39 +0100	[thread overview]
Message-ID: <1700191.EdxHocCYrr@helios> (raw)
In-Reply-To: <CAM1ZcoXQEO9w+gJKfK8xYft=JegKHoWGn8Q6CF=hBd77o0ezyw@mail.gmail.com>

Hi Katu,

On Tuesday 15 October 2013 20:52:15 Katu Txakur wrote:
> can someone please give me an example of fetching the code from perforce?
> I want to map files from perforce and put them in a different tree
> structure in the workspace before compiling it. I also need to set user and
> password.
> I failed to find an example online and I don't understand the perforce
> script enough to guess the way to call it.

I have zero experience with perforce or fetching from it with a recipe, but 
looking at the fetcher code (bitbake/lib/bb/fetch2/perforce.py) it looks like 
the SRC_URI syntax is:

p4://user:password:host:port@path

Unfortunately it looks like you also need to set FETCHCOMMAND_p4 in your 
configuration as well since there is no default for this. Something like 
"/usr/bin/env p4" might work.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


  reply	other threads:[~2013-10-15 22:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-15 19:52 fetch from perforce Katu Txakur
2013-10-15 22:34 ` Paul Eggleton [this message]
2013-10-24  9:09   ` Katu Txakur
2013-10-28  9:35     ` Paul Eggleton
2013-10-28  9:38       ` Robert P. J. Day
2013-10-28  9:48         ` Paul Eggleton

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=1700191.EdxHocCYrr@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=katutxakurra@gmail.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.