[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r383: Have the buildbot SDK update scripts report on the SDK version.

Jeff Licquia licquia at linuxfoundation.org
Wed Feb 6 17:35:46 UTC 2013


------------------------------------------------------------
revno: 383
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Wed 2013-02-06 12:35:46 -0500
message:
  Have the buildbot SDK update scripts report on the SDK version.
modified:
  modules/buildbot/files/slavescripts/reset-sdk
  modules/buildbot/files/slavescripts/update-sdk
-------------- next part --------------
=== modified file 'modules/buildbot/files/slavescripts/reset-sdk'
--- a/modules/buildbot/files/slavescripts/reset-sdk	2012-02-02 15:48:45 +0000
+++ b/modules/buildbot/files/slavescripts/reset-sdk	2013-02-06 17:35:46 +0000
@@ -8,7 +8,9 @@
 
 if [ -e /tmp/last_installed_sdk ]; then
     if [ $(cat /tmp/last_installed_sdk) = "$SDK_TYPE" ]; then
-	echo "$SDK_TYPE SDK already installed"
+	echo "$SDK_TYPE SDK already installed:"
+	/opt/lsb/bin/lsbcc --lsbcc-version
+	/opt/lsb/bin/lsbcc --lsb-version
 	exit 0
     fi
 fi
@@ -44,3 +46,7 @@
 
 rm -rf /tmp/sdk-install
 echo $SDK_TYPE > /tmp/last_installed_sdk
+
+echo "SDK updated to $SDK_TYPE:"
+/opt/lsb/bin/lsbcc --lsbcc-version
+/opt/lsb/bin/lsbcc --lsb-version

=== modified file 'modules/buildbot/files/slavescripts/update-sdk'
--- a/modules/buildbot/files/slavescripts/update-sdk	2012-01-28 15:43:16 +0000
+++ b/modules/buildbot/files/slavescripts/update-sdk	2013-02-06 17:35:46 +0000
@@ -2,7 +2,9 @@
 
 if [ -e /tmp/last_installed_sdk ]; then
     if [ $(cat /tmp/last_installed_sdk) = "devel" ]; then
-	echo "devel SDK already installed"
+	echo "devel SDK already installed:"
+	/opt/lsb/bin/lsbcc --lsbcc-version
+	/opt/lsb/bin/lsbcc --lsb-version
 	exit 0
     fi
 fi
@@ -15,3 +17,7 @@
   xargs sudo rpm -Uvh --force
 
 echo "devel" > /tmp/last_installed_sdk
+
+echo "SDK updated to devel:"
+/opt/lsb/bin/lsbcc --lsbcc-version
+/opt/lsb/bin/lsbcc --lsb-version



More information about the lsb-messages mailing list