diff options
author | Daniel Baumann <daniel@debian.org> | 2011-09-07 15:16:23 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-09-07 15:16:23 +0200 |
commit | 046095cffa06c76406e6cd7321ccbf789d09063a (patch) | |
tree | 5ecd5f65f2200b6dbbbdfab5ec210a4369bf9207 /scripts/build/lb_chroot_hostname | |
parent | dd853aa5d93df297f0ed03cc980749dfddfb292f (diff) | |
download | vyos-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_hostname')
-rwxr-xr-x | scripts/build/lb_chroot_hostname | 6 |
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" |