From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH v3 5/6] sdk: Inject sysroot path when calling relocated toolchain
Date: Mon, 21 Sep 2020 13:47:07 +0200 [thread overview]
Message-ID: <71081f79-7ab1-abf7-965a-6cbaf1aec755@siemens.com> (raw)
In-Reply-To: <20200921100523.GN16317@yssyq.m.ilbers.de>
On 21.09.20 12:05, Baurzhan Ismagulov wrote:
> On Mon, Sep 21, 2020 at 11:27:32AM +0200, Jan Kiszka wrote:
>> Still pending. This is part of several product layers by now, and I only
>> have positive feedback on the usability of the generated SDK so far. Can we
>> move forward?
>
> Here we have to agree on the chroot approach and the way of shipping isar-apt.
>
> Regarding dropping chroot support: While I welcome the Yocto-like SDK which is
> familiar for the Yocto developers, chroot is currently the official Debian way
> of building [1]. With Debian implementing multiarch despite being alone in it
> and many Debian developers actively disliking non-Debian building, we can't
> truly bridge the two by dismissing the Debian way of building in Isar. Both
> approaches clearly have their respective advantages and followers, and I think
> we should keep both, for developers and production. Declaring the one way as
> preferred doesn't help making friends in the other camp, either.
We are not dropping the chroot model at this stage. We can keep it
longer, but I'm afraid it may eventually bitrot as it remains a niche
scenario. The true debian way is pushing all results and the a debian
snapshot into own repos that people who like to build inside debian can
pull from. An SDK as we generate it does not serve the expert scenario,
and building inside a chroot is surely not for beginners due to all the
complication with the outer world.
>
> Regarding dropping isar-apt: Debian is about tools that facilitate different
> workflows without imposing One True Way. The strength of shipping isar-apt is
> in the developer's ability to install packages afterwards that maybe were not
> necessary in the beginning or are not interesting for the most developers.
> Taken from this perspective, requiring an SDK rebuild for a new package is
> waste of time, especially if different groups are responsible for that and if
> further packages are going to be needed shortly afterwards.
>
> So, I'd like to see how we address these issues with this SDK improvement. If
> there are specific problems (e.g., bloat), maybe we could make stuff
> configurable, etc., but not break the existing use case outright.
I can keep isar-apt opt-in for the time being, expect v3 soon.
But my vision remains SDK_INSTALL for this purpose (including chroot),
in the future maybe more automated. Blinding shipping the complete
isar-apt is, well, a very simplistic approach to the problem.
Jan
>
> 1. https://wiki.debian.org/sbuild
>
> With kind regards,
> Baurzhan.
>
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2020-09-21 11:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-28 11:24 [PATCH v2 0/6] Evolve SDK to chroot-free usage Jan Kiszka
2020-03-28 11:24 ` [PATCH v2 1/6] sdk: Add support for adding self-defined sdk packages Jan Kiszka
2020-06-08 10:22 ` Jan Kiszka
2020-06-12 9:34 ` Baurzhan Ismagulov
2020-06-12 9:54 ` Jan Kiszka
2020-06-12 10:05 ` Jan Kiszka
2020-06-12 10:30 ` Jan Kiszka
2020-06-22 8:09 ` Jan Kiszka
2020-03-28 11:24 ` [PATCH v2 2/6] sdk: Make all links in the SDK chroot relative Jan Kiszka
2020-03-28 11:24 ` [PATCH v2 3/6] sdk: Add script to relocate SDK Jan Kiszka
2020-03-28 11:24 ` [PATCH v2 4/6] sdk: Do not ship the isar-apt repo Jan Kiszka
2020-03-28 11:24 ` [PATCH v2 5/6] sdk: Inject sysroot path when calling relocated toolchain Jan Kiszka
2020-07-14 20:22 ` [PATCH v3 " Jan Kiszka
2020-08-31 16:32 ` Jan Kiszka
2020-09-21 9:27 ` Jan Kiszka
2020-09-21 10:05 ` Baurzhan Ismagulov
2020-09-21 11:47 ` Jan Kiszka [this message]
2020-03-28 11:24 ` [PATCH v2 6/6] sdk: Update README.sdk Jan Kiszka
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=71081f79-7ab1-abf7-965a-6cbaf1aec755@siemens.com \
--to=jan.kiszka@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