From dece0c9d7d000274092712fed8af2468771879a3 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Wed, 30 Jul 2014 22:03:31 -0400 Subject: [PATCH] Create /etc directory with other basic directories --- stage0/create-version | 1 - stage0/pre-install | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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} -- 2.20.1