summaryrefslogtreecommitdiff
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/package_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 54a3c5e293..23bf51f168 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -552,7 +552,7 @@ class RpmPM(PackageManager):
for uri in remote_uris:
repo_name = "oe-remote-repo" + "-".join(urlparse(uri).path.split("/"))
if feed_archs is not None:
- repo_uris = [uri + "/" + arch for arch in feed_archs]
+ repo_uris = [uri + "/" + arch for arch in feed_archs.split()]
else:
repo_uris = [uri]
open(oe.path.join(self.target_rootfs, "etc", "yum.repos.d", repo_name + ".repo"), 'w').write("[%s]\nbaseurl=%s\n" % (repo_name, " ".join(repo_uris)))