<?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>5549</bug_id>
          
          <creation_ts>2013-11-18 06:32:28 +0000</creation_ts>
          <short_desc>No license files on target even if COPY_LIC_DIRS and COPY_LIC_MANIFEST is enabled</short_desc>
          <delta_ts>2013-12-27 08:40:24 +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>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chen Qi">Qi.Chen</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>ke.zou</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38835</commentid>
    <comment_count>0</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-11-18 06:32:28 +0000</bug_when>
    <thetext>When buiding images on ubuntu, the license files are not copied to target even if the two options are enabled.

Bunches of following errors appear in log.do_rootfs.
[[:not found

The problem is that on ubuntu sh is linked to dash which considers [[ as a bashism and doesn&apos;t support it.

We need to avoid bashism whenever possible in our project.

//Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38965</commentid>
    <comment_count>1</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-11-21 03:01:39 +0000</bug_when>
    <thetext>Branch: master
Commit: 4df9daee5c732c0a20dabe8515577238a1508512
URL:    http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=4df9daee5c732c0a20dabe8515577238a1508512</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39601</commentid>
    <comment_count>2</comment_count>
    <who name="Ke Zou">ke.zou</who>
    <bug_when>2013-12-27 08:40:24 +0000</bug_when>
    <thetext>verified in  poky master: 005af45191ded6185c618c708181b31281e43092

test step:

modify meta/conf/licenses.conf  
uncomment the lines:

COPY_LIC_MANIFEST = &quot;1&quot;
COPY_LIC_DIRS = &quot;1&quot;

bitbake core-image-minimal

no error log found in 

tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>