]> git.proxmox.com Git - pve-kernel-meta.git/blame - debian/postinst.in
zz-pve-efiboot: adapt to static list of ESPs
[pve-kernel-meta.git] / debian / postinst.in
CommitLineData
43a34d06
FG
1#! /bin/sh
2
3# Abort if any command returns an error value
4set -e
5
6case "$1" in
7 configure)
8 # setup kernel links for installation CD (rescue boot)
9 mkdir -p /boot/pve
10 ln -sf /boot/vmlinuz-@KERNEL_ABI@ /boot/pve/vmlinuz-@KERNEL_VER@
11 ln -sf /boot/initrd.img-@KERNEL_ABI@ /boot/pve/initrd.img-@KERNEL_VER@
12 ;;
13esac
14
15exit 0