6e72c5b2b7
long overdue, and avoids the issue of the meta packages version going down after being folded in from the pve-kernel-meta repository. the ABI needs to be bumped for every published kernel package now that modules are signed, else the booted kernel image containing the public part of the ephemeral signing key, and the on-disk (potentially upgraded in-place) signed module files can disagree, and module loading would fail. not changed (yet): git repository name, pve-firmware Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20 lines
396 B
Bash
Executable File
20 lines
396 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# Abort if any command returns an error value
|
|
set -e
|
|
|
|
case "$1" in
|
|
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
|
# remove kernel symlinks
|
|
rm -f /boot/pve/vmlinuz-@@KVNAME@@
|
|
rm -f /boot/pve/initrd.img-@@KVNAME@@
|
|
;;
|
|
|
|
*)
|
|
echo "postrm called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|