[pve-devel] [PATCH kernel-meta 2/2] Add efiboot refresh hook to update-initramfs

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Aug 12 11:55:39 CEST 2019


Am 8/1/19 um 1:01 PM schrieb Stefan Reiter:
> As explained in [0], we can add a hook script that will be called after
> update-initramfs did its job (and thus, a new initrd has been created).
> 
> We can use this to automatically sync the ESPs using 'pve-efiboot-tool
> refresh', if update-initramfs was called manually (on kernel upgrade we
> already have a hook that does this).
> 
> [0]: https://kernel-team.pages.debian.net/kernel-handbook/ch-update-hooks.html
> 
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
> 
> Found a hook we can use :)
> 
> Ignore the previous patch to docs then, since the ESP refresh now happens
> automatically. I'll send a new one later

Nice solution. But, off-topic, can you please also reply to obsolete patches
directly in the future, mentioning that they are obsolete and a short why
(replaced by other patch, was a non-issue, ...). This is then a bit easier to
catch than mentioning somewhere else, where it may easily fly under some
radars, at least mine :) Thanks!



More information about the pve-devel mailing list