summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-12-11 11:59:04 -0600
committerSaul Wold <sgw@linux.intel.com>2012-12-14 15:17:19 -0800
commit08b980da3caafc331fef457a16466eda98139bb4 (patch)
tree8c3163ca06daee4630bb705a4db53161b5f9794a /meta/classes
parent355a621caca66ed393d36fff6be8918921cf45ae (diff)
downloadopenembedded-core-08b980da3caafc331fef457a16466eda98139bb4.tar.gz
openembedded-core-08b980da3caafc331fef457a16466eda98139bb4.tar.bz2
openembedded-core-08b980da3caafc331fef457a16466eda98139bb4.zip
package_rpm.bbclass: Add a simply way to enable RPM debugging
Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package_rpm.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 7af1d6c0cc..6a0bb91d23 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