mirror of
https://git.proxmox.com/git/pve-kernel-meta
synced 2025-08-06 18:06:03 +00:00

if a (legacy) system is booted with proxmox-boot-tool, running `grub-install` without being aware of the fact can render the system unbootable (e.g. when letting the early stage point to an incompatible zpool instead of the ESP). To prevent this we add a dpkg-diversion [0], which simply checks if `proxmox-boot-tool status` indicates that proxmox-boot is used and errors out in that case, and runs the actual grub-install else. Co-authored-by: Thomas Lamprecht <t.lamprecht@proxmox.com> Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
8 lines
222 B
Plaintext
8 lines
222 B
Plaintext
etc/grub.d/000_proxmox_boot_header
|
|
etc/kernel/postinst.d/*
|
|
etc/kernel/postrm.d/*
|
|
etc/initramfs/post-update.d/proxmox-boot-sync
|
|
usr/sbin/proxmox-boot-tool
|
|
usr/sbin/grub-install
|
|
usr/share/pve-kernel-helper/scripts/functions
|