Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / afsinstall / lib / InstallGuides / HP_UX1x / build
CommitLineData
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 10.20
10#
11
12sub build {
13print "Compiling with command \"/usr/sbin/mk_kernel\"\n";
14print "in directory /stand/build\n";
15print "New kernel will be /stand/build/vmunix_test\n";
16print "Install kernel as /stand/vmunix\n";
17
18&ErrorsAreFatal(1);
19$rc = chdir("/stand/build");
20&ErrorMsg("Could not change to dir", "/stand/build") if (!$rc);
21
22$rc = system("/usr/sbin/mk_kernel");
23$rc = $rc >> 8;
24print "Returned code $rc\n";
25}