From a1f206694cae3aad712f3e8f9fa97168218958f1 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 28 Feb 2015 21:52:41 -0200 Subject: syslinux-6.03-2.parabola2: rebuilding with new splash logo --- libre/syslinux/syslinux-install_update | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libre/syslinux/syslinux-install_update') diff --git a/libre/syslinux/syslinux-install_update b/libre/syslinux/syslinux-install_update index 513d06b7a..7da6aeccf 100644 --- a/libre/syslinux/syslinux-install_update +++ b/libre/syslinux/syslinux-install_update @@ -246,6 +246,11 @@ set_active() { exit 3 fi elif [[ "$ptb" = GPT ]]; then + if [[ ! -e /usr/bin/sgdisk ]]; then + echo "FAILED to set attribute Legacy BIOS Bootable. sgdisk is not found - please install 'gptfdisk' package." + exit 3 + fi + if sgdisk "$disk" --attributes="$partnum":set:2 &>/dev/null; then echo "Attribute Legacy Bios Bootable Set - $part" else -- cgit v1.2.3