[RFC][PATCH] enhance boot-directdisk.bbclass to generate .vmdk image

The self-hosted-image work needs a live-bootable and r/w-able image format. The 
existing .iso isn't ok since it's readonly.
The existing .hddimg is not a good choice, since it has a 
two-option(boot,install) syslinux function that we don't need: we don't hope a 
user be potentially able to "install", and I think it may be not suitble to 
hack build_hddimg to hide the "install"? Moreever, .hddimg is not that 
compatibible with some devices and we hope to have the most compatibility.

So I think the .hdddirect format is a good choice and I made this patch to 
adopt it and also enhanced boot-directdisk.bbclass to generate .vmdk image so 
we can run it on vmware, too.
BTW, currently self-hosted-image is the only user of boot-directdisk.bbclass; 
with the adoption of .hdddirect and .vmdk formats, a user can still use 
"IMAGE_FSTYPES += 'live'" to generate the .iso and .hddimg format.

Please give comment. Thanks!

Please review the following changes for suitability for inclusion. If you have
any objections or suggestions for improvement, please respond to the patches. If
you agree with the changes, please provide your Acked-by.

The following changes since commit 468998cddbe1a803096c9b357e1b5daa3b7e8c2e:

  command.py: add parseConfigurationFiles API (2012-01-06 16:01:44 +0000)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/self-hosted-v7
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/self-hosted-v7

Dexuan Cui (1):
  self-hosted-image: generate the .hdddirect and .vmdk image files

 meta/classes/boot-directdisk.bbclass          |   10 +++++++++-
 meta/recipes-core/images/self-hosted-image.bb |   11 +++++++++--
 2 files changed, 18 insertions(+), 3 deletions(-)

-- 
1.7.6


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to