summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-30 19:37:24 +0100
committerLuca Boccassi <bluca@debian.org>2020-04-01 19:04:14 +0000
commitf0588be19a1f0334843ed69d8060708153fe1802 (patch)
treedb1c4e6f9fef8149ae70cefb94f0d8164e74c828 /scripts
parent1716958a8dd4b52b1d437a29d268c949b83767c0 (diff)
downloadvyos-live-build-f0588be19a1f0334843ed69d8060708153fe1802.tar.gz
vyos-live-build-f0588be19a1f0334843ed69d8060708153fe1802.zip
loadlin: fix missing directory error
fixes an error I experienced in a test build Gbp-Dch: Short
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/binary_loadlin7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/build/binary_loadlin b/scripts/build/binary_loadlin
index 9d75a6497..367639925 100755
--- a/scripts/build/binary_loadlin
+++ b/scripts/build/binary_loadlin
@@ -69,12 +69,15 @@ case "${LB_ARCHITECTURES}" in
# Removing depends
Remove_package
+ mkdir -p binary/install
+
cat > binary/install/install.bat << EOF
\tools\loadlin.exe vmlinuz initrd=initrd.gz
EOF
- if [ -e binary/install/gtk ]
- then
+ if [ "${LB_DEBIAN_INSTALLER_GUI}" = "true" ]; then
+
+ mkdir -p binary/install/gtk
cat > binary/install/gtk/install.bat << EOF
\tools\loadlin.exe \install\vmlinuz initrd=initrd.gz vga=788