From: Jan Kiszka <jan.kiszka@siemens.com>
To: "Moessbauer, Felix (T CED OES-DE)" <felix.moessbauer@siemens.com>,
"amikan@ilbers.de" <amikan@ilbers.de>,
"isar-users@googlegroups.com" <isar-users@googlegroups.com>
Cc: "Schmidt, Adriaan (T CED EDC-DE)" <adriaan.schmidt@siemens.com>
Subject: Re: [PATCH v3 2/3] deploy boot files via sstate-cache
Date: Tue, 9 Jan 2024 14:46:10 +0100 [thread overview]
Message-ID: <2cddc01d-2a6f-4590-935e-b6ce7912d3ce@siemens.com> (raw)
In-Reply-To: <1d0847434c11cf121ef541ff7a47a1158c4ca6a6.camel@siemens.com>
On 09.01.24 13:46, Moessbauer, Felix (T CED OES-DE) wrote:
> Am Freitag, dem 29.12.2023 um 09:29 +0200 schrieb Anton Mikanovich:
>> 23/02/2023 08:43, Felix Moessbauer wrote:
>>> This patch changes how we deploy the boot files.
>>> Instead of manually deploying, we use the sstate infrastructure for
>>> that. By that, accidental overrides of the artifacts can be
>>> automatically detected. On clean, the artifacts are also cleaned.
>>>
>>> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
>>
>> Hello Felix,
>>
>> This logic fails on fargets that deploy DTB files if building several
>> distros
>> inside one builddir. DTB filenames are usually the same in this case,
>> so
>> it is
>> detected as copy of already exist files.
>
> Hi,
>
> this is a bug in the initial deploy logic which is just uncovered by
> the deploy-via-sstate mechanism. In the past, we probably had data-
> races on these files (of course only if the targets were build in
> parallel).
>
> One possible fix would be to prefix the DTB files with the
> image+machine+distro name. How is this done in OE?
Careful with renaming, I'm not sure of we aren't picking up the DTBs
from there and also relying on the names as the firmware will need
specific naming as well. This needs at least double-checking.
Jan
--
Siemens AG, Technology
Linux Expert Center
next prev parent reply other threads:[~2024-01-09 13:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-23 6:43 [PATCH v3 0/3] Fix data-race in deployment of initrd Felix Moessbauer
2023-02-23 6:43 ` [PATCH v3 1/3] add initramfs to sstate-cache Felix Moessbauer
2023-02-23 6:43 ` [PATCH v3 2/3] deploy boot files via sstate-cache Felix Moessbauer
2023-12-29 7:29 ` Anton Mikanovich
2024-01-09 12:46 ` MOESSBAUER, Felix
2024-01-09 13:46 ` Jan Kiszka [this message]
2024-01-09 14:04 ` Anton Mikanovich
2024-01-10 4:27 ` Jan Kiszka
2024-02-26 13:32 ` Uladzimir Bely
2024-02-26 18:17 ` MOESSBAUER, Felix
2023-02-23 6:43 ` [PATCH v3 3/3] fix race-cond between default and custom initrd Felix Moessbauer
2023-03-06 6:05 ` [PATCH v3 0/3] Fix data-race in deployment of initrd Uladzimir Bely
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=2cddc01d-2a6f-4590-935e-b6ce7912d3ce@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=adriaan.schmidt@siemens.com \
--cc=amikan@ilbers.de \
--cc=felix.moessbauer@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