<?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>285</bug_id>
          
          <creation_ts>2010-09-07 14:57:17 +0000</creation_ts>
          <short_desc>Improve overlay appending to FILESPATH syntax</short_desc>
          <delta_ts>2010-12-21 06:07:08 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</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>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>kevin.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</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>9630</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2010-09-07 14:57:17 +0000</bug_when>
    <thetext>Find a nicer way to add the current directory fo FILESPATH in overlays instead of this ugly python:

THISDIR := &quot;${@os.path.dirname(bb.data.getVar(&apos;FILE&apos;, d, True))}&quot;
FILESPATH =. &quot;${@base_set_filespath([&quot;${THISDIR}/${PN}&quot;], d)}:&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10518</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2010-10-14 14:10:15 +0000</bug_when>
    <thetext>Done in http://git.pokylinux.org/cgit.cgi/poky/commit/meta/classes/base.bbclass?id=904ae4a7531d6cb8b2cfefb7da8901b21a65ae7b

so the simpler syntax is:

FILESEXTRAPATHS := &quot;${THISDIR}/${PN}&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>