public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Claudius Heine <claudius.heine.ext@siemens.com>
To: kazuhiro3.hayashi@toshiba.co.jp, isar-users@googlegroups.com
Cc: meta-eid@googlegroups.com
Subject: Re: multistrap support
Date: Wed, 13 Feb 2019 14:56:08 +0100	[thread overview]
Message-ID: <ce8c590b-f061-b58b-f95b-dcb94046bfcf@siemens.com> (raw)
In-Reply-To: <OSAPR01MB46915F28FC52AFF1D3CDFFB4E1660@OSAPR01MB4691.jpnprd01.prod.outlook.com>

Hi Kazu,

I don't speak for the whole Isar community, but just from my point of 
view. For context I implemented the switch from multistrap to debootstrap.

On 13/02/2019 14.14, kazuhiro3.hayashi@toshiba.co.jp wrote:
> Hi,
> 
> I would like to know if isar still has some plans to use multistrap again
> (or similar existing tools if exists) to generate target images.

No, only debootstrap is supported and we will most probably stick with that.

> Multistrap for isar-image-base has been removed by the following commit:
> https://github.com/ilbers/isar/commit/19a314559178f7afd93ce3dafe8c8647ca6c8884
> and replaced by setup_root_file_system() in isar-bootstrap-helper.bbclass,
> which seems to use (pre-built?) isar-bootstrap-$ROOTFS_DISTRO-$ROOTFS_ARCH
> as the base tree instead of running the debootstrap process.
> 
> I guess that the main purposes of quitting multistrap is that
> there is no big update for a few years (though the last update is 2.2.10 on Nov. 2018)
> Are there any other reasons?

That is one of them. Debootstrap is better supported by the main Debian 
community than any other bootstrapping tools. And since it is out of 
scope or the Isar Project to implement its own bootstrapping mechanism, 
we will stick with the second most official one 'debootstrap'. The 
Debian installer being the most official way to install Debian, which is 
a bit to bulky and integrated to be easily used in a scripted environment.

Both multistrap and debootstrap had or still have some inconveniences 
with our usage and it would of course be great to have one that fits 
exactly our purposes and is used and supported by the broader 
Debian/Embedded Debian and possible Debian server community. But as I 
said Isar does not have the resources to implement that.

> (Some bugs difficult to be fixed, mismatches with isar specification, etc.)
> 
> The current isar-bootstrap based approach would work fine for isar system,
> but in that case, it might be difficult to share efforts for
> developing and maintaining the functionality with non isar users.
> I'm just interested in the future plan of isar.

Maybe you can give an example about which feature you think could be 
moved outside of the isar project and be used separately.

One issue here is that Isar uses bitbake as the build task scheduler, so 
shell scripts etc. are difficult to extract from it to be used outside 
of Isar. And if they are extracted from the Isar recipes, then using 
them in Isar again is disadvantageous for the Isar build process.

So sharing code between a bitbake/isar project and other build systems 
is not really possible.

regards,
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

  reply	other threads:[~2019-02-13 13:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-13 13:14 kazuhiro3.hayashi
2019-02-13 13:56 ` Claudius Heine [this message]
2019-02-14  3:53   ` [meta-eid] " kazuhiro3.hayashi
2019-02-14  6:19     ` Jan Kiszka
2019-02-14 10:18       ` kazuhiro3.hayashi
2019-02-14  9:07     ` Claudius Heine
2019-02-13 15:18 ` Henning Schild
2019-02-14  6:08   ` kazuhiro3.hayashi
2019-02-13 16:15 ` Jan Kiszka
2019-02-14 10:14   ` kazuhiro3.hayashi
2019-02-14  7:23 ` [meta-eid] " Baurzhan Ismagulov
2019-02-18  3:04 kazuhiro3.hayashi
2019-02-25 17:08 kazuhiro3.hayashi
2019-02-25 17:59 ` Henning Schild
2019-02-27  9:08 kazuhiro3.hayashi

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=ce8c590b-f061-b58b-f95b-dcb94046bfcf@siemens.com \
    --to=claudius.heine.ext@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=kazuhiro3.hayashi@toshiba.co.jp \
    --cc=meta-eid@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