[OE-core] [PATCH] image.bbclass: Add a method for creating a companion debug filesystem

Christopher Larson clarson at kergoth.com
Fri Nov 21 18:26:21 UTC 2014


On Tue, Nov 18, 2014 at 7:42 PM, Mark Hatle <mark.hatle at windriver.com>
wrote:

> The companion debug filesystem contains only the package database and the
> complementary *-dbg packages for the main filesystem component.  This is
> useful in a production environment to produce a companion filesystem
> capable
> of remote system debugging, without requiring corresponding debug symbols
> or
> source code on the device.
>
> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
>
> If dbg pkgs have already been installed to the rootfs image,
> the installation to companion debug filesystem will fail,
> because both of image creation make use of the same pm
> database.
>
> In this situation, try to copy installed dbg files from rootfs
> image to companion debug filesystem.
>
> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
>

This looks pretty good to me, nicely done.

Acked-by: Christopher Larson <chris_larson at mentor.com>
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20141121/8d61f5ab/attachment-0002.html>


More information about the Openembedded-core mailing list