engine: resources: packagekit: Add Arch mapping 'any' for Arch Linux compatibility

Arch Linux uses the mapping architecture name 'any'. This mapping was
missing from mgmt resulting in an error stating that arch 'any' did not
exist. Adding this mapping allows successful installation of packages
under Arch Linux.
This commit is contained in:
Alan Jenkins
2018-04-29 17:49:17 +01:00
parent 412a25462e
commit b80a505be5

View File

@@ -56,6 +56,7 @@ var (
// TODO: add more values // TODO: add more values
// noarch // noarch
"noarch": "ANY", // special value "ANY" (noarch as seen in Fedora) "noarch": "ANY", // special value "ANY" (noarch as seen in Fedora)
"any": "ANY", // special value "ANY" ('any' as seen in ArchLinux)
"all": "ANY", // special value "ANY" ('all' as seen in Debian) "all": "ANY", // special value "ANY" ('all' as seen in Debian)
// fedora // fedora
"x86_64": "amd64", "x86_64": "amd64",