From: Claudius Heine <claudius.heine.ext@siemens.com>
To: "Tolga Hoşgör" <tlghosgor@gmail.com>
Cc: jan.kiszka@siemens.com, isar-users@googlegroups.com
Subject: Re: [PATCH] isar-bootstrap: debootstrap --include flag to support https:// sources
Date: Wed, 5 Dec 2018 13:55:44 +0100 [thread overview]
Message-ID: <66336a00-2604-0915-c341-464aad285715@siemens.com> (raw)
In-Reply-To: <b97cfffe-25d8-7b0b-1c66-61e895de705f@siemens.com>
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.
Claudius
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
next prev parent reply other threads:[~2018-12-05 12:55 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 [this message]
2018-12-05 12:58 ` Jan Kiszka
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=66336a00-2604-0915-c341-464aad285715@siemens.com \
--to=claudius.heine.ext@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.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