Package: fai
Version: 2.2.3
Severity: normal

The following patch fixes a small bug in the shell script
make-fai-nfsroot that prevents it from completing successfully for a
woody distribution.  The error is in the copy_fai_files() function and
involves trying to copy the Fai.pm file to a directory that does not
exist (/usr/lib/perl5/Debian/).  I added a 'mkdir -p' to create the
directory.

-- 
Chad Walstrom <[EMAIL PROTECTED]>                 | a.k.a. ^chewie
http://www.wookimus.net/                            | s.k.a. gunnarr
Get my public key, ICQ#, etc. $(mailx -s 'get info' [EMAIL PROTECTED])
--- make-fai-nfsroot    Mon Nov 26 13:13:18 2001
+++ /usr/sbin/make-fai-nfsroot  Wed Dec 19 10:32:12 2001
@@ -110,6 +110,8 @@

     cp -p /usr/share/fai/subroutines usr/share/fai
     cp -p $LIBFAI/etc/apt.conf etc/apt
+    # 20011219 (CCW): Added mkdir
+    mkdir -p usr/lib/perl5/Debian
     cp -p /usr/lib/perl5/Debian/Fai.pm usr/lib/perl5/Debian/
     echo $NFSROOT_ETC_HOSTS >> etc/hosts
 }

Attachment: msg00416/pgp00000.pgp
Description: PGP signature

Reply via email to