<?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>7595</bug_id>
          
          <creation_ts>2015-04-10 16:40:05 +0000</creation_ts>
          <short_desc>devtool: update-recipe sometimes prints variable warning</short_desc>
          <delta_ts>2015-09-30 14:07:32 +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>devtools / tool chain</component>
          <version>1.8</version>
          <rep_platform>All</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>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.9</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Markus Lehtonen">markus.lehtonen</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Daniel Istrate">daniel.alexandrux.istrate</qa_contact>
          <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>50246</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-04-10 16:40:05 +0000</bug_when>
    <thetext>If you use devtool update-recipe after devtool modify, for some recipes you get a warning about values being replaced e.g. with mdadm: 

WARNING: Variable key FILES_${PN} ( ${base_libdir}/udev/rules.d/*.rules) replaces original key FILES_mdadm

I&apos;m not exactly sure why this is happening; it doesn&apos;t appear to cause any issue but it shouldn&apos;t be showing up in any case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54826</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2015-09-30 14:07:32 +0000</bug_when>
    <thetext>Verified on master: 4bc3f0994e68b3302a0523a3156dd0dca0cac7a0

Steps to verify:
[daniel@fedora-ws poky-build]$ devtool modify mdadm -x /tmp/mdadm
NOTE: Creating workspace layer in /media/ssd/poky-build/workspace
NOTE: Enabling workspace layer in bblayers.conf
Parsing recipes..done.
NOTE: Fetching mdadm...
NOTE: Unpacking...
NOTE: Patching...
NOTE: Source tree extracted to /tmp/mdadm
NOTE: Using source tree as build directory since recipe inherits autotools-brokensep
NOTE: Recipe mdadm now set up to build from /tmp/mdadm

Go to /tmp/mdmadm and modify a file (eg TODO) and commit -a

daniel@fedora-ws poky-build]$ devtool update-recipe mdadm
Parsing recipes..done.
NOTE: Adding new patch 0001-Updated-to-do.patch
NOTE: Updating recipe mdadm_3.3.4.bb
[daniel@fedora-ws poky-build]$ 

No warnings shown.

To put things back:

[daniel@fedora-ws poky-build]$ devtool reset mdadm
NOTE: Cleaning sysroot for recipe mdadm...
[daniel@fedora-ws poky-build]$</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>