[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53698] trunk/blender/build_files/buildbot /slave_pack.py: Stripping and packaging shall happen inside of chroot as well
Sergey Sharybin
sergey.vfx at gmail.com
Thu Jan 10 10:21:16 CET 2013
Revision: 53698
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53698
Author: nazgul
Date: 2013-01-10 09:21:12 +0000 (Thu, 10 Jan 2013)
Log Message:
-----------
Stripping and packaging shall happen inside of chroot as well
Modified Paths:
--------------
trunk/blender/build_files/buildbot/slave_pack.py
Modified: trunk/blender/build_files/buildbot/slave_pack.py
===================================================================
--- trunk/blender/build_files/buildbot/slave_pack.py 2013-01-10 08:55:44 UTC (rev 53697)
+++ trunk/blender/build_files/buildbot/slave_pack.py 2013-01-10 09:21:12 UTC (rev 53698)
@@ -59,9 +59,11 @@
if builder.endswith('linux_glibc211_x86_64_scons'):
config = 'user-config-glibc211-x86_64.py'
+ chroot_name = 'buildbot_squeeze_x86_64'
bits = 64
elif builder.endswith('linux_glibc211_i386_scons'):
config = 'user-config-glibc211-i686.py'
+ chroot_name = 'buildbot_squeeze_i686'
bits = 32
if config is not None:
@@ -70,7 +72,7 @@
blender = os.path.join(install_dir, 'blender')
blenderplayer = os.path.join(install_dir, 'blenderplayer')
- subprocess.call(['strip', '--strip-all', blender, blenderplayer])
+ subprocess.call(['schroot', '-c', chroot_name, '--', 'strip', '--strip-all', blender, blenderplayer])
extra = '/' + os.path.join('home', 'sources', 'release-builder', 'extra')
mesalibs = os.path.join(extra, 'mesalibs' + str(bits) + '.tar.bz2')
@@ -80,7 +82,7 @@
os.system('cp %s %s' % (software_gl, install_dir))
os.system('chmod 755 %s' % (os.path.join(install_dir, 'blender-softwaregl')))
- retcode = subprocess.call(['python', 'scons/scons.py'] + scons_options)
+ retcode = subprocess.call(['schroot', '-c', chroot_name, '--', 'python', 'scons/scons.py'] + scons_options)
sys.exit(retcode)
else:
More information about the Bf-blender-cvs
mailing list