-#!/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:
#/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
+}