pve-kernel-meta/debian/pve-kernel-helper.postinst
Stoiko Ivanov 8c0a22adfe proxmox-boot: rename uuid list file
in order to be consistent with the renaming of pve-efiboot-tool to
proxmox-boot-tool.

Sending as separate patch, since it changes and removes a file in
'/etc', which could be considered part of the external 'api' of
proxmox-boot-tool

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

17 lines
347 B
Bash

#! /bin/sh
set -e
case "$1" in
configure)
if [ -e /etc/kernel/pve-efiboot-uuids ]; then
echo "$0: legacy ESP list /etc/kernel/pve-efiboot-uuids found moving to /etc/kernel/proxmox-boot-uuids" 1>&2
mv /etc/kernel/pve-efiboot-uuids /etc/kernel/proxmox-boot-uuids
fi
;;
esac
#DEBHELPER#
exit 0