]> code.ossystems Code Review - openembedded-core.git/commit
opkg: modify the run-postinst script to enable postinst logging
authorChen Qi <Qi.Chen@windriver.com>
Thu, 23 May 2013 04:43:35 +0000 (12:43 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 May 2013 09:27:53 +0000 (10:27 +0100)
commit35be6ffc19a5156aa029397707f1e6869684b821
tree62ef5cd1a95a004f233112e6b9b8f13c08d8ffa6
parent881880992ac0edc5f928f7e3d2a8f3f993284df6
opkg: modify the run-postinst script to enable postinst logging

Enable postinst logging by checking the configuration in ${sysconfdir}
/default/postinst.

In this way, the postinst logging is enabled if 'debug-tweaks' is
in IMAGE_FEATURES, and at the same time, we avoid unnecessary rebuilt
if IMAGE_FEATURES is changed.

[YOCTO #4262]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/opkg/opkg.inc