summaryrefslogtreecommitdiff
path: root/scripts/build/config
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-11-04 19:48:25 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-11-04 19:48:25 +0100
commit3e0c126e2a7d6ff46a5afcb2d03cc306afc92390 (patch)
treec581881683d79e91585ba10cadcfd17cd7ffcb29 /scripts/build/config
parent2e77f83d839c31e1c129e75c8d79d25027ba0206 (diff)
downloadvyos-live-build-3e0c126e2a7d6ff46a5afcb2d03cc306afc92390.tar.gz
vyos-live-build-3e0c126e2a7d6ff46a5afcb2d03cc306afc92390.zip
Creating all includes directories in config.
Diffstat (limited to 'scripts/build/config')
-rwxr-xr-xscripts/build/config10
1 files changed, 3 insertions, 7 deletions
diff --git a/scripts/build/config b/scripts/build/config
index 080d2db25..87f5852e0 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -888,10 +888,6 @@ else
Echo_message "Updating config tree for a ${LB_MODE}/${LB_DISTRIBUTION}/${LIVE_IMAGE_ARCHITECTURE} system"
fi
-# Creating bootstrap configuration
-mkdir -p config
-mkdir -p config/includes
-
# Creating live-build configuration
cat > config/common << EOF
# config/common - common options for live-build(7)
@@ -1103,8 +1099,6 @@ EOF
# Creating lb_chroot_* configuration
mkdir -p config/archives
mkdir -p config/apt
-mkdir -p config/hooks
-mkdir -p config/includes.chroot
mkdir -p config/packages
mkdir -p config/packages.chroot
mkdir -p config/package-lists
@@ -1152,7 +1146,6 @@ EOF
# Creating lb_binary_* configuration
mkdir -p config/debian-installer
-mkdir -p config/includes.binary
mkdir -p config/includes.installer
mkdir -p config/packages.binary
mkdir -p config/package-lists
@@ -1357,6 +1350,9 @@ then
Echo_warning "Make sure you are using the newest version at all times."
fi
+mkdir -p config/hooks
+mkdir -p config/includes config/includes.bootstrap config/includes.chroot config/includes.binary config/includes.source
+
Echo_message "Symlinking hooks..."
for _HOOK in "${LIVE_BUILD}"/share/hooks/*.hook* /usr/share/live/build/hooks/*.hook*