public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: "Claudius Heine" <claudius.heine.ext@siemens.com>,
	"Tolga Hoşgör" <tlghosgor@gmail.com>
Cc: isar-users@googlegroups.com
Subject: Re: [PATCH] isar-bootstrap: debootstrap --include flag to support https:// sources
Date: Wed, 5 Dec 2018 13:58:45 +0100	[thread overview]
Message-ID: <636386f3-7eca-10bd-1ea1-1d5286ce15a9@siemens.com> (raw)
In-Reply-To: <66336a00-2604-0915-c341-464aad285715@siemens.com>

On 05.12.18 13:55, Claudius Heine wrote:
> On 05/12/2018 13.27, [ext] Claudius Heine wrote:
>>>
>>> Now I am completely lost. I suppose there is no need to create the
>>> logic to to differentiate HTTP and HTTPS in ISAR if distro conf will
>>> set the packages. Distro configuration knows whether if it is using
>>> HTTP or HTTPS (or in theory something else) and it should be enough to
>>> define/extend _one_ variable accordingly.
>>
>> I would suggest calling those variables like this:
>>
>> DISTRO_BOOTSTRAP_BASE_PACKAGES = "locales"
>> DISTRO_BOOTSTRAP_BASE_PACKAGES_append_https-support = " apt-transport-https 
>> ca-certificates"
>>
>> # OVERRIDE = "...:https-support:..." # when you detect that https is needed.
>>
>> or similar. And then use those variables in isar-bootstrap with your logic.
> 
> Maybe I should be a bit more explicit here.
> 
> The distro config does *not* know if somewhere else (some other configuration, 
> file potentially from another layer) adds an additional repository that uses 
> https. Since isar-bootstrap already does some parsing of the source lists and 
> calls debootstrap, it would be the right point to handle that.

Do we really need to model that with overrides? It brings some complexity of its 
own when changing that dynamically.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

  reply	other threads:[~2018-12-05 12:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-04 13:35 Hosgor, Tolga (CT RDA DS EU TR MTS)
2018-12-04 14:11 ` Jan Kiszka
2018-12-04 14:23 ` Claudius Heine
2018-12-04 14:28   ` Jan Kiszka
2018-12-04 14:46     ` Claudius Heine
2018-12-05 10:28       ` Tolga Hoşgör
2018-12-05 12:27         ` Claudius Heine
2018-12-05 12:55           ` Claudius Heine
2018-12-05 12:58             ` Jan Kiszka [this message]
2018-12-05 13:04               ` Claudius Heine
2018-12-05 17:09           ` Henning Schild
2018-12-05 17:12 ` Henning Schild
2018-12-11  7:17 ` Henning Schild
2018-12-11 17:08   ` Tolga Hoşgör

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=636386f3-7eca-10bd-1ea1-1d5286ce15a9@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=claudius.heine.ext@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=tlghosgor@gmail.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