Bug 9487

Summary: IMAGE_FSTYPES_DEBUGFS = "tar" or "tar.bz" or "tar.gz" fails
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mark Hatle <mark.hatle>
Component: coreAssignee: Mark Hatle <mark.hatle>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Undecided CC: anders.darander, meta.mr.watcher, meta.watcher, richard.purdie
Version: 2.1   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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.