Patchwork [V2,0/4] Postinst logging reimplementation

mail settings
Date May 20, 2013, 2:50 a.m.
Message ID <>
Download mbox
Permalink /patch/50125/
State New
Headers show


git:// ChenQi/postinst-logging-reimplementation

Comments - May 20, 2013, 2:50 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 /etc/default/postinst.
2. The log location is always /var/log/postinstall.log. Do not allow configuration, because this is
   mainly for debugging purpose and /var/log/postinstall.log is a good place. 
   Making it configurable is not necessary.

The following changes since commit a9f5bf0ed398bf9cb861feaa8b6fefd8645b1d09:

  sanity.bbclass: Attach the missing value to a format string. (2013-05-13 21:54:40 +0300)

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                 |    7 +++++++
 meta/recipes-devtools/dpkg/        |   11 ++++++-----
 meta/recipes-devtools/opkg/        |   11 ++++++-----
 meta/recipes-devtools/rpm/ |   13 +++++++------
 4 files changed, 26 insertions(+), 16 deletions(-)