[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r392: When updating the SDK, use the saved tarball.
Jeff Licquia
licquia at linuxfoundation.org
Fri Feb 8 20:55:16 UTC 2013
------------------------------------------------------------
revno: 392
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Fri 2013-02-08 15:55:16 -0500
message:
When updating the SDK, use the saved tarball.
modified:
modules/buildbot/files/slavescripts/update-sdk
modules/buildbot/manifests/master.pp
-------------- next part --------------
=== modified file 'modules/buildbot/files/slavescripts/update-sdk'
--- a/modules/buildbot/files/slavescripts/update-sdk 2013-02-06 17:35:46 +0000
+++ b/modules/buildbot/files/slavescripts/update-sdk 2013-02-08 20:55:16 +0000
@@ -11,11 +11,20 @@
rm -f /tmp/last_installed_sdk
-PKG_DIR=$1
-
-find $PKG_DIR -name \*.rpm -print | grep -v src.rpm | \
+if [ \! -e ../../saved/devel/sdk.tar.gz ]; then
+ echo "could not find devel SDK to install" >&2
+ exit 1
+fi
+
+rm -rf /tmp/install-sdk
+mkdir /tmp/install-sdk
+zcat ../../saved/devel/sdk.tar.gz | (cd /tmp/install-sdk && tar xf -)
+
+find /tmp/install-sdk -name \*.rpm -print | grep -v src.rpm | \
xargs sudo rpm -Uvh --force
+rm -rf /tmp/install-sdk
+
echo "devel" > /tmp/last_installed_sdk
echo "SDK updated to devel:"
=== modified file 'modules/buildbot/manifests/master.pp'
--- a/modules/buildbot/manifests/master.pp 2013-02-07 22:43:02 +0000
+++ b/modules/buildbot/manifests/master.pp 2013-02-08 20:55:16 +0000
@@ -4,7 +4,7 @@
include buildbotpw
- $buildbotconfigrev = 'revid:licquia at linuxfoundation.org-20130207224000-wtlaabzv9dauzae3'
+ $buildbotconfigrev = 'revid:licquia at linuxfoundation.org-20130208205022-9o9g7y039mf6bui3'
$weeklyrebuildarchs = 'x86,x86_64,ia64,ppc32,ppc64'
More information about the lsb-messages
mailing list