]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: The wrong name is being used for the debug filesystem
authorMark Hatle <mark.hatle@windriver.com>
Tue, 19 Apr 2016 15:01:11 +0000 (10:01 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Apr 2016 20:10:13 +0000 (21:10 +0100)
commitca088bebfc3603ef206b20501916019f0572f955
treea25f1ce6e7a9bc04b766df1b14aa0acf4e8d7db4
parentdd304a6fdc034d780e01e0055319e4a04aaad9d4
image.bbclass: The wrong name is being used for the debug filesystem

[YOCTO #9487]

The debug filesystem file name is ending in "debug_tar", it should be simply
"tar".  Strip the "debug_" piece as necessary.

To avoid deleting the tar ball, when we've asked for just the tarball we need
to check 't' and not 'realt'.

The two hunks were suggested by RP.  I've implemented and verify they work
with the settings:

PACKAGE_CLASSES = "package_rpm"
IMAGE_GEN_DEBUGFS = '1'

IMAGE_FSTYPES_DEBUGFS = "tar.bz2"

IMAGE_FSTYPES_DEBUGFS = "tar.gz"

and

IMAGE_FSTYPES_DEBUGFS = "tar"

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass