mirror of
https://git.proxmox.com/git/pve-kernel-meta
synced 2025-05-01 08:27:15 +00:00
d/postinst: create fallback symlinks for rescue-boot here
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
5198ab50dc
commit
cb643ddf9e
17
debian/postinst
vendored
Normal file
17
debian/postinst
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user