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 23bf51f168..5a189cff97 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -555,7 +555,7 @@ class RpmPM(PackageManager): | |||
555 | repo_uris = [uri + "/" + arch for arch in feed_archs.split()] | 555 | repo_uris = [uri + "/" + arch for arch in feed_archs.split()] |
556 | else: | 556 | else: |
557 | repo_uris = [uri] | 557 | repo_uris = [uri] |
558 | 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))) | 558 | open(oe.path.join(self.target_rootfs, "etc", "yum.repos.d", repo_name + ".repo"), 'w').write("[%s]\nname=%s\nbaseurl=%s\n" % (repo_name, repo_name, " ".join(repo_uris))) |
559 | 559 | ||
560 | def _prepare_pkg_transaction(self): | 560 | def _prepare_pkg_transaction(self): |
561 | os.environ['D'] = self.target_rootfs | 561 | os.environ['D'] = self.target_rootfs |