[V3,0/4] Postinst logging reimplementation

Submitted by Qi.Chen@windriver.com on May 21, 2013, 8:12 a.m. | Patch ID: 50215


Message ID cover.1369123754.git.Qi.Chen@windriver.com
State New
Headers show


git://git.pokylinux.org/poky-contrib ChenQi/postinst-logging-reimplementation

Commit Message

Qi.Chen@windriver.com May 21, 2013, 8:12 a.m.
From: Chen Qi <Qi.Chen@windriver.com>

1. Enable postinst logging if 'debug-tweaks' is in IMAGE_FEATURES
2. Make rpm, opkg and dpkg not depend on IMAGE_FEATURES and POSTLOG

1. The run-postinst scripts will log outputs by checking the configuration in /etc/default/postinst.
2. The log location is by default /var/log/postinstall.log. 
   But it could be configured to a different location.

The following changes since commit 6271ac326d08fb3e9b4c2008b796233ee11a83e4:

  zlib: put shared libraries in base_libdir (2013-05-21 00:18:46 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib ChenQi/postinst-logging-reimplementation

Chen Qi (4):
  image.bbclass: add postinst_enable_logging
  dpkg: modify the run-postinst script to enable postinst logging
  opkg: modify the run-postinst script to enable postinst logging
  rpm-postinsts.bb: enable postinst logging

 meta/classes/image.bbclass                 |   11 +++++++++++
 meta/recipes-devtools/dpkg/dpkg.inc        |   11 ++++++-----
 meta/recipes-devtools/opkg/opkg.inc        |    7 ++++++-
 meta/recipes-devtools/rpm/rpm-postinsts.bb |   13 +++++++------
 4 files changed, 30 insertions(+), 12 deletions(-)