summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_hostname
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/lb_chroot_hostname')
-rwxr-xr-xscripts/build/lb_chroot_hostname6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/lb_chroot_hostname b/scripts/build/lb_chroot_hostname
index 81bf4c3f4..4da8602f0 100755
--- a/scripts/build/lb_chroot_hostname
+++ b/scripts/build/lb_chroot_hostname
@@ -71,10 +71,10 @@ EOF
# Creating lock file
Create_lockfile .lock
- # Copying hostname from local-includes, if existing
- if [ -e config/chroot_local-includes/etc/hostname ]
+ # Copying hostname from includes, if existing
+ if [ -e config/includes.chroot/etc/hostname ]
then
- cp -a config/chroot_local-includes/etc/hostname chroot/etc/hostname
+ cp -a config/includes.chroot/etc/hostname chroot/etc/hostname
fi
Echo_message "Deconfiguring file /bin/hostname"