summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_hooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-08-14 20:29:05 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:17 +0100
commitc210b8ae444e088957461c9fb242ace1fa63e7b1 (patch)
treec34ae564f0b86b77ef6023f44be6e9f2c95001a6 /scripts/build/chroot_hooks
parente87d1e3b6ef230db9b2a651eef067c7269253098 (diff)
downloadvyos-live-build-c210b8ae444e088957461c9fb242ace1fa63e7b1.tar.gz
vyos-live-build-c210b8ae444e088957461c9fb242ace1fa63e7b1.zip
Moving /usr/share/live-helper to /usr/share/live/build.
Diffstat (limited to 'scripts/build/chroot_hooks')
-rwxr-xr-xscripts/build/chroot_hooks6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks
index f5864d864..f5bce989f 100755
--- a/scripts/build/chroot_hooks
+++ b/scripts/build/chroot_hooks
@@ -10,7 +10,7 @@
set -e
# Including common functions
-. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
+. "${LH_BASE:-/usr/share/live/build}"/scripts/build.sh
# Setting static variables
DESCRIPTION="$(Echo 'execute hooks in chroot')"
@@ -42,10 +42,10 @@ HOOKS="$(echo ${LH_HOOKS} ${LH_PACKAGES_LISTS} ${LH_TASKS} | sed -e 's| |\n|g' |
for HOOK in ${HOOKS}
do
- if [ -f ${LH_BASE:-/usr/share/live-helper}/hooks/"${HOOK}" ]
+ if [ -f ${LH_BASE:-/usr/share/live/build}/hooks/"${HOOK}" ]
then
# Copying hook
- cp ${LH_BASE:-/usr/share/live-helper}/hooks/"${HOOK}" chroot/root
+ cp ${LH_BASE:-/usr/share/live/build}/hooks/"${HOOK}" chroot/root
# Making hook executable
if [ ! -x chroot/root/"${HOOK}" ]