<?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>4818</bug_id>
          
          <creation_ts>2013-07-05 08:51:56 +0000</creation_ts>
          <short_desc>no version displayed in /etc/version</short_desc>
          <delta_ts>2013-10-01 07:01:30 +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>core</component>
          <version>1.5</version>
          <rep_platform>x86</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>normal</bug_severity>
          <target_milestone>1.5 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>ionutx.chisanovici</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yp.bsp.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>34349</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-07-05 08:51:56 +0000</bug_when>
    <thetext>poky: eaa5df34af42b6a37f6506847d0f3ef6ba0d298a
meta-intel: e0d6134ed2e2687ff9f2ee77701666447842bf33

crownbay image: http://autobuilder03.jf.intel.com/pub/nightly-meta-intel/20130703-1/machines/crownbay-noemgd/core-image-sato-sdk-crownbay-noemgd.hddimg


SUMMARY
Usually the version (date) of the BSP is displayed in the /etc/version file.

For this build, no version is displayed.
Tested with crownbay-noemgd and fri2 core-image-sato-sdk images.

STEPS TO REPRODUCE
Install the image to the hardware device. boot it and check the version in /etc/version file.

root@crownbay-noemgd:/# cat /etc/version

root@crownbay-noemgd:/#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34352</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-07-05 09:38:20 +0000</bug_when>
    <thetext>Reproduced with qemux86 as well. This would appear to be a core issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34355</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-07-05 10:30:27 +0000</bug_when>
    <thetext>Just checked, this worked in dylan, so it&apos;s a regression in master. I suspect that it has something to do with the recent bitbake refactoring since bitbake is setting a value for BUILDNAME if none is set in the metadata. Interestingly, buildhistory includes ${BUILDNAME} in its commit messages and seems to be getting the value correctly, so I wonder if it&apos;s just an issue of the scoping of the datastore in which the value is being set.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34446</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-07-09 21:00:58 +0000</bug_when>
    <thetext>Another data point, I added a bb.note in the anonymous python of rootfs_rpm to 
bring BUILDNAME and it is showing blank, but as you note it does work 
buildhistory, I am not sure how the scoping works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35874</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-08-22 15:47:21 +0000</bug_when>
    <thetext>Quick Observation: This Looks like a problem with the bitbake-worker split. We need to ensure that BUILDNAME gets set in the worker contexts. In _start_worker() in runqueue.py we probably need to transfer that variable</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36322</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-09-05 09:03:35 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e63c5775732055a32b417c01fb68711f33ff4ac3

Note in case it is unclear, this was a regression in master; released versions are not affected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37381</commentid>
    <comment_count>6</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2013-10-01 07:01:30 +0000</bug_when>
    <thetext>tested with NUC.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>