d/postinst: create fallback symlinks for rescue-boot here

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-11-23 10:36:45 +01:00
parent 5198ab50dc
commit cb643ddf9e

17
debian/postinst vendored Normal file
View File

@ -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