summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_includes
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-12 01:38:58 +0000
committerRaphaƫl Hertzog <hertzog@debian.org>2020-03-13 14:42:34 +0000
commit5e423d0851f0c42cd2c23274a8207006c69dfb0f (patch)
tree475a208fffec08ca10451faa7e01f67cd0c6c5d5 /scripts/build/chroot_includes
parent3e3e8c2c64a36699f90fd52d5167b636590473b7 (diff)
downloadvyos-live-build-5e423d0851f0c42cd2c23274a8207006c69dfb0f.tar.gz
vyos-live-build-5e423d0851f0c42cd2c23274a8207006c69dfb0f.zip
fix instances of bad stagefile creation circumstances
theres no point in creation of stagefiles being kept within a conditional block of work. if the script completes with success then it should create its stagefile to thus avoid repeating any work that it might have done should it get re-run without being forced. Gbp-Dch: Short
Diffstat (limited to 'scripts/build/chroot_includes')
-rwxr-xr-xscripts/build/chroot_includes6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/chroot_includes b/scripts/build/chroot_includes
index bda5caf93..603d58256 100755
--- a/scripts/build/chroot_includes
+++ b/scripts/build/chroot_includes
@@ -45,7 +45,7 @@ then
Echo_message "Extracting the tarball in the chroot..."
Chroot chroot "tar -xvf includes.chroot.tar --no-same-owner --keep-directory-symlink --overwrite"
rm chroot/includes.chroot.tar
-
- # Creating stage file
- Create_stagefile .build/includes.chroot
fi
+
+# Creating stage file
+Create_stagefile .build/includes.chroot