From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1.windriver.com ([147.11.146.13]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1UeGSs-0004TQ-Hl for openembedded-core@lists.openembedded.org; Mon, 20 May 2013 05:08:51 +0200 Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail1.windriver.com (8.14.5/8.14.3) with ESMTP id r4K2oQDt017181 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Sun, 19 May 2013 19:50:26 -0700 (PDT) Received: from pek-qchen1-d1.corp.ad.wrs.com (128.224.162.233) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.2.342.3; Sun, 19 May 2013 19:50:25 -0700 From: To: Date: Mon, 20 May 2013 10:50:27 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Cc: qingtao.cao@windriver.com Subject: [PATCH V2 0/4] Postinst logging reimplementation X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 03:09:24 -0000 Content-Type: text/plain From: Chen Qi 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