pve-kernel-meta/debian/proxmox-default-kernel.postinst
Thomas Lamprecht 98b46d24ce install postinst/rm to proxmox-default-kernel
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-11-23 10:53:08 +01:00

18 lines
339 B
Bash
Executable File

#! /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