aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2015-12-09 18:48:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-27 11:27:01 +0000
commit5cb597a19dbfe825e5b26d828e18644c9ee58f86 (patch)
tree1c2c3861005ba214a0f9c6775324efb790e415d6 /meta/recipes-devtools/rpm
parentce6f15dc3905ab0b061b20cc35fd179fdd9e070f (diff)
downloadopenembedded-core-contrib-5cb597a19dbfe825e5b26d828e18644c9ee58f86.tar.gz
package_manager.py: add debugging support for rpm scriptlet execution
By default, smart is invoked with --log-level=warning, which hides all output from pre/post install scriptlets. That makes it hard to debug scriptlet failure or why they get postponed to first-boot via /etc/rpm-postinst. The new ROOTFS_RPM_DEBUG variabled is expected to be set to an integer in local.conf an incrementally adds more output: 0 = default, only warnings 1 = --log-level=info (includes information about executing scriptlets and their output) 2 = --log-level=debug 3 = --log-level=debug plus dumps of scriplet content and command invocation The default behavior is not changed yet, but it seems that level 1 would be a better default. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/rpm')
0 files changed, 0 insertions, 0 deletions