summaryrefslogtreecommitdiff
path: root/libre/linux-libre-pck/linux.install
blob: 19a43a52438ad1af6d7cc0dddcbf168177d5eeb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_upgrade() {
  if [ "$(uname -m)" = "x86_64" ] || [ "$(uname -m)" = "i686" ]; then
    if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then
      echo "WARNING: /boot appears to be a separate partition but is not mounted."
    fi
  fi
}

post_remove() {
  rm -f boot/initramfs-%PKGBASE%.img
  rm -f boot/initramfs-%PKGBASE%-fallback.img
}

# vim:set ft=sh ts=8 sts=2 sw=2 et: