summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDavid Hewitt <davidmhewitt@gmail.com>2019-10-18 01:22:23 +0000
committerRaphaƫl Hertzog <hertzog@debian.org>2020-02-17 10:37:27 +0000
commit2735f3bd38d3d2f0c48ea1ce023a27943ef0ab84 (patch)
treeac0a1edd15a78988bc08747000022f0461330076 /scripts/build
parent21272834943e40edc6772fcac391cba35a3b00fd (diff)
downloadvyos-live-build-2735f3bd38d3d2f0c48ea1ce023a27943ef0ab84.tar.gz
vyos-live-build-2735f3bd38d3d2f0c48ea1ce023a27943ef0ab84.zip
binary_syslinux: Acommodate LB_INITRAMFS not live-boot
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/binary_syslinux5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index df58f7d62..713573a4e 100755
--- a/scripts/build/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -45,9 +45,12 @@ Check_architectures amd64 i386
Check_crossarchitectures
case "${LB_INITRAMFS}" in
- *)
+ live-boot)
_INITRAMFS="live"
;;
+ *)
+ _INITRAMFS="boot"
+ ;;
esac
# Assembling image specifics