Fix double-keyed json

The second release masks the first release, which is probably a
mistake.

Order them from most significant to least;
release > distro > family > default

And fix up the indentation.

Change-Id: I54a6a49d4fe001b1a16ab38637cb55542ce96cdb
This commit is contained in:
Erik Berg 2023-03-03 11:28:43 +01:00
parent 174089a6a5
commit b78afe4c62
No known key found for this signature in database
GPG Key ID: 1182D19B0E5ED030

View File

@ -1,4 +1,15 @@
{ {
"release": {
"centos": {
"7": {
"NetworkManager": "",
"dhcp-client": ""
},
"9-stream": {
"lsb_release": "ed hostname patch postfix tar time"
}
}
},
"distro": { "distro": {
"openeuler": { "openeuler": {
"linux-firmware": "", "linux-firmware": "",
@ -7,25 +18,9 @@
"redhat-rpm-config": "openEuler-rpm-config" "redhat-rpm-config": "openEuler-rpm-config"
} }
}, },
"release": { "family": {
"centos": {
"7": {
"NetworkManager": "",
"dhcp-client": ""
}
}
},
"release": {
"centos": {
"9-stream": {
"lsb_release": "ed hostname patch postfix tar time"
}
}
},
"family": {
"redhat": { "redhat": {
"lsb_release": "redhat-lsb-core" "lsb_release": "redhat-lsb-core"
} }
} }
} }