]> git.proxmox.com Git - pve-kernel-meta.git/commit
proxmox-boot: ignore call to grub-install from grub maintscripts
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 7 Jul 2021 21:09:50 +0000 (23:09 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 8 Jul 2021 06:44:35 +0000 (08:44 +0200)
commit7559f23996835cfc878086296e40765870cd99f5
tree88842811bf638674bf96522814ac8dae08a0c35e
parentdc3e3e5ca746124adeca4f335320849c47ff89a0
proxmox-boot: ignore call to grub-install from grub maintscripts

in certain cases the postinst script of grub-pc runs grub-install on
the disks it gets from debconf. Simply warn and exit with 0 if
grub-install is called by dpkg and from a grub related package

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
bin/grub-install-wrapper