Bug 9161 - make vm and live image can build together
Summary: make vm and live image can build together
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.1 M3
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-24 08:23 UTC by Robert Yang
Modified: 2016-03-31 01:23 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.