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 dynamic kernel loaded libraries | |
9 | # For SUN systems running SunOS 4.x | |
10 | # | |
11 | ||
12 | sub modkernel { | |
13 | &ErrorsAreFatal(1); | |
14 | &CreateDir("/usr/vice/etc/modload"); | |
15 | &CreateDir("/usr/vice/etc/dkload"); | |
16 | &ErrorsAreFatal(0); | |
17 | ||
18 | ||
19 | &Copy("root.client/usr/vice/etc/dkload/dkload", "/usr/vice/etc/dkload"); | |
20 | &Copy("root.client/usr/vice/etc/dkload/kalloc.o", "/usr/vice/etc/dkload"); | |
21 | &Copy("root.client/usr/vice/etc/dkload/libcommon.a", "/usr/vice/etc/dkload"); | |
22 | ||
23 | if ($Configuration{"NFSEXTENSIONS"}) { | |
24 | &Copy("root.client/usr/vice/etc/modload/libafs.o","/usr/vice/etc/modload"); | |
25 | &Copy("root.client/usr/vice/etc/dkload/libafs.a", "/usr/vice/etc/dkload"); } | |
26 | else { | |
27 | &Copy("root.client/usr/vice/etc/modload/libafs.nonfs.o", | |
28 | "/usr/vice/etc/modload"); | |
29 | &Copy("root.client/usr/vice/etc/dkload/libafs.nonfs.a", | |
30 | "/usr/vice/etc/dkload"); } | |
31 | ||
32 | &Copy("root.client/usr/vice/etc/afsd", "/usr/vice/etc"); | |
33 | &Chmod(0744, "/usr/vice/etc/afsd"); | |
34 | &Copy("bin/fs", "/usr/vice/etc/fs"); | |
35 | } |