summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_hosts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-09-07 15:16:23 +0200
committerDaniel Baumann <daniel@debian.org>2011-09-07 15:16:23 +0200
commit046095cffa06c76406e6cd7321ccbf789d09063a (patch)
tree5ecd5f65f2200b6dbbbdfab5ec210a4369bf9207 /scripts/build/lb_chroot_hosts
parentdd853aa5d93df297f0ed03cc980749dfddfb292f (diff)
downloadvyos-live-build-046095cffa06c76406e6cd7321ccbf789d09063a.tar.gz
vyos-live-build-046095cffa06c76406e6cd7321ccbf789d09063a.zip
Renaming lb_chroot_local-includes into lb_chroot_includes and check for includes in config/includes.chroot.
Diffstat (limited to 'scripts/build/lb_chroot_hosts')
-rwxr-xr-xscripts/build/lb_chroot_hosts4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/lb_chroot_hosts b/scripts/build/lb_chroot_hosts
index f246b5351..65e85fa2e 100755
--- a/scripts/build/lb_chroot_hosts
+++ b/scripts/build/lb_chroot_hosts
@@ -73,10 +73,10 @@ EOF
# Creating lock file
Create_lockfile .lock
- if [ -e config/chroot_local-includes/etc/hosts ]
+ if [ -e config/includes.chroot/etc/hosts ]
then
# Copying local hosts
- cp -a config/chroot_local-includes/etc/hosts chroot/etc/hosts
+ cp -a config/includes.chroot/etc/hosts chroot/etc/hosts
rm -f chroot/etc/hosts.orig
elif [ -f chroot/etc/hosts.orig ]
then