]> git.proxmox.com Git - proxmox-ve.git/commitdiff
d/control: switch over to 5.11 kernel as default
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 24 May 2021 10:16:32 +0000 (12:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 24 May 2021 10:20:39 +0000 (12:20 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/control
debian/postinst
debian/postrm

index 7ef59aa12f595c5873637da90e812bbf3b8a72dd..81b55e2e5c2f250a5262675059a21656acdd2410 100644 (file)
@@ -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.
index a4b671688cef57e4dc5df7d0bd632c2290b87d03..231c0c5b07cc1c242f759dc9e6156b5def4d04eb 100755 (executable)
@@ -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
 
index c2614d40cac96169fa64a046aea2f1b859234c8f..09ff323f9984f63e8ec217e04d299d395749cadd 100755 (executable)
@@ -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
     ;;