Creating all includes directories in config.

This commit is contained in:
Daniel Baumann 2013-11-04 19:48:25 +01:00
parent 2e77f83d83
commit 3e0c126e2a
1 changed files with 3 additions and 7 deletions

View File

@ -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*