summarylogtreecommitdiffstats
path: root/sbupdate.install
blob: e746d898c37815b1b04614add7b057f1e10e596e (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
# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  if (( "$(vercmp "$2" "0.r132.598988e")" <= 0 )); then
    cat << EOF || return 1

After upgrading to systemd 254, run

  sudo sbupdate

to rebuild EFI images.

EOF
  fi

  post_install "$1"
}

post_install() {
  cat << EOF || return 1

This tool is no longer maintained. For alternatives, refer to:

https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot

EOF
}