summaryrefslogtreecommitdiff
path: root/scripts/build/binary_loadlin
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/binary_loadlin
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/binary_loadlin')
-rwxr-xr-xscripts/build/binary_loadlin7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/build/binary_loadlin b/scripts/build/binary_loadlin
index 7bdeb8778..5719c3dad 100755
--- a/scripts/build/binary_loadlin
+++ b/scripts/build/binary_loadlin
@@ -85,12 +85,11 @@ cat > binary/install/gtk/install.bat << EOF
EOF
fi
-
- # Creating stage file
- Create_stagefile .build/binary_loadlin
;;
-
*)
Echo_warning "loadlin inclusion is set to true but not compatible with your architecture, ignoring."
;;
esac
+
+# Creating stage file
+Create_stagefile .build/binary_loadlin