dpkg: save output of postinstall scripts when image firstboot
authorKang Kai <kai.kang@windriver.com>
Mon, 25 Feb 2013 02:45:13 +0000 (10:45 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Mar 2013 11:14:38 +0000 (11:14 +0000)
commit8534532d6049521d0a30530e2b07b7ea6fe89f39
treef158aa8f6d675b2b5c724884e437f2f4fba148a8
parentac6209684707af508fdf85a483d634d36c1a5ff8
dpkg: save output of postinstall scripts when image firstboot

When image feature "debug-tweaks" enabled, save output of postinstall
scripts to log file /var/log/postinstall.log when image first boot. And
the log file can be configured.

It also needs image feature "package-management" enabled. If not,
package run-postinsts will be installed and then all packages will be
configured by it. Command 'dpkg --configure' outputs nothing.

[YOCTO #3223]

(From OE-Core rev: 684b94317f5b78f6c9c993f84438f8fa7e59fd5a)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/dpkg/dpkg.inc