Learn more about these different git repos.
Other Git URLs
with the pungi cli we make the install tree and iso with XZ_DEFAULTS=--memlimit-compress=3700MiB pungi -c $KICKSTARTS/fedora-install-server.ks --destdir $DESTDIR --cachedir /srv/pungi/cache/ -B -I --ver $VERSION --workdirbase=/tmp/work --variant Server --family Fedora --installpkgs fedora-productimg-server"
the "--installpkgs fedora-productimg-server" flag gets passed onto lorax to tell it to include the branding package in the install environment. we need to port this functionality to pungi-koji
for pungi-koji we will need to define in the variants xml the packages to pass onto lorax to install.
This change would need to be made in the buildinstall phase (that is the only place calling lorax). However, as far as I can tell from the code, lorax is actually called once per architecture, and variants are not even considered at this point. Should this be refactored to run lorax for each variant separately?
buildinstall
lorax
Anyway, the main problem with this part of the code base is that there are no tests and no documentation on how to actually run the buildinstall phase.
This change would need to be made in the buildinstall phase (that is the only place calling lorax). However, as far as I can tell from the code, lorax is actually called once per architecture, and variants are not even considered at this point. Should this be refactored to run lorax for each variant separately? Anyway, the main problem with this part of the code base is that there are no tests and no documentation on how to actually run the buildinstall phase.
Yes we will need to change things to run lorax once per variant when the variant is supposed to be installable.
As for whether variant is installable, is this information available somewhere already or do we need to define it in variants xml as well? Do you have some example of a variant that is not installable?
I have opened pull request #84 with initial implementation. The changes are split in multiple commits so they can be followed easily.
In a nutshell, the changes are this:
I have no idea if this is the right thing.
A couple questions:
--variant
work/arch/buildinstall
workstation variant for instance we would pass "--variant Workstation"
This should fix the problem with output directories. The --variant argument is already used.
Login to comment on this ticket.