diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/package_manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index f7190cf0b9..f1b65bdbbc 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -489,7 +489,7 @@ class RpmPM(PackageManager): | |||
489 | 489 | ||
490 | def _configure_dnf(self): | 490 | def _configure_dnf(self): |
491 | # libsolv handles 'noarch' internally, we don't need to specify it explicitly | 491 | # libsolv handles 'noarch' internally, we don't need to specify it explicitly |
492 | archs = [i for i in self.archs.split() if i not in ["any", "all", "noarch"]] | 492 | archs = [i for i in reversed(self.archs.split()) if i not in ["any", "all", "noarch"]] |
493 | # This prevents accidental matching against libsolv's built-in policies | 493 | # This prevents accidental matching against libsolv's built-in policies |
494 | if len(archs) <= 1: | 494 | if len(archs) <= 1: |
495 | archs = archs + ["bogusarch"] | 495 | archs = archs + ["bogusarch"] |