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:
parent
cd59b94ded
commit
93da5caa69
10 changed files with 13 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
"name": "org.osbuild.dnf",
|
||||
"options": {
|
||||
"releasever": "30",
|
||||
"basearch": "x86_64",
|
||||
"install_weak_deps": false,
|
||||
"repos": {
|
||||
"fedora": {
|
||||
|
|
@ -31,6 +32,7 @@
|
|||
"name": "org.osbuild.dnf",
|
||||
"options": {
|
||||
"releasever": "30",
|
||||
"basearch": "x86_64",
|
||||
"install_weak_deps": true,
|
||||
"repos": {
|
||||
"fedora": {
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
"name": "org.osbuild.dnf",
|
||||
"options": {
|
||||
"releasever": "30",
|
||||
"basearch": "x86_64",
|
||||
"repos": {
|
||||
"fedora": {
|
||||
"name": "Fedora",
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
"name": "org.osbuild.dnf",
|
||||
"options": {
|
||||
"releasever": "30",
|
||||
"basearch": "x86_64",
|
||||
"repos": {
|
||||
"fedora": {
|
||||
"name": "Fedora",
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
"name": "org.osbuild.dnf",
|
||||
"options": {
|
||||
"releasever": "30",
|
||||
"basearch": "x86_64",
|
||||
"repos": {
|
||||
"fedora": {
|
||||
"name": "Fedora",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue