head	1.1;
branch	1.1.1;
access;
symbols
	openafs_debian_version_1_0-1:1.1.1.1
	openafs_upstream_version_1_0:1.1.1.1
	source-dist:1.1.1;
locks; strict;
comment	@# @;
expand	@o@;


1.1
date	2000.11.02.03.35.34;	author hartmans;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.02.03.35.34;	author hartmans;	state Exp;
branches;
next	;


desc
@@



1.1
log
@Initial revision
@
text
@#
# bldkernel
#
# An InstallGuide for installing static AFS kernel libraries
# For SUN systems running SunOS 4.x
#

sub bldkernel {
my($arch);
&ErrorsAreFatal(1);
$arch = `/bin/uname -m`;
chop $arch;
&ErrorMsg("Couldn't get sun kernel architecture type with","/bin/uname -m") 
 unless ($arch =~ /sun/);
&ErrorsAreFatal(0);

if ($Configuration{"NFSEXTENSIONS"}) {
  &Copy("root.client/bin/libafs.a",  "/usr/sys/$arch/OBJ/libafs.o");  }
else {
  &Copy("root.client/bin/libafs.nonfs.a",  "/usr/sys/$arch/OBJ/libafs.o");  }
&VPrint("Running ranlib on library");
system("ranlib /usr/sys/$arch/OBJ/libafs.o");

&Copy("root.client/usr/vice/etc/afsd", "/usr/vice/etc");
&Chmod(0744, "/usr/vice/etc/afsd");
&Copy("bin/fs", "/usr/vice/etc/fs");
}
@


1.1.1.1
log
@Initial Import. 
@
text
@@
