#!/bin/sh set -o errexit # First argument of this script is the package name # Reading system configuration informations, functions and package versions. source ../sysinfos source ../functions source ../packages-list # Applying patches (if any) apply_patches ${1} # Problem with build directory cd ${LFS_TMP}/${1} ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --disable-nfsv4 \ --disable-gss make -j ${MAKEJOBS} make install cat > /etc/exports << "EOF" # NFS file systems export list # # An entry in /etc/exports will typically look like this: # directory machine1(option11,option12) machine2(option21,option22) #/root 192.168.0.0/24(rw,sync,no_root_squash) #/srv/www/htdocs 192.168.0.0/24(rw,sync) EOF install -v -m740 ${SCRDIR}/bootscripts/nfs /etc/rc.d/init.d bootscript_add_rc3 nfs 15 74 exit $?