Standardize License information
[openafs.git] / src / afsinstall / lib / InstallGuides / SGI_x / build
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
4 # This software has been released under the terms of the IBM Public
5 # License.  For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7
8 # An InstallGuide for compiling a new kernel
9 # For SGI systems running IRIX 
10 #
11
12 sub build {
13 &Print("Compiling with command \"autoconfig\"");
14 &Print("in directory /var/sysgen/boot");
15 &Print("New kernel will be /unix.install. System will automatically move");
16 &Print("it to /unix upon reboot");
17
18 &ErrorsAreFatal(1);
19 $rc = chdir("/var/sysgen/boot");
20 &ErrorMsg("Could not change to dir", "/var/sysgen/boot") if (!$rc);
21
22 $rc = system("autoconfig");
23 $rc = $rc >> 8;
24 &Print("Returned code $rc");
25 }