~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to setup/build.py

  • Committer: William Grant
  • Date: 2008-07-07 04:55:07 UTC
  • mfrom: (unknown (missing))
  • Revision ID: wgrant@ugrad.unimelb.edu.au-20080707045507-wca484wpjxppy7ln
Merge jails-redux branch. We now use aufs rather than hardlinking tens
of thousands of jail files hundreds of times.

Reconfiguration and reconstruction of all jails will be required.
Probably a good idea to start jails from scratch if possible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
-O is recommended to cause compilation to be optimised.
43
43
Details:
44
44
Compiles (GCC) trampoline/trampoline.c to trampoline/trampoline.
 
45
Compiles (GCC) timount/timount.c to timount/timount.
45
46
Creates jail with system and student packages installed from MIRROR.
46
47
Copies console/ to a location within the jail.
47
48
Copies OS programs and files to corresponding locations within the jail
89
90
    action_runprog('make', [], dry)
90
91
    os.chdir(curdir)
91
92
 
 
93
    # Compile timount
 
94
    curdir = os.getcwd()
 
95
    os.chdir('timount')
 
96
    action_runprog('make', [], dry)
 
97
    os.chdir(curdir)
 
98
 
92
99
    # Create the jail and its subdirectories
93
100
    # Note: Other subdirs will be made by copying files
94
101
    if apt_mirror != None: