fedora: use product and os version for discinfo release field

Signed-off-by: Achilleas Koutsou <achilleas@koutsou.net>
This commit is contained in:
Achilleas Koutsou 2022-09-30 17:46:14 +02:00 committed by Tomáš Hozza
parent 1324f7fb8c
commit e6c7815d41
17 changed files with 18 additions and 17 deletions

View file

@ -1,6 +1,7 @@
package fedora
import (
"fmt"
"math/rand"
"strings"
@ -262,7 +263,7 @@ func iotInstallerImage(workload workload.Workload,
img.Variant = "IoT"
img.OSName = "fedora"
img.OSVersion = d.osVersion
img.Release = "202010217.n.0" // ???
img.Release = fmt.Sprintf("%s %s", d.product, d.osVersion)
img.Filename = t.Filename()

View file

@ -10291,7 +10291,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "aarch64",
"release": "202010217.n.0"
"release": "Fedora 35"
}
}
]

View file

@ -10343,7 +10343,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "aarch64",
"release": "202010217.n.0"
"release": "Fedora 35"
}
}
]

View file

@ -10484,7 +10484,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "x86_64",
"release": "202010217.n.0"
"release": "Fedora 35"
}
}
]

View file

@ -10536,7 +10536,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "x86_64",
"release": "202010217.n.0"
"release": "Fedora 35"
}
}
]

View file

@ -10811,7 +10811,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "aarch64",
"release": "202010217.n.0"
"release": "Fedora 36"
}
}
]

View file

@ -10863,7 +10863,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "aarch64",
"release": "202010217.n.0"
"release": "Fedora 36"
}
}
]

View file

@ -10996,7 +10996,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "x86_64",
"release": "202010217.n.0"
"release": "Fedora 36"
}
}
]

View file

@ -11048,7 +11048,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "x86_64",
"release": "202010217.n.0"
"release": "Fedora 36"
}
}
]

View file

@ -10921,7 +10921,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "aarch64",
"release": "202010217.n.0"
"release": "Fedora 37"
}
}
]

View file

@ -10973,7 +10973,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "aarch64",
"release": "202010217.n.0"
"release": "Fedora 37"
}
}
]

View file

@ -11114,7 +11114,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "x86_64",
"release": "202010217.n.0"
"release": "Fedora 37"
}
}
]

View file

@ -11166,7 +11166,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "x86_64",
"release": "202010217.n.0"
"release": "Fedora 37"
}
}
]

View file

@ -10905,7 +10905,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "aarch64",
"release": "202010217.n.0"
"release": "Fedora 38"
}
}
]

View file

@ -10957,7 +10957,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "aarch64",
"release": "202010217.n.0"
"release": "Fedora 38"
}
}
]

View file

@ -11090,7 +11090,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "x86_64",
"release": "202010217.n.0"
"release": "Fedora 38"
}
}
]

View file

@ -11142,7 +11142,7 @@
"type": "org.osbuild.discinfo",
"options": {
"basearch": "x86_64",
"release": "202010217.n.0"
"release": "Fedora 38"
}
}
]