]> code.ossystems Code Review - openembedded-core.git/commit
package_manager: default to have scriptlet output captured in log
authorChen Qi <Qi.Chen@windriver.com>
Fri, 23 Dec 2016 02:59:21 +0000 (10:59 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:04:00 +0000 (12:04 +0000)
commit0e52e0c619e02327602d83999a61d978d3a9240e
treec7d22ded4f9ef2a83e5fc1d39d328eb9af570eca
parente1fe3f8a601ba289a2e9963ef3f1309e431704eb
package_manager: default to have scriptlet output captured in log

We need to have scriptlet output captured in log. If we don't do so,
some useful information from scriptlets (especially postinstall script)
would be missing. In case a script has a warning message but it does not
necessarily have to fail, the message should be captured.

Opkg has already done that. Change for rpm and dpkg so that scriptlet
output is captured and no warning message is missing.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/package_manager.py