[pve-devel] [PATCH pve-kernel-meta v2 1/8] rename pve-efiboot-manual-kernels to proxmox-boot-manual-kernels

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Mar 4 11:51:58 CET 2022


On 03/03/2022 20:07, Stoiko Ivanov wrote:
> was forgotten during the general renaming of pve-efiboot ->
> proxmox-boot.
> 
> follows commit 8c0a22adfe15dc00cf2194647bb254201d8d187b
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
> rebased on current master
> 
>  debian/pve-kernel-helper.postinst | 4 ++++
>  proxmox-boot/functions            | 2 +-
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/debian/pve-kernel-helper.postinst b/debian/pve-kernel-helper.postinst
> index 634af3d..2317645 100644
> --- a/debian/pve-kernel-helper.postinst
> +++ b/debian/pve-kernel-helper.postinst
> @@ -12,6 +12,10 @@ case "$1" in
>              # FIXME: remove with next version, this is for an internal-only distributed update
>              update-initramfs -uk 5.15.19-2-pve || true
>          fi
> +        if [ -e /etc/kernel/pve-efiboot-manual-kernels ]; then

should we add a `&& [ ! -e /etc/kernel/proxmox-boot-manual-kernels ]` ?
not that I think it should happen without weird user interaction and downgrading,
but having our forum/support cases in mind it sounds much more probable.

can be followed up though.

> +            echo "$0: legacy manual kernel list /etc/kernel/pve-efiboot-manual-kernels found moving to /etc/kernel/proxmox-boot-manual-kernels" 1>&2
> +            mv /etc/kernel/pve-efiboot-manual-kernels /etc/kernel/proxmox-boot-manual-kernels
> +        fi
>          ;;
>  esac
>  






More information about the pve-devel mailing list