]> Untitled Git - hvlinux.git/commitdiff
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 a5df7073fc99304bd3a158e29861067e2d69e116..47c40a28cbe14b774abd1157f03ee07218633510 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 27b810dfdb635b67ed536ed65b4654db790a69eb..5ff17d2e93e761b156c724317d2fed6f04fa5ba3 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}