<?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>12678</bug_id>
          
          <creation_ts>2018-04-12 06:54:35 +0000</creation_ts>
          <short_desc>devtool finish ignoring PREFERRED_PROVIDER_virtual/kernel</short_desc>
          <delta_ts>2026-04-23 15:30:02 +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>2.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>IN PROGRESS IMPLEMENTATION</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>6.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrea Adami">andrea.adami</reporter>
          <assigned_to name="Chris Laplante">chris.laplante</assigned_to>
          <cc>chris.laplante</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80208</commentid>
    <comment_count>0</comment_count>
    <who name="Andrea Adami">andrea.adami</who>
    <bug_when>2018-04-12 06:54:35 +0000</bug_when>
    <thetext>Being the syntax is:
  $ devtool modify &lt;recipename&gt;

I have noticed that while it is possible to do:
  $ devtool modify virtual/kernel

you must then do i.e.:
  $ devtool finish --force-patch-refresh linux-handheld /my/layer_path

otherwise you get an
ERROR: No recipe named &apos;virtual/kernel&apos; in your workspace


Cheers
Andrea</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81414</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2018-08-23 04:10:10 +0000</bug_when>
    <thetext>Correct, it de-references virtual/kernel (or any other PROVIDES) just once, and tells you so. I&apos;d not want to do that on every invocation since it means loading the recipe cache, but I guess we could probably get away with caching the PROVIDES for recipes in the workspace somewhere so that we could accept it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96704</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Laplante">chris.laplante</who>
    <bug_when>2023-10-13 14:54:28 +0000</bug_when>
    <thetext>I have a working implementation that caches the original name used in the call to &apos;devtool modify&apos;, allowing lookup by subsequent calls to &apos;devtool&apos;, similar to what Paul described below. Will work on polishing it and adding selftests, then will submit it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105236</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-04-23 15:23:15 +0000</bug_when>
    <thetext>Chris any news ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105238</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Laplante">chris.laplante</who>
    <bug_when>2026-04-23 15:30:02 +0000</bug_when>
    <thetext>Wow, can&apos;t believe it&apos;s been three years :(. I will try to find some time in the coming weeks to get this upstream, or at the very least post what I have here so someone can pick up where I left off.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>