[yocto] Bug in meta/lib/oe/package_manager.py

Lorenz lqb.list at gmail.com
Thu Nov 27 10:14:33 PST 2014


On Ubuntu 12.04 I got an error message that the number of arguments
didn't match.
Puting the arguments into a tupple solves the problem.

diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 27fdf26..dc3ad58 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -1257,10 +1257,10 @@ class OpkgPM(PackageManager):
                                                  "local-%s-feed.conf" % arch)

                     with open(cfg_file_name, "w+") as cfg_file:
-                        cfg_file.write("src/gz local-%s %s/%s" %
+                        cfg_file.write("src/gz local-%s %s/%s" % (
                                        arch,

self.d.getVar('FEED_DEPLOYDIR_BASE_URI', True),
-                                       arch)
+                                       arch))

     def _create_config(self):
         with open(self.config_file, "w+") as config_file:



More information about the yocto mailing list