Bug 9161

Summary: make vm and live image can build together
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Yang <liezhi.yang>
Component: coreAssignee: Robert Yang <liezhi.yang>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: meta.mr.watcher, meta.watcher, sgw
Version: 2.1   
Target Milestone: 2.1 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Robert Yang 2016-02-24 08:23:36 UTC
Currently, when:

IMAGE_FSTYPES += "iso vmdk"

We can't build them since there are conflicts settings, this is inconvenient.
Comment 2 Robert Yang 2016-03-31 01:23:16 UTC
For the doc team:

The vm image(hdddirect, vmdk, qcow2, vdi) and live image (hddimg, iso)
couldn't be built together because the following vars settings are
conflicted, for example:
  - SYSLINUX_ROOT (/dev/sda2 vs /dev/ram0)
  - LABELS (boot vs boot install)
  - INITRD (None vs live install)
  - SYSLINUX_CFG (see above)

The user should use SYSLINUX_ROOT_VM or SYSLINUX_ROOT_LIVE clearly to avoid the confusion, the similar to LABELS, INITRD, SYSLINUX_CFG.