fedora: use product and os version for discinfo release field
Signed-off-by: Achilleas Koutsou <achilleas@koutsou.net>
This commit is contained in:
parent
1324f7fb8c
commit
e6c7815d41
17 changed files with 18 additions and 17 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -10291,7 +10291,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "aarch64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 35"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10343,7 +10343,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "aarch64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 35"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10484,7 +10484,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "x86_64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 35"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10536,7 +10536,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "x86_64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 35"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10811,7 +10811,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "aarch64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 36"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10863,7 +10863,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "aarch64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 36"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10996,7 +10996,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "x86_64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 36"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -11048,7 +11048,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "x86_64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 36"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10921,7 +10921,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "aarch64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 37"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10973,7 +10973,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "aarch64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 37"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -11114,7 +11114,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "x86_64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 37"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -11166,7 +11166,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "x86_64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 37"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10905,7 +10905,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "aarch64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 38"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10957,7 +10957,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "aarch64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 38"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -11090,7 +11090,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "x86_64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 38"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -11142,7 +11142,7 @@
|
|||
"type": "org.osbuild.discinfo",
|
||||
"options": {
|
||||
"basearch": "x86_64",
|
||||
"release": "202010217.n.0"
|
||||
"release": "Fedora 38"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue