generic-poky/meta/lib/oe
Patrick Ohly c91078954e 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.

(From OE-Core rev: 5cb597a19dbfe825e5b26d828e18644c9ee58f86)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-28 09:25:19 +00:00
..
tests test_utils: import functions directly for conciseness 2013-06-07 16:48:25 +01:00
__init__.py lib/oe: turn oe into a namespace package 2014-03-17 14:01:41 +00:00
buildhistory_analysis.py classes/buildhistory: add additional variables to image information 2013-12-03 17:45:50 +00:00
cachedpath.py cachedpath.py: global name 'error' is not defined 2013-05-15 19:27:11 +03:00
classextend.py lib/oe/classextend: Fix nativesdk double name mapping 2015-07-31 10:32:36 +01:00
classutils.py oe.classutils: add module 2011-06-28 13:55:43 +01:00
copy_buildsystem.py classes/populate_sdk_ext: tweak reporting of workspace exclusion 2015-12-01 21:32:00 +00:00
data.py Remove a number of unneeded import os/bb calls 2012-07-19 12:24:50 +01:00
distro_check.py lib/oe/distro_check: don't set empty proxy keys 2015-11-24 15:55:41 +00:00
image.py image.py: avoid mkdir race when building multiple images 2015-12-01 21:32:03 +00:00
license.py license: Add support for handle INCOMPATIBLE_LICENSE in manifest creation 2015-05-09 22:28:14 +01:00
lsb.py lib/oe/lsb.py: Prioritize parsing of /etc/os-release 2015-03-22 14:42:18 +00:00
maketype.py Remove a number of unneeded import os/bb calls 2012-07-19 12:24:50 +01:00
manifest.py populate_sdk: Fix TOOLCHAIN_TARGET_TASK_ATTEMPTONLY implementation 2014-06-25 13:51:47 +01:00
package.py split_and_strip_files: regroup hardlinks to make build deterministic 2015-04-29 10:58:55 +01:00
package_manager.py package_manager.py: add debugging support for rpm scriptlet execution 2015-12-28 09:25:19 +00:00
packagedata.py bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory 2013-09-14 08:21:00 +01:00
packagegroup.py Rename PACKAGE_GROUP variable to FEATURE_PACKAGES 2014-03-07 14:45:21 +00:00
patch.py lib/oe/patch: improve extraction of patch header 2015-12-01 21:32:03 +00:00
path.py lib/oe: drop custom implementation of oe.path.relative 2014-03-07 14:58:44 +00:00
prservice.py image/kernel-module-split/eglibc-ld.inc: Remove has_key() usage 2013-05-09 14:06:51 +01:00
qa.py image/kernel-module-split/eglibc-ld.inc: Remove has_key() usage 2013-05-09 14:06:51 +01:00
recipeutils.py lib/oe/recipeutils: refactor patch_recipe_file() to use edit_metadata() 2015-12-01 21:32:04 +00:00
rootfs.py rootfs.py: Change logic to unistall packages 2015-12-12 23:42:51 +00:00
sdk.py sdk.py / OpkgSdk: remove_packaging_data() after install 2015-12-09 08:48:25 +00:00
sstatesig.py lib/oe/sstate: Add tasks_resolved handler for virtual/xxx mappings 2015-10-01 07:43:35 +01:00
terminal.py lib/oe/terminal: use C locale when determining version 2015-12-01 21:32:02 +00:00
types.py oe.types: add 'path' type 2013-08-26 11:47:18 +01:00
utils.py oe/utils.py: Add support for init/end helper functions in ThreadWorker. 2015-06-26 09:27:30 +01:00