pve-kernel-meta/proxmox-boot/proxmox-boot-sync
Stoiko Ivanov b3c980626d proxmox-boot-tool: rename from pve-efiboot-tool
We will be using the mechanics also for ZFS systems booting with BIOS
legacy boot, and the tool is used also in PMG and PBS.

A symlink is kept in place for compatibility reasons

The hook scripts are marked as conffiles (as all files in /etc) and
are handled by dpkg-maintscript-helper(1) via dh_installdeb(1)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-04-23 13:28:56 +02:00

12 lines
392 B
Bash

#! /bin/sh
set -e
# Only run the refresh if update-initramfs has been called manually.
# If this script is being run as part of a post-kernel-install hook,
# this variable will be set to 1 and we do nothing, since our pve-kernel
# hooks will update the ESPs all at once anyway.
if [ -z "$INITRAMFS_TOOLS_KERNEL_HOOK" ]; then
/usr/sbin/proxmox-boot-tool refresh --hook 'zz-proxmox-boot'
fi