Replace pungi(legacy) by creating specific targets:
1) pungi-gather for collecting required RPM from comps on the targeted ISO
2) lorax for creating runtime installer (anaconda)
3) mkisofs + isohybrid + implantisomd5
This is to handle deprecated pungi-legacy on upstream and to not use pungi-koji
which is currently overkill for our purpose.
Also, switch current-testing to the master site, to use most recent
packages. Since other packages are now in separate repositories, it's
more important now.
For templates, use metalinks instead of repository directly.
dnf do not support distroverpkg option to detect $relasever value.
Instead, it looks for a various packages, starting with
'system-release(releasever)', then 'system-release' and
'redhat-release'.
Until Fedora 29's dnf it took package version for $releasever value, but
starting with Fedora 29 it takes Provides value instead (it looks like
that code was in place before already, but for some reason it didn't worked).
Both 'redhat-release' and 'system-release' are set to base Fedora
version and needs to stay this way to satisfy Fedora's packages
dependencies. This means, $releasever was set to base Fedora version,
not Qubes version, which breaks repository urls.
Add 'system-release(releasever)' (which is checked first) with Qubes
version to solve this problem.
FixesQubesOS/qubes-issues#4477
Don't include all kernel-qubes-vm packages from qubes-dom0 repo, only
those explicitly placed in dom0-updates repo.
Also, do not include a copy of the newest one.
Removing elements from a list while iterating over it cause some
elements to be missed. Specifically, this caused /boot/efi to be skipped
and left unmodified.
Fix that by iterating over list copy.
FixesQubesOS/qubes-issues#3224
* origin/pr/27:
anaconda: autoreconf before configure as configure.ac is modified and autogen.sh is not present anymore
anaconda: update spec with autosetup
anaconda: switch to source + patches