[elbe-devel] [PATCH 2/6] commands: check-build: Add cdrom checker

Olivier Dion dion at linutronix.de
Mon Jul 6 17:30:47 CEST 2020


On Wed, 24 Jun 2020, Torben Hohn <torben.hohn at linutronix.de> wrote:
> On Tue, Jun 23, 2020 at 12:31:06PM -0400, Olivier Dion wrote:
>> This checker will validate the bin-cdrom.iso and src-cdrom*.iso of a
>> build.
>> 
>> It starts by generating a binary table using the source.xml.  This
>> table is then incrementally validated by inspecting the bin-cdrom.iso.
>> Every time that a binary is validated, sources are added to the source
>> table.  The source table is not component aware yet.
>> 
>> Then, the source table is validated the same way, by incrementally
>> validating sources found in the src-cdrom*.iso.
>
> ok.
>
> This looks good.
>
> Do we have the components in the source cdrom already ?
> Or do we need to implement them ?

I'm not following you here.  Could you elaborate on that?

The problem that I face is that a component can reference multiple time
a source package from different binaries. This can be represent as a set
since every reference are all the same in a component.  But, there's
multiple components and so we need a way to determine from which
component a package is coming from to prune the correct set.

Put in other words, the current algorithm implement the source table as
{source-name: [vesion-set]}.  But I would like something like
{component-name: {source-name: [version-set]}}.

-- 
Olivier Dion
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen


More information about the elbe-devel mailing list