Bug 7426

Summary: [HOB]when build qemu images, there's no "ext4" option in "advanced configuration"
Product: [Build System, Metadata & Runtime] Hob Reporter: Ke Zou <ke.zou>
Component: hobAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED FIXED QA Contact: Ke Zou <ke.zou>
Severity: normal    
Priority: Undecided CC: alexandru.c.georgescu, belen.barros.pena, cristiana.voicu, poky.bs.watcher, poky.watcher, richard.purdie, valentin.popa, yi.zhao, zhangle.yang
Version: 1.8   
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 Ke Zou 2015-03-09 05:56:04 UTC
Currently we have ext4 type images for qemu in YOCTO 1.8, but in HOB we don't have this configuration option.
Please note that in Build Appliance test, it's the same
Comment 1 Belen Barros Pena 2015-03-12 10:30:13 UTC
Unfortunately, we are no longer actively developing Hob, so we are in no position to provide a fix for this.

We will happily take a patch, though, if anybody would like to submit a fix.
Comment 2 Alexandru Georgescu 2015-03-31 07:05:14 UTC
(In reply to comment #1)
> Unfortunately, we are no longer actively developing Hob, so we are in no
> position to provide a fix for this.
> 
> We will happily take a patch, though, if anybody would like to submit a fix.

Hi Belen,
This blocks running qemu from HOB in BA as Ke mentioned. So I believe this will need to be whitelisted if it won't be fixed during 1.8
Comment 3 Richard Purdie 2015-03-31 11:24:41 UTC
A possible solution may be:

--- a/bitbake/bin/image-writer
+++ b/bitbake/bin/image-writer
@@ -34,7 +34,7 @@ from bb.ui.crumbs.hig.deployimagedialog import DeployImageDialog
 from bb.ui.crumbs.hig.imageselectiondialog import ImageSelectionDialog
 
 # I put all the fs bitbake supported here. Need more test.
-DEPLOYABLE_IMAGE_TYPES = ["jffs2", "cramfs", "ext2", "ext3", "btrfs", "squashfs", "ubi", "vmdk"]
+DEPLOYABLE_IMAGE_TYPES = ["jffs2", "cramfs", "ext2", "ext3", "ext4", "btrfs", "squashfs", "ubi", "vmdk"]
 Title = "USB Image Writer"
 
 class DeployWindow(gtk.Window):
Comment 4 Richard Purdie 2015-03-31 21:33:30 UTC
We can fix this, will take ownership.
Comment 6 Ke Zou 2015-04-08 06:15:36 UTC
verified with build 1.8M4 rc2