<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6889</bug_id>
          
          <creation_ts>2014-10-26 08:24:11 +0000</creation_ts>
          <short_desc>vmdk and live can&apos;t work together</short_desc>
          <delta_ts>2015-03-26 10:33:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>deployment</component>
          <version>1.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>padam.singh</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Alexandru Georgescu">alexandru.c.georgescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46577</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2014-10-26 08:24:11 +0000</bug_when>
    <thetext>If we set these in local.conf:

IMAGE_FSTYPES += &quot;vmdk&quot;
IMAGE_FSTYPES += &quot;live&quot;
SYSLINUX_LABELS = &quot;boot&quot;
SYSLINUX_TIMEOUT = &quot;50&quot;
AUTO_SYSLINUXMENU = &quot;1&quot; 

Then the vmdk doesn&apos;t work since the settings in image-live.bbclass and image-vmdk.bbclass are conflicted:

image-live.bbclass:
INITRD_IMAGE ?= &quot;core-image-minimal-initramfs&quot;
INITRD ?= &quot;${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.gz&quot;
SYSLINUX_ROOT = &quot;root=/dev/ram0&quot;
SYSLINUX_TIMEOUT ?= &quot;10&quot;
SYSLINUX_LABELS ?= &quot;boot install&quot;

image-vmdk.bbclass:
SYSLINUX_ROOT ?= &quot;root=/dev/sda2&quot;
SYSLINUX_PROMPT ?= &quot;0&quot;
SYSLINUX_TIMEOUT ?= &quot;10&quot;
SYSLINUX_LABELS = &quot;boot&quot;

Note the conflicts are INITRD and SYSLINUX_ROOT, the INITRD is for core-image-minimal-initramfs, not for the image-image such as core-image-sato, and the SYSLINUX_ROOT are different.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49609</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-03-20 15:26:07 +0000</bug_when>
    <thetext>*** Bug 7454 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49721</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2015-03-25 02:07:50 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=72ead278876fbed55b0403732b0b840ca41212d1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49792</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-03-26 10:33:12 +0000</bug_when>
    <thetext>Verified with fido:8b3d3e7c957ad06c390886487f69aeb8e145da6a

[cosscat@Fedora-CCC build]$ bitbake core-image-minimal
WARNING: Host distribution &quot;Fedora-20&quot; has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
ERROR:  OE-core&apos;s config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Error, IMAGE_FSTYPES vmdk and live can&apos;t be built together


Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
[cosscat@Fedora-CCC build]$</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>