]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: Add a method for creating a companion debug filesystem
authorMark Hatle <mark.hatle@windriver.com>
Fri, 22 May 2015 19:56:53 +0000 (12:56 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 May 2015 07:10:14 +0000 (08:10 +0100)
commit1a6ed48c65f922c66b005aa966d7ee4878ee95e3
tree1cf1d67c49d79be48b4d09f36a530679fd5087d6
parent40016c7c19abdbdae4fcd86fab9672631f26712b
image.bbclass: Add a method for creating a companion debug filesystem

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@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@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@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Acked-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass
meta/lib/oe/rootfs.py