<?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>6516</bug_id>
          
          <creation_ts>2014-07-09 05:23:11 +0000</creation_ts>
          <short_desc>Ability to add recipes to a project configuration in Toaster</short_desc>
          <delta_ts>2014-11-26 13:53:25 +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>Toaster</product>
          <component>toaster</component>
          <version>1.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>6588</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.8</target_milestone>
          <dependson>6588</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Reyna">david.reyna</reporter>
          <assigned_to name="Belen Barros Pena">belen.barros.pena</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>bluelightning</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>Yuan.Sun2</cc>
          
          <qa_contact name="Mihail Stanciu">stanciux.mihail</qa_contact>
          <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>44390</commentid>
    <comment_count>0</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2014-07-09 05:23:11 +0000</bug_when>
    <thetext>Th current design for Toaster&apos;s project creation feature allows the ability to add and manage layers and configuration variables, but it does not include adding recipes.

This is an important feature since customers will definitely want to add additional YP (and custom) recipes as their project matures, and not supporting this in the Toaster interface requires the user to go to the command line and/or manually edit the &quot;local.conf&quot; values.

Here is proposed support for &quot;adding recipes&quot; to projects, as per the email thread on this subject.

1) The fundamental configuration variable I am discussing it this. It is the fast and easy way for the developer to add additional recipes to their build without manipulating images. It is easy to add and remove recipes from this variable without side effects (aside from the resulting generated target of course), and bitbake can easily resolve and add dependencies on the fly.

&quot;local.conf&quot;:

  IMAGE_INSTALL_append = &quot; my-recipe&quot;

2) My proposal is to make this configuration variable a special case, in that it is relatively easy for Toaster to provide guidance to adding and removing recipes from this value.

3) As Alex described, the &quot;official&quot; recipe list is not really available until the first build, and even then it is approximate and gains accuracy after each build.

However, we can as a heuristic still provide the developer a pull-down list with a new un-parsed project a reasonable list of &quot;possible&quot; recipes, derived simply by examining the list of registered layers and including all recipes physically present in those layer directories. We can then improve that list after each build iteration with the parsed and derived recipes from bitbake.

We can perhaps even distinguish &quot;possible&quot; recipes by displaying them in italics, and bitbake&apos;s &quot;sanctioned&quot; recipes in regular type. This leaves the world of recipes open to the developer but does provide guidance as to preferred recipes.

4) Removing recipes that are part of the image (in other words going &quot;negative&quot;) I agree is very complicated and out-of-scope of this release. That is why I am limiting this instance to the specific local.conf variable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44584</commentid>
    <comment_count>1</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-07-21 10:06:41 +0000</bug_when>
    <thetext>I came across this thread on the Yocto Project mailing list 

https://lists.yoctoproject.org/pipermail/yocto/2014-July/020691.html

It discusses what&apos;s the best way of adding packages to your build, and they talk about IMAGE_INSTALL vs IMAGE_INSTALL_append vs CORE_IMAGE_EXTRA_INSTALL. 

What should we use in Toaster? IMAGE_INSTALL_append or CORE_IMAGE_EXTRA_INSTALL? Or maybe it doesn&apos;t really matter ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45687</commentid>
    <comment_count>2</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-09-18 15:35:02 +0000</bug_when>
    <thetext>Bug 6588 includes this functionality

*** This bug has been marked as a duplicate of bug 6588 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47205</commentid>
    <comment_count>3</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2014-11-26 13:53:25 +0000</bug_when>
    <thetext>Verified duplicate.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>