#!/bin/sh export LFS_PKG_DIR="$(dirname $(dirname $(pwd)))/packages/stage4" export LFS_LOG_DIR=/var/log/hvlinux-install/stage4 export LFS_LOG_FILE=${LFS_LOG_DIR}/install.log # Reading system configuration informations, functions and package versions. source ../sysinfos source ../functions source ../packages-list source /etc/profile # Init log file mkdir -p ${LFS_LOG_DIR} || exit 1 if [ ! -f ${LFS_LOG_FILE} ]; then touch ${LFS_LOG_FILE} || exit 1 fi ipkg ${GDB} cis-gdb exit $?