[oe-commits] Richard Purdie : lib/oe/package_manager: Use log-level warning instead of quiet

git at git.openembedded.org git at git.openembedded.org
Mon Jul 20 09:42:10 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 9de391260e4491a4852410adf1009a1fa0c72a5c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9de391260e4491a4852410adf1009a1fa0c72a5c

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Jul 16 23:53:01 2015 +0100

lib/oe/package_manager: Use log-level warning instead of quiet

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>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/lib/oe/package_manager.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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-commits mailing list