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

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

Issue 549083: Add a test to detect if the main disk is a SSD. (Closed)
Patch Set: Setup deps and include this test into pre-compilation Created 10 years, 11 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 | « client/deps/hdparm/control ('k') | client/deps/hdparm/hdparm-9.27.tar.gz » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/python
2
3 import os
4 import common
5 from autotest_lib.client.bin import utils
6
7 version = 1
8
9 def setup(tarball, topdir):
10 srcdir = os.path.join(topdir, 'src')
11 utils.extract_tarball_to_dir(tarball, srcdir)
12 os.chdir(srcdir)
13 utils.system('make')
14 utils.system('make binprefix=%s manprefix=%s install' % (topdir, topdir))
15 os.chdir(topdir)
16
17
18 # The source is grabbed from
19 # http://sourceforge.net/projects/hdparm/files/hdparm/hdparm-9.27.tar.gz
20 pwd = os.getcwd()
21 tarball = os.path.join(pwd, 'hdparm-9.27.tar.gz')
22 utils.update_version(pwd+'/src', False, version, setup, tarball, pwd)
OLDNEW
« no previous file with comments | « client/deps/hdparm/control ('k') | client/deps/hdparm/hdparm-9.27.tar.gz » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698