<?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>4617</bug_id>
          
          <creation_ts>2013-06-06 06:23:55 +0000</creation_ts>
          <short_desc>ddimage: incompatibility with dash</short_desc>
          <delta_ts>2013-06-12 23:44:05 +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>core</component>
          <version>1.5</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.5 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hongxu Jia">hongxu.jia</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>dvhart</cc>
    
    <cc>hongxu.jia</cc>
    
    <cc>kai.kang</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ning.zhang</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>sen.zhang</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>33656</commentid>
    <comment_count>0</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-06-06 06:23:55 +0000</bug_when>
    <thetext>On systems with dash as /bin/sh there were failures while invoking ddimage.
...
$ ls -al /bin/sh
lrwxrwxrwx 1 root root 9 Jun  4 17:45 /bin/sh -&gt; /bin/dash

jiahongxu:images$ sudo dash ~/yocto/poky/scripts/contrib/ddimage ./core-image-sato-emenlow-noemgd.hddimg /dev/sdb
[sudo] password for jiahongxu: 
poky/scripts/contrib/ddimage: 9: poky/scripts/contrib/ddimage: Syntax error: &quot;(&quot; unexpected
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33670</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-06-06 14:37:20 +0000</bug_when>
    <thetext>Drop the function keyword from the script, that&apos;s a bashism. Apologies.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33875</commentid>
    <comment_count>2</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-06-12 23:44:05 +0000</bug_when>
    <thetext>Merged into master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a3bf47abb4f3c4df65faef28ba52e5fc33301c73</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>