<?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>10017</bug_id>
          
          <creation_ts>2016-07-25 11:26:02 +0000</creation_ts>
          <short_desc>base.bbclass: Having ${D} in do_install[dirs] is redundant, since it&apos;s already in do_install[cleandirs]</short_desc>
          <delta_ts>2016-09-22 10:22:49 +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>2.2</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>enhancement</bug_severity>
          <target_milestone>2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ulfalizer</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>64410</commentid>
    <comment_count>0</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-07-25 11:26:02 +0000</bug_when>
    <thetext>Hello,

do_install[cleandirs] = &quot;${D}&quot; will remove and recreate ${D} already if it does not exist. Therefore, putting ${D} in do_install[dirs] is redundant.

If ${D} was the last entry in do_install[dirs], then it would become the working directory of do_install. But it is not, so removing it makes no difference.

The most important side-effect of fixing it might be to clarify how [cleandirs] works to people reading base.bbclass.

Cheers,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66474</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-09-22 10:22:49 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7358cbf36b6e1da0d51a67258da61226f8013e06</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>