[elbe-devel] [PATCH v2 4/4] elbeproject: Pass other components to mk_source_cdrom
Olivier Dion
dion at linutronix.de
Sat May 9 23:35:13 CEST 2020
On Fri, 08 May 2020, Torben Hohn <torben.hohn at linutronix.de> wrote:
>> try:
>> self.repo_images += mk_source_cdrom(env.rfs,
>> self.arch,
>> @@ -486,7 +519,8 @@ class ElbeProject (object):
>> init_codename,
>> self.builddir,
>> cdrom_size=cdrom_size,
>> - xml=self.xml)
>> + xml=self.xml,
>> + others=others)
>
> now you have others here.
> I dont really see them very different from env.rfs
>
> Please try to generalize this, so that the others and env.rfs could be
> part of the same dict/list
>
> Maybe pass in a list of BuildEnv or something ?
Alright, let's pass a dictionnary of the form { "component": dsc_lst }.
Packages will be downloaded before the call to mk_source_cdrom using the
correct BuildEnv.
However, this requires to pass the mirror explicitly.
--
Olivier Dion
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
More information about the elbe-devel
mailing list