From: Richard Purdie Date: Thu, 16 Jul 2015 22:53:01 +0000 (+0100) Subject: lib/oe/package_manager: Use log-level warning instead of quiet X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~29687 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9de391260e4491a4852410adf1009a1fa0c72a5c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Ross Burton --- diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 98abcdb56c4..55b8ab0bcd1 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' %