From: Felix Moessbauer <felix.moessbauer@siemens.com>
To: isar-users@googlegroups.com
Cc: "Felix Mößbauer" <felix.moessbauer@siemens.com>
Subject: [PATCH v2 1/1] Add support for apt sources which use an absolute Suite Component
Date: Wed, 1 Jul 2020 14:19:54 +0200 [thread overview]
Message-ID: <20200701121954.186854-2-felix.moessbauer@siemens.com> (raw)
In-Reply-To: <174a3113-1c88-3461-2d22-41d1e81724e2@siemens.com>
From: Felix Mößbauer <felix.moessbauer@siemens.com>
This patch adds support to add apt sources in the format of
deb http://url / which is also known as absolute Suite Component format.
The current isar version fails on parsing this format.
A potential use case is to add packages from opensuse.
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
next prev parent reply other threads:[~2020-07-01 12:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-01 11:24 [PATCH 0/1] Add support for Suite Component format sources 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
2020-07-01 11:27 ` [PATCH 0/1] Add support for Suite Component format sources Jan Kiszka
2020-07-01 12:19 ` [PATCH v2 " Felix Moessbauer
2020-07-01 12:19 ` Felix Moessbauer [this message]
2020-07-27 9:22 ` [PATCH v2 1/1] Add support for apt sources which use an absolute Suite Component Moessbauer, Felix
2020-07-27 9:42 ` Jan Kiszka
2020-10-13 10:24 ` Jan Kiszka
2020-11-18 19:17 ` Baurzhan Ismagulov
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=20200701121954.186854-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