From: Baurzhan Ismagulov <ibr@radix50.net>
To: isar-users@googlegroups.com
Subject: Re: [PATCH v2 0/5] Support multiple image types in one build
Date: Thu, 18 Nov 2021 14:41:18 +0100 [thread overview]
Message-ID: <20211118134117.GB22100@yssyq.m.ilbers.de> (raw)
In-Reply-To: <20211005110856.3cb59475@md1za8fc.ad001.siemens.net>
On Tue, Oct 05, 2021 at 11:08:56AM +0200, Henning Schild wrote:
> In fact having exactly one image type and using multiconfig is already
> very powerful. We have layers where we have custom image classes which
> include existing ones and are set as the "main type". That is super
> flexible already.
No question :) .
> I am not a fan of mc, but here we have a proposal that seems to want to
> defeat mc and is lacking a clear motivation. At least i do not fully
> understand why that change makes sense. The main point could be OE
> alignment which might be good enough but not really too important.
I guess we didn't communicate it clearly enough, this change doesn't remove the
existing infrastructure -- the current way is still supported. v2 did touch the
existing testcases -- in v3, we don't change them anymore and add a new case
for testing the new functionality.
> A simple array list is much less flexible. Imagine you want to have a
> wic-img and an ext4 and your rootfs contains "expand-on-first-boot",
> meaning wic will grow once on device ... while ext4 might need another
> ROOTFS_EXTRA/_SIZE. In fact one will likely even have different
> packages installed depending on the type. While packing the same rootfs
> into multiple images will work it is much nicer to adapt the content to
> the type. i.e. a container might need less of an init
> system/kernel/initrd or filesystem support, a wic will maybe need
> bootloader bits, and an ext4 will not need expand-on-first-boot (like
> container as well)
Thanks for the detailed example. For this use case, this approach is fine.
The motivation for multiple image types is that BSP vendors want to provide all
types of images with one image.bb and n machines, without permutations like
mc:machine1-sd mc:machine1-tgz mc:machine2-sd mc:machine2-tgz. This change
implements this use case. We'll send v3 soon.
With kind regards,
Baurzhan.
prev parent reply other threads:[~2021-11-18 13:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-28 7:13 Uladzimir Bely
2021-09-28 7:13 ` [PATCH v2 1/5] image: Make WORKDIR and STAMPs unrelated to IMAGE_TYPE Uladzimir Bely
2021-09-28 7:13 ` [PATCH v2 2/5] wic-img: Set weak default value for WKS_FILE Uladzimir Bely
2021-10-05 8:49 ` Henning Schild
2021-09-28 7:13 ` [PATCH v2 3/5] start_vm: Use the first image type to start VM Uladzimir Bely
2021-10-05 8:52 ` Henning Schild
2021-09-28 7:13 ` [PATCH v2 4/5] meta-isar: Rework mc:qemuamd64-buster configs Uladzimir Bely
2021-10-05 8:54 ` Henning Schild
2021-09-28 7:13 ` [PATCH v2 5/5] api: Rename IMAGE_TYPE to IMAGE_FSTYPES Uladzimir Bely
2021-10-05 8:56 ` Henning Schild
2021-10-05 9:08 ` [PATCH v2 0/5] Support multiple image types in one build Henning Schild
2021-11-18 13:41 ` 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=20211118134117.GB22100@yssyq.m.ilbers.de \
--to=ibr@radix50.net \
--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