Bug 7426 - [HOB]when build qemu images, there's no "ext4" option in "advanced configuration"
Summary: [HOB]when build qemu images, there's no "ext4" option in "advanced configurat...
Status: VERIFIED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Richard Purdie
QA Contact: Ke Zou
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-03-09 05:56 UTC by Ke Zou
Modified: 2015-04-08 06:44 UTC (History)
9 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 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