Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: client/deps/sysstat/sysstat.py

Issue 669113: This will fix the build issues for sysstat, as we don't need to install. (Closed)
Patch Set: Added change to netperf2 since we are no longer installing sysstat. Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | client/tests/netperf2/netperf2.py » ('j') | client/tests/netperf2/netperf2.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 import os 3 import os
4 import common 4 import common
5 from autotest_lib.client.bin import utils 5 from autotest_lib.client.bin import utils
6 6
7 version = 1 7 version = 1
8 8
9 def setup(tarball, topdir): 9 def setup(tarball, topdir):
10 srcdir = os.path.join(topdir, 'src') 10 srcdir = os.path.join(topdir, 'src')
11 if not os.path.exists(tarball): 11 if not os.path.exists(tarball):
12 utils.get_file( 12 utils.get_file(
13 'http://pagesperso-orange.fr/sebastien.godard/sysstat-9.0.6.tar.gz', 13 'http://pagesperso-orange.fr/sebastien.godard/sysstat-9.0.6.tar.gz',
14 tarball) 14 tarball)
15 utils.extract_tarball_to_dir(tarball, 'src') 15 utils.extract_tarball_to_dir(tarball, 'src')
16 os.chdir(srcdir) 16 os.chdir(srcdir)
17 utils.system ('./configure --prefix=%s' % topdir) 17 utils.system ('./configure --prefix=%s' % topdir)
18 utils.system('make') 18 utils.system('make')
19 utils.system('make install')
20 os.chdir(topdir) 19 os.chdir(topdir)
21 20
22 pwd = os.getcwd() 21 pwd = os.getcwd()
23 tarball = os.path.join(pwd, 'sysstat-9.0.6.tar.gz') 22 tarball = os.path.join(pwd, 'sysstat-9.0.6.tar.gz')
24 utils.update_version(pwd+'/src', False, version, setup, tarball, pwd) 23 utils.update_version(pwd+'/src', False, version, setup, tarball, pwd)
OLDNEW
« no previous file with comments | « no previous file | client/tests/netperf2/netperf2.py » ('j') | client/tests/netperf2/netperf2.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698