<?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>6052</bug_id>
          
          <creation_ts>2014-03-27 04:43:15 +0000</creation_ts>
          <short_desc>specified commit of the kernel machine branch is not respected</short_desc>
          <delta_ts>2014-07-30 08:42:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Kernel</product>
          <component>kernel-tooling</component>
          <version>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nitin Kamble">nitin.a.kamble</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>dvhart</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>41806</commentid>
    <comment_count>0</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2014-03-27 04:43:15 +0000</bug_when>
    <thetext>When trying to use the older commit for the kernel branch like this:

diff --git a/meta-emenlow/recipes-kernel/linux/linux-yocto_3.10.bbappend b/meta-emenlow/recipes-kernel/linux/linux-yocto_3.10.bbappend
-LINUX_VERSION = &quot;3.10.33&quot;
+LINUX_VERSION = &quot;3.10.25&quot;
 
 SRCREV_meta_emenlow = &quot;99c503a92885060bebf2bba6747735e8e9346a40&quot;
-SRCREV_machine_emenlow = &quot;21df0c8486e129a4087970a07b423c533ae05de7&quot;
+SRCREV_machine_emenlow = &quot;79af968f2f26378798aec7a6d729ff5a371aae5f&quot;
 SRCREV_emgd_emenlow = &quot;42d5e4548e8e79e094fa8697949eed4cf6af00a3&quot;
 
 SRCREV_meta_emenlow-noemgd = &quot;6e0e756d51372c8b176c5d1e6f786545bceed351&quot;
-SRCREV_machine_emenlow-noemgd = &quot;21df0c8486e129a4087970a07b423c533ae05de7&quot;
+SRCREV_machine_emenlow-noemgd = &quot;79af968f2f26378798aec7a6d729ff5a371aae5f&quot;
 

the kernel is still build with the latest HEAD:

&gt; pwd
.../build/tmp/work/emenlow_noemgd-poky-linux/linux-yocto/3.10.25+gitAUTOINC+6e0e756d51_79af968f2f-r0/linux

&gt; head Makefile
VERSION = 3
PATCHLEVEL = 10
SUBLEVEL = 33
EXTRAVERSION = -ltsi

&gt; git log 
commit 21df0c8486e129a4087970a07b423c533ae05de7
Merge: 78afd30 6969595
Author: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Date:   Thu Mar 13 14:05:29 2014 -0400

    Merge tag &apos;v3.10.33&apos; into standard/ltsi
    
    This is the 3.10.33 stable release
    
    Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
    
    Conflicts:
        Makefile

commit 6969595f011b46b49c3f1b9e0bd7da27768c1fd9
Author: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Date:   Thu Mar 6 21:58:45 2014 -0800

    Linux 3.10.33
...



Expected result: the kernel is built with the specified commit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41807</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2014-03-27 05:38:43 +0000</bug_when>
    <thetext>This works perfectly here. 

Are you running with my test queue ? If so, don&apos;t use it, since it
doesn&apos;t support this yet.

If I set:

SRCREV_machine_${MACHINE}=&quot;41235e1176a22251ac22581f2c0632407584d48b&quot; for
qemux86, and the head of standard/common-pc/base is really 78d2a615b13a1c307d482eaa9499c1b2dee40599

After the kernel patches and configures, the head of my tree is the 
SRCREV I specified, not the one at the head of the branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41910</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2014-03-28 19:05:46 +0000</bug_when>
    <thetext>Thanks for the quick response Bruce. Yes I was using your test commits. After removing them the issue is gone.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44824</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-07-30 08:42:50 +0000</bug_when>
    <thetext>seems that this works now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>