]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: add postinst_enable_logging
authorChen Qi <Qi.Chen@windriver.com>
Thu, 23 May 2013 04:43:33 +0000 (12:43 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 May 2013 09:27:39 +0000 (10:27 +0100)
commit99175cabc3936733dd92fac5ebc6f865b864fe92
tree0b5514945c4cafbf2d0174d169bf25ee118156cf
parentaeb704fee8b4ffeaeddcdb36ae4e1d62c264ce42
image.bbclass: add postinst_enable_logging

Add a function postinst_enable_logging, so that when 'debug-tweaks'
is in IMAGE_FEATURES, we create ${sysconfdir}/default/postinst config
file, which is sourced by run-postinst scripts to determine whether
to log or not, and where to log.

[YOCTO #4262]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass