public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Baurzhan Ismagulov <ibr@radix50.net>
To: isar-users@googlegroups.com
Cc: wookey@wookware.org, meta-eid@googlegroups.com
Subject: Re: [meta-eid] multistrap support
Date: Thu, 14 Feb 2019 08:23:39 +0100	[thread overview]
Message-ID: <20190214072339.GP805@yssyq.m.ilbers.de> (raw)
In-Reply-To: <OSAPR01MB46915F28FC52AFF1D3CDFFB4E1660@OSAPR01MB4691.jpnprd01.prod.outlook.com>

On Wed, Feb 13, 2019 at 01:14:57PM +0000, kazuhiro3.hayashi@toshiba.co.jp wrote:
> 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.
> 
> 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?
> (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.

Neil told us that he doesn't maintain multistrap anymore. We also encountered
issues (e.g., https://github.com/ilbers/isar/issues/16). For me personally,
Perl is an obstacle (I go through Perl tutorials every couple of years :) ). So
switching to debootstrap was easier at the time.

That is not to say that debootstrap is the tool we want to have. The focus of
debootstrap is to create Debian rootfss on Debian and non-Debian systems with
the least possible dependencies. Given that, it is developed in shell, which is
also not maintainable.

In the long run, we'll need more and more introspection into apt & Co. for more
advanced features. One way could be multistrap re-implementation in Python, as
suggested by Wookey. ELBE has good experiences with libapt. aptly also promises
some features we would like to use (though probably not multistrapping OOTB).

Bootstrapping hybrid repos is also a useful use case. It can be achieved by
making the "secondary" distribution upgradable from Debian, but if one has a
lot of customized packages, using multistrap would require less effort and be
less error-prone as well. In Isar, we try to stay away from massive
modifications, but there are projects ending up tuning significant parts of
Debian.

The specific tools don't have to be mutually exclusive; Python offers enough
polymorphism to include both as plugins (bitbake support has to be checked).
With quite diverse requirements and opinions we already have today, we'll need
pluggability, be it for multistrap or other features; the earlier we start
playing with it, the better. For me, it is the question of enough itch rather
than resources.

For your specific use case, I don't see a problem using multistrap for meta-eid
till we have a better alternative.

With kind regards,
Baurzhan.

      parent reply	other threads:[~2019-02-14  7:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-13 13:14 kazuhiro3.hayashi
2019-02-13 13:56 ` Claudius Heine
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 ` Baurzhan Ismagulov [this message]

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=20190214072339.GP805@yssyq.m.ilbers.de \
    --to=ibr@radix50.net \
    --cc=isar-users@googlegroups.com \
    --cc=meta-eid@googlegroups.com \
    --cc=wookey@wookware.org \
    /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