public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "Felix Mößbauer" <felix.moessbauer@siemens.com>
To: isar-users@googlegroups.com
Cc: "Felix Mößbauer" <felix.moessbauer@siemens.com>
Subject: [PATCH 1/1] Add support for apt sources which use an absolute Suite Component
Date: Wed,  1 Jul 2020 12:51:55 +0200	[thread overview]
Message-ID: <20200701105155.181151-2-felix.moessbauer@siemens.com> (raw)
In-Reply-To: <20200701105155.181151-1-felix.moessbauer@siemens.com>

Signed-off-by: Felix Mößbauer <felix.moessbauer@siemens.com>
---
 meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
index da0d436..f530d7d 100644
--- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
+++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
@@ -86,7 +86,10 @@ def parse_aptsources_list_line(source_list_line):
 
     source, s = re.split("\s+", s, maxsplit=1)
 
-    suite, s = re.split("\s+", s, maxsplit=1)
+    if s.startswith("/"):
+        suite = ""
+    else:
+        suite, s = re.split("\s+", s, maxsplit=1)
 
     components = " ".join(s.split())
 
-- 
2.20.1


  reply	other threads:[~2020-07-01 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-01 10:51 [PATCH 0/1] Add support for Suite Component format sources Felix Mößbauer
2020-07-01 10:51 ` Felix Mößbauer [this message]
2020-07-01 11:24 Felix Mößbauer
2020-07-01 11:24 ` [PATCH 1/1] Add support for apt sources which use an absolute Suite Component Felix Mößbauer

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=20200701105155.181151-2-felix.moessbauer@siemens.com \
    --to=felix.moessbauer@siemens.com \
    --cc=isar-users@googlegroups.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox