summaryrefslogtreecommitdiffstats
path: root/abs/extra/syslinux/syslinux.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-02-17 00:07:17 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-02-19 19:03:05 (GMT)
commitf3feb9104cf0d194d6d1c3e0adbb49130aef37bd (patch)
treeb8e74a04943dd18f6d88e083bd4979f1413bbf94 /abs/extra/syslinux/syslinux.install
parent6b9c9d0e6335e536d3bbd990e780a710275c22de (diff)
downloadlinhes_pkgbuild-f3feb9104cf0d194d6d1c3e0adbb49130aef37bd.zip
linhes_pkgbuild-f3feb9104cf0d194d6d1c3e0adbb49130aef37bd.tar.gz
linhes_pkgbuild-f3feb9104cf0d194d6d1c3e0adbb49130aef37bd.tar.bz2
syslinux: 6.0.2
update binary path to /usr/bin refs #961
Diffstat (limited to 'abs/extra/syslinux/syslinux.install')
-rw-r--r--abs/extra/syslinux/syslinux.install42
1 files changed, 36 insertions, 6 deletions
diff --git a/abs/extra/syslinux/syslinux.install b/abs/extra/syslinux/syslinux.install
index 0dc0ece..4bb7f85 100644
--- a/abs/extra/syslinux/syslinux.install
+++ b/abs/extra/syslinux/syslinux.install
@@ -1,13 +1,43 @@
post_install() {
- echo "==> If you want to use syslinux as your bootloader"
- echo "==> edit /boot/syslinux/syslinux.cfg and run"
- echo "==> # /usr/sbin/syslinux-install_update -i -a -m"
- echo "==> to install it."
+
+ cat << EOF
+
+==> For setting up Syslinux BIOS using the syslinux-install_update script follow
+ https://wiki.archlinux.org/index.php/Syslinux#Automatic_Install
+EOF
+
+ ## Message specific to Syslinux 4.xx (or 5.xx) to 6.xx upgrade
+ if [ "$(vercmp $2 6.00)" -lt 0 ]; then
+
+ cat << EOF
+
+==> If you are upgrading from Syslinux 4.xx or 5.xx, please re-install
+ (not update) Syslinux BIOS manually (not using the install script) once
+ by following https://wiki.archlinux.org/index.php/Syslinux#Manual_install
+
+==> The install script may not properly upgrade Syslinux to 6.xx version
+EOF
+
+ fi
+
+ cat << EOF
+
+==> For setting up Syslinux EFI follow
+ https://wiki.archlinux.org/index.php/Syslinux#UEFI_Systems
+
+==> The syslinux-install_update script does not currently support EFI install
+
+EOF
+
}
post_upgrade() {
- # auto-update syslinux if /boot/syslinux/SYSLINUX_AUTOUPDATE exists
- /usr/sbin/syslinux-install_update -s
+
+ ## auto-update syslinux if /boot/syslinux/SYSLINUX_AUTOUPDATE exists
+ /usr/bin/syslinux-install_update -s
+
+ post_install
+
}
# vim:set ts=2 sw=2 et: