summaryrefslogtreecommitdiffstats
path: root/meta/classes/image-vmdk.bbclass
AgeCommit message (Collapse)Author
2014-08-02image-vmdk.bbclass: use sda rather than hdaRobert Yang
The modern kernels may not support IDE (CONFIG_IDE=y), but it should support SCSI in most of the cases. The boot-directdisk.bbclass uses sda, too. Remove an extra space from image-live.bbclass and image-vmdk.bbclass to not confuse the user. (From OE-Core rev: 842a797460cd07b779ab588a4ece7e5d4d97417b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-17image-vmdk.bbclass: set timeout to 1 secondRobert Yang
The SYSLINUX_TIMEOUT ?= "1" means 0.1 second which is too short, set to 1 second as mage-live.bbclass and boot-directdisk.bbclass does. (From OE-Core rev: 4bbfd25345858720d14c66b84f38fee42168915f) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-20image-vmdk.bbclass: Don't force syslinux timeoutKyle Russell
Don't force SYSLINUX_TIMEOUT and SYSLINUX_PROMPT if overrides have been defined elsewhere for an image configuration. (From OE-Core rev: a6522c19af9525a6e0bed241f2d926faaef76827) Signed-off-by: Kyle Russell <bkylerussell@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-20image*.bbclass, bootimg.bbclass: add image type dependenciesLaurentiu Palcu
The following dependencies were manually added in the image creation code. However, in order to have an image dependency mechanism in place, use a new variable, IMAGE_TYPEDEP, to declare that an image type depends on another being already created. The following dependencies are added by this commit: elf -> cpio.gz live -> ext3 vmdk -> ext3 iso -> ext3 hddimg -> ext3 This commit adds also another new variable: IMAGE_TYPES_MASKED. Currently, masking out certain types from IMAGE_FSTYPES was hardcoded in the image creation code. [YOCTO #5830] (From OE-Core rev: 5e2796aa28e02ae3a076c6593c6533753720b13d) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-12image-vmdk.bbclass: disable the NOISO = "1"Robert Yang
The vmdk needed hddimg which was generated by do_bootimg in the past, but do_bootimg generated both iso and hddimg, so we set NOISO = "1", it now uses do_bootdirectdisk, doesn't use do_bootimg anymore, so we don't need NOISO = "1", and need remove it, otherwise: IMAGE_FSTYPES += "live vmdk" Would not generate the iso. I'd like to remove it rather than comment it, but we had comment the do_bootimg before. (From OE-Core rev: c5c1517726aa103a3cdb60abda95e28997cac7c4) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-12image-vmdk: Fix error recreating symbolic linkJonathan Liu
If the vmdk image symbolic link already exists from a previous build, overwrite it instead of returning an error. (From OE-Core rev: bcfb5a783dc94fe38539a19f4f7de249ce2391c1) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-10boot-directdisk/bootimg/image-vmdk: remove more nostamps for image generationRobert Yang
We have removed the nostamps for do_rootfs and do_build, so it seems reasonable to remove the stamps for do_bootimg, do_bootdirectdisk and do_vmdkimg. The current problem is that the do_vmdkimg always re-run, but the do_rootfs may not, so the code like below in the do_rootfs function doesn't re-run and cause problems (the symlink exists when the do_vmdkimg creates the symlink again): if d.getVar('IMAGE_LINK_NAME', True): cmds += "\trm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.*" (From OE-Core rev: 45c7dab5d51065c7b24ab5292f8e9d3104eb0626) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-24image classes: use PN for depends, not IMAGE_BASE_NAMEKoen Kooi
Some images override IMAGE_BASE_NAME in the recipe causing targets using image-{live,vmdk} to fail. (From OE-Core rev: 7e000fef0bf917f27dcad66dd90fae6c155c4d1d) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-27vmdk: Update for direstdiskSaul Wold
The conversion to directdisk is necessary due to the limitation in the mkdosfs version we carry and larger filesystems. (From OE-Core rev: 0f8a33cfa254f59bb87fe4a6727e329b0772551a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-27image-vmdk: Add symbolic link for a short named vmdk imageSaul Wold
This adds a link from the date stamped vmdk image to a shortened name file. (From OE-Core rev: fe157bb9543bbb6c9523c0feb150ae3913802379) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-13image-vmdk: add NOISO to disable iso image creation since it's not neededSaul Wold
(From OE-Core rev: 92a8d604674bd500fdb4008bc34791776c84ae33) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-01image-vmdk: Create image_vmdk class and setup image and image_types to use itSaul Wold
This creates a new image_vmdk class similar to live. The image_vmdk class needs to have a hddimg created by the image-live class, so it inherits it directly. The changes to image_types is to ensure that both live and vmdk images get the ext3 tools and dependencies. (From OE-Core rev: aa961e112b07d42c272e01f2d69f3c139e9ae70f) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>