#!/bin/sh # 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} && # This package needs the user 'nobody' hv_useradd -c nobody -d /home -g nogroup -s /bin/bash -u 99 nobody && # 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 # Return last error exit $?