diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2015-12-09 18:48:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-27 11:27:01 +0000 |
commit | 5cb597a19dbfe825e5b26d828e18644c9ee58f86 (patch) | |
tree | 1c2c3861005ba214a0f9c6775324efb790e415d6 /LICENSE | |
parent | ce6f15dc3905ab0b061b20cc35fd179fdd9e070f (diff) | |
download | openembedded-core-5cb597a19dbfe825e5b26d828e18644c9ee58f86.tar.gz openembedded-core-5cb597a19dbfe825e5b26d828e18644c9ee58f86.tar.bz2 openembedded-core-5cb597a19dbfe825e5b26d828e18644c9ee58f86.zip |
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 'LICENSE')
0 files changed, 0 insertions, 0 deletions