stages/dnf: add mandatory basearch argument

We've been effectively using the basearch of the host, making the stage
non-reproducible: if the same pipeline was run on machines with
different architectures, it would produce different results. However,
pipelines producing different outputs must be different. Thus, this
patch includes the basearch in the pipeline.

In principle, this allows cross-arch builds. dnf should be the only
stage running binaries from the target tree. This is not yet tested.
This commit is contained in:
Lars Karlitski 2019-09-23 22:52:05 +02:00 committed by Tom Gundersen
parent cd59b94ded
commit 93da5caa69
10 changed files with 13 additions and 0 deletions

View file

@ -5,6 +5,7 @@
"name": "org.osbuild.dnf",
"options": {
"releasever": "30",
"basearch": "x86_64",
"repos": {
"fedora": {
"name": "Fedora",