X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fpkg%2Fnfs-utils;h=9fa78b8af1915590e9d1771ba01e766153efae61;hb=1b6490195147ee6d1098cf255240d60f60c40108;hp=6a5eeda7b357d730da9ded286463b97706f2d784;hpb=3dae4c554ec18f465eb6ee5e6efdbdbe8557e13c;p=hvlinux.git diff --git a/stage3/pkg/nfs-utils b/stage3/pkg/nfs-utils index 6a5eeda..9fa78b8 100644 --- a/stage3/pkg/nfs-utils +++ b/stage3/pkg/nfs-utils @@ -1,37 +1,17 @@ -#!/bin/sh -set -o errexit +#!/bin/bash -# 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" +hvbuild_post() +{ + cat > /etc/exports << "EOF" # NFS file systems export list # -# An entry in /etc/exports will typically look like this: +# 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 $? + install -v -m740 ${SCRDIR}/bootscripts/nfs /etc/rc.d/init.d + bootscript_add_rc3 nfs 15 74 +}