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

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

Issue 652091: Make libaio work for ARM -- pull patches from debian. (Closed)
Patch Set: Created 10 years, 10 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/libaio/00_arches.patch ('k') | no next file » | no next file with comments »
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 utils.extract_tarball_to_dir(tarball, srcdir) 11 utils.extract_tarball_to_dir(tarball, srcdir)
12 os.chdir(srcdir) 12 os.chdir(srcdir)
13 utils.system ('make') 13 utils.system('patch -p1 < ../00_arches.patch')
14 utils.system ('make prefix=%s install' % topdir) 14 utils.system('make')
15 utils.system('make prefix=%s install' % topdir)
15 os.chdir(topdir) 16 os.chdir(topdir)
16 17
17 18
18 # old source was 19 # old source was
19 # http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/libaio-0.3.92.tar.bz2 20 # http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/libaio-0.3.92.tar.bz2
20 # now grabbing from debian 21 # now grabbing from debian
21 # http://ftp.debian.org/debian/pool/main/liba/libaio/libaio_0.3.106.orig.tar.gz 22 # http://ftp.debian.org/debian/pool/main/liba/libaio/libaio_0.3.106.orig.tar.gz
23 # architecture patch from here
24 # http://git.hadrons.org/?p=debian/pkgs/libaio.git;a=tree;f=debian/patches
22 25
23 pwd = os.getcwd() 26 pwd = os.getcwd()
24 tarball = os.path.join(pwd, 'libaio_0.3.106.orig.tar.gz') 27 tarball = os.path.join(pwd, 'libaio_0.3.106.orig.tar.gz')
25 utils.update_version(pwd+'/src', False, version, setup, tarball, pwd) 28 utils.update_version(pwd+'/src', False, version, setup, tarball, pwd)
OLDNEW
« no previous file with comments | « client/deps/libaio/00_arches.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698