[OE-core] [PATCH] lib/oe/package_manager: Use log-level warning instead of quiet
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Jul 16 22:53:01 UTC 2015
quiet means that no warnings are shown on the console and really is too
quiet for our needs. This is more verbose but that is better than too
little and does aid debugging things when they go wrong.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 98abcdb..55b8ab0 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -616,7 +616,7 @@ class RpmPM(PackageManager):
self.install_dir_path = os.path.join(self.target_rootfs, self.install_dir_name)
self.rpm_cmd = bb.utils.which(os.getenv('PATH'), "rpm")
self.smart_cmd = bb.utils.which(os.getenv('PATH'), "smart")
- self.smart_opt = "--quiet --data-dir=" + os.path.join(target_rootfs,
+ self.smart_opt = "--log-level=warning --data-dir=" + os.path.join(target_rootfs,
'var/lib/smart')
self.scriptlet_wrapper = self.d.expand('${WORKDIR}/scriptlet_wrapper')
self.solution_manifest = self.d.expand('${T}/saved/%s_solution' %
More information about the Openembedded-core
mailing list