summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2012-01-10 14:36:28 +0100
committerMatthijs Kooijman <matthijs@stdin.nl>2012-01-10 21:54:58 +0100
commit7f9cfe3551aa8ae4dd10299f125ba6e7ba518f17 (patch)
tree35a98f70448b114264ef9146a610cee04a1c2d58
parente7ecf56be3df3623bb3e78a85598f74dbd08b6a0 (diff)
downloadvyos-live-build-7f9cfe3551aa8ae4dd10299f125ba6e7ba518f17.tar.gz
vyos-live-build-7f9cfe3551aa8ae4dd10299f125ba6e7ba518f17.zip
Fix path in 001-update-apt-file-cache.chroot.
The path included /chroot/, but hooks are called from within the chroot, so that part should be removed. This hook probably never worked.
-rwxr-xr-xshare/hooks/001-update-apt-file-cache.chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hooks/001-update-apt-file-cache.chroot b/share/hooks/001-update-apt-file-cache.chroot
index 283fc2c53..60a00b39c 100755
--- a/share/hooks/001-update-apt-file-cache.chroot
+++ b/share/hooks/001-update-apt-file-cache.chroot
@@ -6,7 +6,7 @@ set -e
#
# This allows to use using apt-file out-of-the-box.
-. /chroot/root/config/binary
+. /root/config/binary
if [ -x /usr/bin/apt-file ] && [ "${LB_APT_INDICES}" = "true" ]
then