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

Side by Side Diff: client/samples/test_xenbuild

Issue 4823005: Merge remote branch 'cros/upstream' into tempbranch (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: patch Created 10 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « client/samples/test_job ('k') | client/tests/kvm/address_pools.cfg.sample » ('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 # this is a sample job to build xen and kernel with xen patches.
2 # The xen unstable tarball comes with scripts that will automatically
3 # patch a linux kernel, however, in some cases, PPC for example, the
4 # kernel is built from a seperate source. The xen class supports
5 # defining your own kernel job, and handing that to the xen job. If
6 # no kernel job is specified, it will create one using the kernel source
7 # that the xen tarball uses.
8 xensrc = 'http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-unstable- src.tgz'
9
10 #
11 # uncomment the section below if you want to specify your own kernel job
12 # for the xen build
13 #
14 # ------ start uncomment ------
15 #print "TEST: initing kernel"
16 #testkernel = job.kernel('/usr/local/src/linux-2.6.18.tar.bz2') # 2.4.18
17 #testkernel.config('http://mbligh.org/config/opteron2')
18 #print "TEST: initing xen"
19 #testxen = job.xen(xensrc, kjob = testkernel)
20 # ------ end uncomment ------
21
22 # build xen using default xen kernel
23 # comment the next two lines out if you are using the above custom
24 # kernel job
25
26 print "TEST: initing xen"
27 testxen = job.xen(xensrc)
28
29 print "TEST: building xen"
30 testxen.build()
31
32 print "TEST: installing xen"
33 # using a dir in tmp as xen install needs root perms
34 #
35 testxen.install(tag='autotest', prefix='/tmp/xen')
36
37 # uncomment if you run as root and want to install the xen build
38 # testxen.boot()
OLDNEW
« no previous file with comments | « client/samples/test_job ('k') | client/tests/kvm/address_pools.cfg.sample » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698