Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH V2 0/4] Postinst logging reimplementation
@ 2013-05-20  2:50 Qi.Chen
  2013-05-20  2:50 ` [PATCH V2 1/4] image.bbclass: add postinst_enable_logging Qi.Chen
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Qi.Chen @ 2013-05-20  2:50 UTC (permalink / raw)
  To: openembedded-core; +Cc: qingtao.cao

From: Chen Qi <Qi.Chen@windriver.com>

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

-- 
1.7.9.5




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-05-21  2:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-20  2:50 [PATCH V2 0/4] Postinst logging reimplementation Qi.Chen
2013-05-20  2:50 ` [PATCH V2 1/4] image.bbclass: add postinst_enable_logging Qi.Chen
2013-05-20  2:50 ` [PATCH V2 2/4] dpkg: modify the run-postinst script to enable postinst logging Qi.Chen
2013-05-20 16:09   ` Paul Eggleton
2013-05-21  2:25     ` ChenQi
2013-05-20  2:50 ` [PATCH V2 3/4] opkg: " Qi.Chen
2013-05-20  2:50 ` [PATCH V2 4/4] rpm-postinsts.bb: " Qi.Chen
2013-05-20 15:38   ` Saul Wold
2013-05-21  2:27     ` ChenQi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox