summaryrefslogtreecommitdiffstats
path: root/abs/extra/syslinux/syslinux.install
blob: 4bb7f8579c0af4adf783c11b78875c640b850b13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
post_install() {
  
  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/bin/syslinux-install_update -s
  
  post_install
  
}

# vim:set ts=2 sw=2 et: