Patchwork [V4,0/4] Postinst logging reimplementation

mail settings
Date May 23, 2013, 4:43 a.m.
Message ID <>
Download mbox
Permalink /patch/50357/
State New
Headers show


git:// ChenQi/postinst-logging-reimplementation

Comments - May 23, 2013, 4:43 a.m.
From: Chen Qi <>

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 ${sysconfdir}/default/postinst.
2. The log location is by default ${localstatedir}/log/postinstall.log. 
   But it could be configured to a different location.

The following changes since commit 21089515bd18ba18e86ec8f72ff8141b9fb1dea8:

  ref-manual: Added xmlto and dblatex packages for docs (2013-05-22 17:23:41 +0100)

are available in the git repository at:

  git:// 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 enable postinst logging

 meta/classes/image.bbclass                 |   11 +++++++++++
 meta/recipes-devtools/dpkg/        |   11 ++++++-----
 meta/recipes-devtools/opkg/        |    7 ++++++-
 meta/recipes-devtools/rpm/ |   17 +++++++++--------
 4 files changed, 32 insertions(+), 14 deletions(-)