#!/bin/sh LFS_STAGE=stage4 export LFS_PKG_DIR="$(dirname $(pwd))/packages/${LFS_STAGE}" export LFS_LOG_DIR=/var/log/hvlinux-install/${LFS_STAGE} export LFS_LOG_FILE=${LFS_LOG_DIR}/install.log export LFS_TMP=/tmp # Reading system configuration informations, functions and package versions. source ../sysinfos source ../functions source ../packages-list source /etc/profile if [ "x${USER}" != "xroot" ]; then echo "You must be the superuser to install hvlinux." exit 1 fi init_log_file # Scripts directory export SCRDIR=$(pwd) exit $?