From: Hugo Villeneuve Date: Thu, 31 Jul 2014 02:03:31 +0000 (-0400) Subject: Create /etc directory with other basic directories X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=dece0c9d7d000274092712fed8af2468771879a3;p=hvlinux.git Create /etc directory with other basic directories --- diff --git a/stage0/create-version b/stage0/create-version index a5df707..47c40a2 100755 --- a/stage0/create-version +++ b/stage0/create-version @@ -30,7 +30,6 @@ EOF fi # Copy local file to destination LFS partition - mkdir -pv ${LFS}/etc cp ${CFG_DIR}/${HV_VER_FILE} ${LFS}/etc } diff --git a/stage0/pre-install b/stage0/pre-install index 27b810d..5ff17d2 100755 --- a/stage0/pre-install +++ b/stage0/pre-install @@ -21,7 +21,7 @@ if ! grep -q "lfs" /etc/passwd; then fi # Creating basic directories -for subdir in tmp var tools cross-tools; do +for subdir in etc tmp var tools cross-tools; do dir=${LFS}/${subdir} if [ ! -d ${dir} ]; then install -dv ${dir}