distro: introduce Fedora 36 alias

Fedora 35 has been branched. Introduce an alias for Fedora 36 as it is
the current rawhide. Source of the GPG key:
https://raw.githubusercontent.com/xsuchy/distribution-gpg-keys/main/keys/fedora/RPM-GPG-KEY-fedora-36-primary
This commit is contained in:
Martin Sehnoutka 2021-09-01 14:19:09 +02:00 committed by Ondřej Budai
parent 437ba8cb33
commit cd0d450c3a
3 changed files with 67 additions and 0 deletions

View file

@ -29,6 +29,10 @@ const f35Name = "fedora-35"
const f35modulePlatformID = "platform:f35"
const f35ostreeRef = "fedora/35/%s/iot"
const f36Name = "fedora-36"
const f36modulePlatformID = "platform:f36"
const f36ostreeRef = "fedora/36/%s/iot"
type distribution struct {
name string
modulePlatformID string
@ -638,6 +642,10 @@ func NewF35() distro.Distro {
return newDistro(f35Name, f35modulePlatformID, f35ostreeRef)
}
func NewF36() distro.Distro {
return newDistro(f36Name, f36modulePlatformID, f36ostreeRef)
}
func NewHostDistro(name, modulePlatformID, ostreeRef string) distro.Distro {
return newDistro(name, modulePlatformID, ostreeRef)
}

View file

@ -19,6 +19,7 @@ var supportedDistros = []supportedDistro{
{fedora33.New, fedora33.NewHostDistro},
{fedora33.NewF34, fedora33.NewHostDistro},
{fedora33.NewF35, fedora33.NewHostDistro},
{fedora33.NewF36, fedora33.NewHostDistro},
{rhel8.New, rhel8.NewHostDistro},
{rhel84.New, rhel84.NewHostDistro},
{rhel84.NewCentos, rhel84.NewCentosHostDistro},