summaryrefslogtreecommitdiffstats
path: root/meta/classes/image-vmdk.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* image-vmdk.bbclass: Don't force syslinux timeoutKyle Russell2014-02-201-2/+2
| | | | | | | | | | | 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>
* image*.bbclass, bootimg.bbclass: add image type dependenciesLaurentiu Palcu2014-02-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* image-vmdk.bbclass: disable the NOISO = "1"Robert Yang2013-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | 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>
* image-vmdk: Fix error recreating symbolic linkJonathan Liu2013-05-121-2/+1
| | | | | | | | | | | 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>
* boot-directdisk/bootimg/image-vmdk: remove more nostamps for image generationRobert Yang2013-05-101-1/+0
| | | | | | | | | | | | | | | | | | | 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>
* image classes: use PN for depends, not IMAGE_BASE_NAMEKoen Kooi2012-11-241-1/+1
| | | | | | | | | 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>
* vmdk: Update for direstdiskSaul Wold2012-03-271-3/+12
| | | | | | | | | | 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>
* image-vmdk: Add symbolic link for a short named vmdk imageSaul Wold2012-03-271-0/+2
| | | | | | | | | | 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>
* image-vmdk: add NOISO to disable iso image creation since it's not neededSaul Wold2012-03-131-0/+1
| | | | | | | (From OE-Core rev: 92a8d604674bd500fdb4008bc34791776c84ae33) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-vmdk: Create image_vmdk class and setup image and image_types to use itSaul Wold2012-03-011-0/+22
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>