Create /etc directory with other basic directories
authorHugo Villeneuve <hugo@hugovil.com>
Thu, 31 Jul 2014 02:03:31 +0000 (22:03 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Thu, 31 Jul 2014 02:15:26 +0000 (22:15 -0400)
stage0/create-version
stage0/pre-install

index a5df707..47c40a2 100755 (executable)
@@ -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
 }
 
index 27b810d..5ff17d2 100755 (executable)
@@ -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}