Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
openssh-client,
openssh-server,
proxmox-archive-keyring,
- pve-kernel-5.4,
+ pve-kernel-5.11,
pve-kernel-helper,
pve-manager,
pve-qemu-kvm,
Package: pve-headers
Architecture: all
-Depends: pve-headers-5.4,
+Depends: pve-headers-5.11
Description: Default Proxmox VE Kernel Headers
This is a metapackage which will install the kernel headers for the
current default kernel.
#! /bin/sh
# Abort if any command returns an error value
-set -e
+set -e
case "$1" in
configure)
# setup kernel links for installation CD (rescue boot)
- mkdir -p /boot/pve
- ln -sf /boot/pve/vmlinuz-5.4 /boot/pve/vmlinuz
- ln -sf /boot/pve/initrd.img-5.4 /boot/pve/initrd.img
+ mkdir -p /boot/pve || true
+ ln -sf /boot/pve/vmlinuz-5.11 /boot/pve/vmlinuz || true
+ ln -sf /boot/pve/initrd.img-5.11 /boot/pve/initrd.img || true
;;
esac
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
# remove kernel symlinks
- rm -f /boot/pve/vmlinuz
- rm -f /boot/pve/initrd.img
+ rm -f /boot/pve/vmlinuz || true
+ rm -f /boot/pve/initrd.img || true
rmdir --ignore-fail-on-non-empty /boot/pve/ || true
;;