Fix sgdisk call

main
Teo Mrnjavac 10 years ago
parent 1f9e7b5ae9
commit 220ea34aeb

@ -134,7 +134,7 @@ def install_bootloader(boot_loader, fw_type):
boot_p = boot_device[-1:]
device = boot_device[:-1]
print(device)
subprocess.call(['sgdisk', '--typecode=%s:EF00 %s' % (boot_p, device)])
subprocess.call(["sgdisk", "--typecode=%s:EF00" % boot_p, "%s" % device])
subprocess.call(
["gummiboot", "--path=%s/boot" % install_path, "install"])
create_conf(uuid, conf_path)

Loading…
Cancel
Save