summaryrefslogtreecommitdiff
path: root/libre/syslinux/syslinux-install_update
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-02-28 21:52:41 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-02-28 21:52:41 -0200
commita1f206694cae3aad712f3e8f9fa97168218958f1 (patch)
tree9cc1e2f0cc8864f34f93959067f5e37449cefce0 /libre/syslinux/syslinux-install_update
parenteffeb5c98b16336f6e0fa23d4075ae1cac5020cb (diff)
downloadabslibre-a1f206694cae3aad712f3e8f9fa97168218958f1.tar.gz
abslibre-a1f206694cae3aad712f3e8f9fa97168218958f1.tar.bz2
abslibre-a1f206694cae3aad712f3e8f9fa97168218958f1.zip
syslinux-6.03-2.parabola2: rebuilding with new splash logo
Diffstat (limited to 'libre/syslinux/syslinux-install_update')
-rw-r--r--libre/syslinux/syslinux-install_update5
1 files changed, 5 insertions, 0 deletions
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