From: Jan Kiszka <jan.kiszka@siemens.com>
To: Anton Mikanovich <amikan@ilbers.de>,
"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 15:56:13 +0100 [thread overview]
Message-ID: <5cfd3de3-a6b7-f3e2-c2dc-ac922242bf86@siemens.com> (raw)
In-Reply-To: <71383be7-3921-7d1f-bff2-507fb655ac7a@ilbers.de>
On 16.12.21 10:22, Anton Mikanovich wrote:
> 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.
>
What's still missing?
Jan
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2021-12-16 14:56 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
2021-12-16 14:56 ` Jan Kiszka [this message]
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=5cfd3de3-a6b7-f3e2-c2dc-ac922242bf86@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=adriaan.schmidt@siemens.com \
--cc=amikan@ilbers.de \
--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