From: Thomas Lamprecht Date: Mon, 24 May 2021 10:16:32 +0000 (+0200) Subject: d/control: switch over to 5.11 kernel as default X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=02046aabbe1188362591bc9015100d2fcec5f5f9;p=proxmox-ve.git d/control: switch over to 5.11 kernel as default Signed-off-by: Thomas Lamprecht --- diff --git a/debian/control b/debian/control index 7ef59aa..81b55e2 100644 --- a/debian/control +++ b/debian/control @@ -15,7 +15,7 @@ Depends: apt, openssh-client, openssh-server, proxmox-archive-keyring, - pve-kernel-5.4, + pve-kernel-5.11, pve-kernel-helper, pve-manager, pve-qemu-kvm, @@ -30,7 +30,7 @@ Description: Proxmox Virtual Environment 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. diff --git a/debian/postinst b/debian/postinst index a4b6716..231c0c5 100755 --- a/debian/postinst +++ b/debian/postinst @@ -1,14 +1,14 @@ #! /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 diff --git a/debian/postrm b/debian/postrm index c2614d4..09ff323 100755 --- a/debian/postrm +++ b/debian/postrm @@ -6,8 +6,8 @@ set -e 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 ;;