diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..c7d1270 --- /dev/null +++ b/debian/postinst @@ -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