Commit | Line | Data |
---|---|---|
805e021f CE |
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 HP 9000 systems running HPUX 9.x | |
10 | # | |
11 | ||
12 | sub build { | |
13 | &Print("Compiling with command \"/etc/uxgen SAFS\""); | |
14 | &Print("in directory /etc/conf/gen"); | |
15 | &Print("New kernel will be /etc/conf/SAFS/hp-ux"); | |
16 | &Print("and should be installed as /hp-ux"); | |
17 | ||
18 | &ErrorsAreFatal(1); | |
19 | $rc = chdir("/etc/conf/gen"); | |
20 | &ErrorMsg("Could not change to dir", "/etc/conf/gen") if (!$rc); | |
21 | ||
22 | $rc = system("/etc/uxgen SAFS"); | |
23 | $rc = $rc >> 8; | |
24 | &Print("Returned code $rc"); | |
25 | } | |
26 |