Here is a sample replacement paragraph for section 6.1 of the manual:

----------

files/

   Files used by customization scripts. Most files are located in a
   subtree structure which reflects the ordinary directory tree. For
   example, the templates for nsswitch.conf are located in the directory
   /fai/files/etc/nsswitch.conf, and are named according to the classes
   that they should match: /fai/files/etc/nsswitch.conf/NIS
   is the version of /etc/nsswitch.conf to use for the NIS class. Note
   that the contents of the files directory are not automatically copied
   to the target machine, rather they must be explicitely copied by
   customization scripts using the fcopy command.

   The simple example configuration also includes the directory
   files/pacakges/ which can contain local Debian packages. This
   directory is referenced by default in /etc/fai/make-fai-nfsroot.conf
   as FAI_LOCAL_REPOSITORY and will be added to the nfsroot's apt
   sources by make-fai-nfsroot. Note that these packages will not be
   automatically installed, but will be available for installation in
   your customization scripts using apt-get. For example,
   examples/simple/scripts/DEFAULT/S01 calls "apt-get install
   $addpackages", installing any packages specified in the $addpackages
   variable.

----------

Alternatively a new section could be created that was dedicated to
fai/files, as is already the case for many of the other directories.

Also, it seems to me that examples/simple/scripts/DEFAULT/S01's check:

if [ -d /fai/files/packages ] && [ ! -f /fai/files/packages/Packages.gz ]; then
        # Mm. It seems not to be a simple repository. I assume it's configured 
in sources.list
        echo "WARNING! Index file Packages.gz is missing in 
/fai/files/packages."
fi

should be preceeded by a comment to the effect of:

# assuming that make-fai-nfsroot.conf sets
# FAI_LOCAL_REPOSITORY="deb file:/fai/files packages/"

Thanks again for fai, and all that it does. It is indeed an impressive
piece of machinery.

Charles

-- 
To soothe
And smooth
Your tender skin
It's now improved
With lanolin
Burma-Shave
http://frogcircus.org/burmashave/1949/to_soothe


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to