summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-12-11 11:59:04 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-17 17:24:52 +0000
commit2173ca2fb1942b45bfa532a2c316cbba7f90d823 (patch)
tree55fa3b8459961d58d767e63cff64facab3e7c399
parente1345b76c04b5a829b7219c12772bec1fb301850 (diff)
downloadpoky-2173ca2fb1942b45bfa532a2c316cbba7f90d823.tar.gz
package_rpm.bbclass: Add a simply way to enable RPM debugging
(From OE-Core rev: 08b980da3caafc331fef457a16466eda98139bb4) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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
348 smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-noparentdirs=1 348 smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-noparentdirs=1
349 smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-extra-macros._var=${localstatedir} 349 smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-extra-macros._var=${localstatedir}
350 smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-extra-macros._tmppath=/install/tmp 350 smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-extra-macros._tmppath=/install/tmp
351 # Optional debugging
352 #smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-log-level=debug
353
351 # Delay this until later... 354 # Delay this until later...
352 #smart --data-dir=${target_rootfs}/var/lib/smart channel --add rpmsys type=rpm-sys -y 355 #smart --data-dir=${target_rootfs}/var/lib/smart channel --add rpmsys type=rpm-sys -y
353 356