diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-12 01:38:58 +0000 |
---|---|---|
committer | Raphaƫl Hertzog <hertzog@debian.org> | 2020-03-13 14:42:34 +0000 |
commit | 5e423d0851f0c42cd2c23274a8207006c69dfb0f (patch) | |
tree | 475a208fffec08ca10451faa7e01f67cd0c6c5d5 /scripts/build/chroot_hooks | |
parent | 3e3e8c2c64a36699f90fd52d5167b636590473b7 (diff) | |
download | vyos-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_hooks')
-rwxr-xr-x | scripts/build/chroot_hooks | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks index 125b77ec3..eb113bb6a 100755 --- a/scripts/build/chroot_hooks +++ b/scripts/build/chroot_hooks @@ -105,12 +105,12 @@ then # Saving cache Save_package_cache chroot - - # Creating stage file - Create_stagefile .build/chroot_hooks fi # Remove bind mount of build config inside chroot. umount chroot/live-build/config rmdir chroot/live-build/config rmdir chroot/live-build + +# Creating stage file +Create_stagefile .build/chroot_hooks |