forked from Bitmessage/sysdeploy
fix: install syslinux if missing
This commit is contained in:
parent
0042dce624
commit
665ef66e29
|
@ -44,6 +44,8 @@ function install_syslinux()
|
||||||
{
|
{
|
||||||
local drive="$1"
|
local drive="$1"
|
||||||
|
|
||||||
|
apt -yq install syslinux-common syslinux-efi
|
||||||
|
|
||||||
dd bs=440 count=1 conv=notrunc \
|
dd bs=440 count=1 conv=notrunc \
|
||||||
if=/usr/lib/syslinux/mbr/gptmbr.bin of="$drive"
|
if=/usr/lib/syslinux/mbr/gptmbr.bin of="$drive"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user