From b80a505be594bcd3de21d23522fdfb0e43d5bbf7 Mon Sep 17 00:00:00 2001 From: Alan Jenkins Date: Sun, 29 Apr 2018 17:49:17 +0100 Subject: [PATCH] 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. --- engine/resources/packagekit/packagekit.go | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/resources/packagekit/packagekit.go b/engine/resources/packagekit/packagekit.go index a6215506..e3a075fc 100644 --- a/engine/resources/packagekit/packagekit.go +++ b/engine/resources/packagekit/packagekit.go @@ -56,6 +56,7 @@ var ( // TODO: add more values // noarch "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) // fedora "x86_64": "amd64",