public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Anton Mikanovich <amikan@ilbers.de>
To: "Schmidt, Adriaan" <adriaan.schmidt@siemens.com>,
	"isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: Re: [PATCH] sstate: Make image cache imagetype-specific
Date: Thu, 16 Dec 2021 12:22:31 +0300	[thread overview]
Message-ID: <71383be7-3921-7d1f-bff2-507fb655ac7a@ilbers.de> (raw)
In-Reply-To: <AS4PR10MB53182C2A5A388FDA15AC049CED769@AS4PR10MB5318.EURPRD10.PROD.OUTLOOK.COM>

15.12.2021 17:33, Schmidt, Adriaan wrote:
> Actually, now that IMAGE_FSTYPES supports generating multiple images
> with different types at once, multiconfig is the wrong way to go in
> this scenario.
>
> When creating the same two images via IMAGE_FSTYPES="targz-img cpiogz-img"
> there is no problem, and we can then even go one step further and
> remove the ${IMAGE_SUFFIX} completely.
> Eventually, this will enable better sharing (and caching), e.g., in this
> case both images are built from the same rootfs, which is what is
> stored in the sstate-cache.
>
> Also, when removing IMAGE_SUFFIX, the task-once-stamp logic from isar-events
> will warn that something is wrong in case IMAGE_FSTYPES is set in
> multiconfig (which is exactly what we want):
>
> ERROR: Detect multiple executions of do_image in /work/build/tmp/work/debian-buster-amd64/isar-image-base-qemuamd64/1.0-r0
> ERROR: Rerun a clean build with empty STAMPCLEAN and compare the sigdata files
>
> Adriaan

Making different image types share the same rootfs sounds really good, 
but its separation was compelled.
Some architectural changed will be needed to make it work.

-- 
Anton Mikanovich
Promwad Ltd.
External service provider of ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn, Germany
+49 (89) 122 67 24-0
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov


  reply	other threads:[~2021-12-16  9:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-15 12:57 Anton Mikanovich
2021-12-15 14:33 ` Schmidt, Adriaan
2021-12-16  9:22   ` Anton Mikanovich [this message]
2021-12-16 14:56     ` Jan Kiszka
2021-12-17 10:53   ` Baurzhan Ismagulov
2021-12-17 11:24     ` Jan Kiszka
2021-12-22 14:56 ` Anton Mikanovich
2021-12-22 15:26   ` Schmidt, Adriaan
2021-12-23 10:55 ` Anton Mikanovich

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=71383be7-3921-7d1f-bff2-507fb655ac7a@ilbers.de \
    --to=amikan@ilbers.de \
    --cc=adriaan.schmidt@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