All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chanho Park <chanho61.park@samsung.com>
To: openembedded-devel@lists.openembedded.org,
	Richard Purdie <richard.purdie@linuxfoundation.org>,
	Randy MacLeod <Randy.MacLeod@windriver.com>,
	openembedded-core@lists.openembedded.org
Cc: Chanho Park <chanho61.park@samsung.com>
Subject: [PATCH 1/2] externalsrc.bbclass: support crate fetcher on externalsrc
Date: Thu, 19 May 2022 17:29:00 +0900	[thread overview]
Message-ID: <20220519082901.148142-2-chanho61.park@samsung.com> (raw)
In-Reply-To: <20220519082901.148142-1-chanho61.park@samsung.com>

To support crate:// fetcher on externalsrc, we need to make pass-through
the URIs in SRC_URI.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
---
 meta/classes/externalsrc.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index b2f216f361d1..90792a737b1b 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -68,7 +68,7 @@ python () {
             url_data = fetch.ud[url]
             parm = url_data.parm
             if (url_data.type == 'file' or
-                    url_data.type == 'npmsw' or
+                    url_data.type == 'npmsw' or url_data.type == 'crate' or
                     'type' in parm and parm['type'] == 'kmeta'):
                 local_srcuri.append(url)
 
-- 
2.36.1



  parent reply	other threads:[~2022-05-19  8:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20220519082813epcas2p356d33ae7937121d474fcf409d70cbd51@epcas2p3.samsung.com>
2022-05-19  8:28 ` [PATCH 0/2] Support cargo crate fetcher for externalsrc Chanho Park
     [not found]   ` <CGME20220519082813epcas2p367c8f9a368328c9ae6030ee804b91d3e@epcas2p3.samsung.com>
2022-05-19  8:29     ` Chanho Park [this message]
     [not found]   ` <CGME20220519082813epcas2p39cf1b2a4d20c8c7c8c0ae48955a50ac8@epcas2p3.samsung.com>
2022-05-19  8:29     ` [PATCH 2/2] cargo_common.bbclass: enable bitbake vendoring " Chanho Park

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=20220519082901.148142-2-chanho61.park@samsung.com \
    --to=chanho61.park@samsung.com \
    --cc=Randy.MacLeod@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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.