All of lore.kernel.org
 help / color / mirror / Atom feed
From: Janis Coders <janis.coders@gmail.com>
To: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: [meta-freesclae] Replace/change/append SRC_URI for kernel git URL.
Date: Wed, 06 Nov 2013 10:12:31 +0200	[thread overview]
Message-ID: <5279F9EF.5040403@gmail.com> (raw)

Hi, I am trying to append SRC_URI of linux-imx_2.6.35.3.bb recipe, 
because we have our own git repository. The problem is that I don't want 
to override the SRC_URI completely, but only change the git repo address 
to our server. Does Yocto support it in some pretty way? (because for 
now we have to use this regex syntax in .bbapend file, which works, but 
isn't pretty):

NEW_SRC_URI = "git://X.X.X.X/git/be-kernel.git;protocol=git;branch=yyyyyyy"
TMP_SRC_URI := '${@bb.utils.re.sub("git://[^\\s]*", 
d.getVar("NEW_SRC_URI", True), d.getVar("SRC_URI", True))}'
SRC_URI_mx5 = "${TMP_SRC_URI}"


             reply	other threads:[~2013-11-06  8:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06  8:12 Janis Coders [this message]
2013-11-06 11:46 ` [meta-freesclae] Replace/change/append SRC_URI for kernel git URL Otavio Salvador
2013-11-08 10:35   ` Janis Coders
2013-11-08 11:12     ` Otavio Salvador

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=5279F9EF.5040403@gmail.com \
    --to=janis.coders@gmail.com \
    --cc=meta-freescale@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.