]> git.proxmox.com Git - pve-kernel-meta.git/blobdiff - debian/postinst
d/postinst: create fallback symlinks for rescue-boot here
[pve-kernel-meta.git] / debian / postinst
diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..c7d1270
--- /dev/null
@@ -0,0 +1,17 @@
+#! /bin/sh
+
+# Abort if any command returns an error value
+set -e
+
+case "$1" in
+  configure)
+    # setup kernel links for installation CD (rescue boot)
+    mkdir -p /boot/pve || true
+    ln -sf /boot/pve/vmlinuz-6.5 /boot/pve/vmlinuz || true
+    ln -sf /boot/pve/initrd.img-6.5 /boot/pve/initrd.img || true
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0