[OpenAFS] Re: OpenAFS 1.2.9 on Mandrake

Troy Dawson dawson@fnal.gov
Fri, 25 Apr 2003 08:40:25 -0500


I'm sorry, I don't know why I sent those lines about the link kpassword, those 
didn't change at all.  I guess that's the trouble you run into when you try to 
write a diff by hand sometimes.  OK, here's a better patch

@@ -486,6 +484,7 @@
  mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
  mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
  mkdir -p $RPM_BUILD_ROOT/etc/openafs
+mkdir -p $RPM_BUILD_ROOT/etc/init.d
  mkdir -p $RPM_BUILD_ROOT/lib/security
  mkdir -p $RPM_BUILD_ROOT/usr/afs/logs
  mkdir -p $RPM_BUILD_ROOT/usr/vice/etc
@@ -520,6 +519,9 @@
  install -p -m 644 $RPM_SOURCE_DIR/openafs-cacheinfo $uve/cacheinfo
  install -p -m 755 $RPM_SOURCE_DIR/openafs-afsmodname $uve/afsmodname

+# put the startup script in
+install -p -m 755 $RPM_SOURCE_DIR/openafs-afs.rc $RPM_BUILD_ROOT/etc/init.d/afs
+
  #
  # Build the SymTable
  symtable=$RPM_BUILD_ROOT/usr/vice/etc/modload/SymTable
@@ -528,7 +530,7 @@
  echo "# symbol version cpu     module" >> $symtable
  echo "" >> $symtable

-$RPM_BUILD_ROOT/usr/vice/etc/afsmodname -x -f $symtable \
+$RPM_BUILD_ROOT/usr/vice/etc/afsmodname -S iget4_locked -x -f $symtable \
         $RPM_BUILD_ROOT/usr/vice/etc/modload/libafs*.o

  #

Troy
-- 
__________________________________________________
Troy Dawson  dawson@fnal.gov  (630)840-6468
Fermilab  ComputingDivision/OSS  CSI Group
__________________________________________________