Patchwork [v3,11/13] package_rpm.bbclass: Add a simply way to enable RPM debugging

login
register
mail settings
Submitter Paul Eggleton
Date Dec. 12, 2012, 6:31 p.m.
Message ID <e3e85c2cea279fec1605185823116cf89e149c8e.1355337025.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/40835/
State Accepted
Commit 08b980da3caafc331fef457a16466eda98139bb4
Headers show

Comments

Paul Eggleton - Dec. 12, 2012, 6:31 p.m.
From: Mark Hatle <mark.hatle@windriver.com>

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 meta/classes/package_rpm.bbclass |    3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 7af1d6c..6a0bb91 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -348,6 +348,9 @@  EOF
 		smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-noparentdirs=1
 		smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-extra-macros._var=${localstatedir}
 		smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-extra-macros._tmppath=/install/tmp
+		# Optional debugging
+		#smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-log-level=debug
+
 		# Delay this until later...
 		#smart --data-dir=${target_rootfs}/var/lib/smart channel --add rpmsys type=rpm-sys -y