<?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>13541</bug_id>
          
          <creation_ts>2019-09-20 18:55:06 +0000</creation_ts>
          <short_desc>Appending IMAGE_INSTALL in multiconfig conf does not cause image rebuild</short_desc>
          <delta_ts>2019-10-13 19:00:14 +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>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>BACKPORT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.7.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>zbooth.dev</reporter>
          <assigned_to name="Armin Kuster">akuster</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</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>85038</commentid>
    <comment_count>0</comment_count>
    <who name="">zbooth.dev</who>
    <bug_when>2019-09-20 18:55:06 +0000</bug_when>
    <thetext>Changing a value in a multiconfig does not result in the any new build tasks.

Steps to reproduce:
1) clone poky &amp; run &apos;bitbake core-image-minimal&apos;
2) Create empty multiconfig
   touch conf/multiconfig/testconfig.conf
   Add following line to local.conf
       BBMULTICONFIG = &quot;testconfig&quot;
3) Build with multiconfig &apos;bitbake multiconfig:testconfig:core-image-minimal&apos;
4) Add following line to testconfig.conf
    IMAGE_INSTALL_append_pn-core-image-minimal = &quot; screen &quot;
5) Build with multiconfig &apos;bitbake multiconfig:testconfig:core-image-minimal&apos;
    Screen package is not built.
6) Move append line from testconfig.conf to local.conf &amp; rebuild.
    Screen package is built.

After step 5, the bitbake environment shows screen in IMAGE_INSTALL, but bitbake-whatchanged shows no changes.

&apos;bitbake multiconfig:testconfig:core-image-minimal -e&apos; 
&lt;snip&gt;
# $IMAGE_INSTALL [6 operations]
#   _append[pn-core-image-minimal] /projects/upsteam-poky/poky/build/conf/multiconfig/testconfig.conf:2
#     &quot; screen &quot;
#   set /projects/upsteam-poky/poky/meta/conf/documentation.conf:212
#     [doc] &quot;Specifies the packages to install into an image. Image recipes set IMAGE_INSTALL to specify the packages to install into an image through image.bbclass.&quot;
#   set /projects/upsteam-poky/poky/meta/recipes-core/images/core-image-minimal.bb:3
#     &quot;packagegroup-core-boot ${CORE_IMAGE_EXTRA_INSTALL}&quot;
#   set? /projects/upsteam-poky/poky/meta/classes/core-image.bbclass:70
#     &quot;${CORE_IMAGE_BASE_INSTALL}&quot;
#   set? /projects/upsteam-poky/poky/meta/classes/image.bbclass:80
#     &quot;&quot;
#   set /projects/upsteam-poky/poky/meta/classes/image.bbclass:81
#     [type] &quot;list&quot;
# pre-expansion value:
#   &quot;packagegroup-core-boot ${CORE_IMAGE_EXTRA_INSTALL} screen &quot;
IMAGE_INSTALL=&quot;packagegroup-core-boot  screen &quot;
&lt;snip&gt;

$ bitbake-whatchanged multiconfig:testconfig:core-image-minimal                                                                                         
Figuring out the STAMPS_DIR ...                                                                                                                                                                                     
Generating the new stamps ... (need several minutes)                                                                                                                                                                
                                                                                                                                                                                                                    
=== Summary: (0 changed, 0 unchanged)                                                                                                                                                                               
Newly added: 0                                                                                                                                                                                                      
PV changed: 0                                                                                                                                                                                                       
PR changed: 0                                                                                                                                                                                                       
Dependencies changed: 0                                                                                                                                                                                             
                    

Reverting 66fd4c13d97a23338f6cdde6770ffb0e60f0b814 resolves the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85039</commentid>
    <comment_count>1</comment_count>
    <who name="">zbooth.dev</who>
    <bug_when>2019-09-20 18:56:31 +0000</bug_when>
    <thetext>Note the reverted change that resolved this is from https://bugzilla.yoctoproject.org/show_bug.cgi?id=13359.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85047</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2019-09-23 18:22:57 +0000</bug_when>
    <thetext>http://lists.openembedded.org/pipermail/bitbake-devel/2019-September/020345.html

http://lists.openembedded.org/pipermail/openembedded-core/2019-September/287165.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85307</commentid>
    <comment_count>3</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-10-10 15:35:37 +0000</bug_when>
    <thetext>I believe its this commit.

Bitbake:

https://git.openembedded.org/bitbake/commit/?h=1.44&amp;id=c74481aa15226e1bff9d53e4ee4b702ebfa1ad32



Core:
https://git.openembedded.org/openembedded-core/commit/meta/lib/oeqa?h=zeus&amp;id=a424ef0a0c49123f4518e8fef993fd10f6fc5f4e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85325</commentid>
    <comment_count>4</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-10-12 16:53:32 +0000</bug_when>
    <thetext>the bitbake changes are already committed to mainline branches.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85328</commentid>
    <comment_count>5</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-10-13 19:00:05 +0000</bug_when>
    <thetext>the selftest part breaks build so not backporting..

The bitbake parts are in.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85329</commentid>
    <comment_count>6</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-10-13 19:00:14 +0000</bug_when>
    <thetext>closing</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>