Skip to content

Postinst logging reimplementation

[email protected] openembedded-core 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 0 repliesNew
  2. v34 patches 0 repliesSuperseded
  3. v24 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches4 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4image.bbclass: add postinst_enable_loggingmeta/classes/image.bbclass+11 -00 replies
2/4dpkg: modify the run-postinst script to enable postinst loggingmeta/recipes-devtools/dpkg/dpkg.inc+6 -50 replies
3/4opkg: modify the run-postinst script to enable postinst loggingmeta/recipes-devtools/opkg/opkg.inc+6 -10 replies
4/4rpm-postinsts.bb: enable postinst loggingmeta/recipes-devtools/rpm/rpm-postinsts.bb+9 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH V4 0/4] Postinst logging reimplementation

From: Chen Qi <[email protected]>

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

Implementation:
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://git.pokylinux.org/poky-contrib ChenQi/postinst-logging-reimplementation
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=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 |   17 +++++++++--------
 4 files changed, 32 insertions(+), 14 deletions(-)
Signature · 1 line
1.7.9.5