Bug 9487 - IMAGE_FSTYPES_DEBUGFS = "tar" or "tar.bz" or "tar.gz" fails
Summary: IMAGE_FSTYPES_DEBUGFS = "tar" or "tar.bz" or "tar.gz" fails
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Undecided major
Target Milestone: ---
Assignee: Mark Hatle
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-04-19 14:54 UTC by Mark Hatle
Modified: 2016-04-21 14:48 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hatle 2016-04-19 14:54:37 UTC
When constructing the companion filesystem (and IMAGE_GEN_DEBUGFS = "1" is set).

When the filesystem is set to 'tar.bz2'  The companion filesystem fails with:

 pbzip2: *ERROR: File [core-image-minimal-qemux86-20160419134145-dbg.rootfs.debugfs_tar] NOT found!  Skipping...
| -------------------------------------------
| WARNING: /home/mhatle/git/oss/oe-core/build-debugfs/tmp-glibc/work/qemux86-oe-linux/core-image-minimal/1.0-r0/temp/run.do_image_debugfs_tar.60453:1 exit 1 from 'pbzip2 -f -k core-image-minimal-qemux86-20160419134145-dbg.rootfs.debugfs_tar'
| ERROR: Function failed: do_image_debugfs_tar (log file is located at /home/mha

or a similar fault when set to "tar.gz", but instead running gzip.  (The filename is incorrect.  It should not be looking for 'debugfs_tar'.)


If the value is set to 'tar'.  The system constructs and them immediately deletes the companion filesystem it generated.
Comment 1 Mark Hatle 2016-04-19 15:01:36 UTC
Patch sent to mailing list.