fix: install syslinux if missing

This commit is contained in:
Peter Šurda 2021-03-02 21:55:35 +01:00
parent 0042dce624
commit 665ef66e29
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ function install_syslinux()
{
local drive="$1"
apt -yq install syslinux-common syslinux-efi
dd bs=440 count=1 conv=notrunc \
if=/usr/lib/syslinux/mbr/gptmbr.bin of="$drive"