X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fstage1-install;h=9a700ca41c07dd63436fd5c7c0f117fd57e0205a;hb=f63a78e04ec65397472cda88061558f4e3a30fb2;hp=d3eb6a73a5053f2989992977f4b28811027caedd;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage1/stage1-install b/stage1/stage1-install index d3eb6a7..9a700ca 100755 --- a/stage1/stage1-install +++ b/stage1/stage1-install @@ -5,7 +5,7 @@ source ../sysinfos source ../functions source ../packages-list -export LFS_PKG_DIR="$(dirname $(dirname $(pwd)))/packages/stage1" +export LFS_PKG_DIR="$(dirname $(pwd))/packages/stage1" export LFS_LOG_DIR=${LFS}/var/log/hvlinux-install/stage1 export LFS_LOG_FILE=${LFS_LOG_DIR}/install.log export LFS_TMP="${LFS}/tmp" @@ -28,7 +28,7 @@ for subdir in tmp var boot tools; do if [ ! -d ${dir} ]; then install -dv ${dir} || exit 1 fi - chmod 777 ${dir} || exit 1 + chown lfs:lfs ${dir} || exit 1 done # Creating a link from the host root directory to LFS tools directory