<?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>6826</bug_id>
          
          <creation_ts>2014-10-13 10:31:26 +0000</creation_ts>
          <short_desc>wic: invoke &apos;wic create directdisk -e core-image-minimal&apos; failed</short_desc>
          <delta_ts>2014-10-20 02:40:53 +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>RESOLVED</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 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hongxu Jia">hongxu.jia</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46287</commentid>
    <comment_count>0</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2014-10-13 10:31:26 +0000</bug_when>
    <thetext>1. build core-image-minimal
$ bitbake core-image-minimal

2. run wic failed
$ wic create directdisk -e core-image-minimal
...
|Creating image(s)...
|Error: exec_cmd: install -m 444 /home/jiahongxu/yocto/
build-20141010-yocto/tmp/deploy/images/qemux86-64/syslinux/
ldlinux.sys /var/tmp/wic/build/hdd/boot/ldlinux.sys
returned &apos;1&apos; instead of 0
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46289</commentid>
    <comment_count>1</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2014-10-13 10:43:12 +0000</bug_when>
    <thetext>Add checking for the existance of syslinux to fix this issue.
If syslinux didn&apos;t exist in anywhere, prompt user to build it.

$ wic create directdisk -e core-image-minimal
...
Creating image(s)...

Error: Please build syslinux first
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46437</commentid>
    <comment_count>2</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2014-10-20 02:40:53 +0000</bug_when>
    <thetext>Merged into master:

commit 9c218a319e006b8edf2f1ef9eada9b5611b85e12
Author: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
Date:   Mon Oct 13 18:46:34 2014 +0800

    wic/bootimg-pcbios.py: checking the existance of syslinux
    
    While syslinux not existed in $bootimg_dir, there was a error:
    
    $ wic create directdisk -e core-image-minimal
    ...
    |Creating image(s)...
    |Error: exec_cmd: install -m 444 /home/jiahongxu/yocto/
    build-20141010-yocto/tmp/deploy/images/qemux86-64/syslinux/
    ldlinux.sys /var/tmp/wic/build/hdd/boot/ldlinux.sys
    returned &apos;1&apos; instead of 0
    ...
    
    Add checking for the existance of syslinux to fix this issue.
    If syslinux didn&apos;t exist in anywhere, prompt user to build it.
    
    [YOCTO #6826]
    
    (From OE-Core rev: c2d4364d9fbbda64598f0a3eb0b0890932bb7742)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>