<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" >reviewed by Chris Austen <austenc@us.ibm.com>
<div> </div>
<div>
<div><br>Chris Austen<br>POWER Systems Enablement Manager<br>(512) 286-5184 (T/L: 363-5184)
<div> </div>
<div> </div>
<blockquote data-history-content-modified="1" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: OpenBMC Patches <openbmc-patches@stwcx.xyz><br>Sent by: "openbmc" <openbmc-bounces+austenc=us.ibm.com@lists.ozlabs.org><br>To: openbmc@lists.ozlabs.org<br>Cc:<br>Subject: [PATCH skeleton] Replace BUILD_ID with VERSION_ID in then inventory<br>Date: Mon, Apr 25, 2016 3:21 PM<br>
<div><font face="Default Monospace,Courier New,Courier,monospace" size="2" >From: Adriana Kobylak <anoo@us.ibm.com><br><br>Add VERSION_ID to the inventory instead of BUILD_ID because<br>the version (git tag) is the value that gets updated during<br>a firmware update, the build id remains constant.<br>---<br> bin/inventory_items.py | 2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br><br>diff --git a/bin/inventory_items.py b/bin/inventory_items.py<br>index 6320f90..0a90569 100755<br>--- a/bin/inventory_items.py<br>+++ b/bin/inventory_items.py<br>@@ -71,7 +71,7 @@ def getVersion():<br> for line in f:<br> p = line.rstrip('\n')<br> parts = line.rstrip('\n').split('=')<br>- if (parts[0] == "BUILD_ID"):<br>+ if (parts[0] == "VERSION_ID"):<br> version = parts[1]<br> return version<br> <br>--<br>2.8.1<br><br><br>_______________________________________________<br>openbmc mailing list<br>openbmc@lists.ozlabs.org<br><a href="https://lists.ozlabs.org/listinfo/openbmc" target="_blank" >https://lists.ozlabs.org/listinfo/openbmc</a></font></div></blockquote></div></div></div></div><BR>