[pve-devel] [PATCH kernel-meta 10/13] efiboot: be less verbose if UUID file does not exist
Fabian Grünbichler
f.gruenbichler at proxmox.com
Wed Jul 10 17:05:08 CEST 2019
this is the default for upgraded systems after all.
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
efiboot/zz-pve-efiboot | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/efiboot/zz-pve-efiboot b/efiboot/zz-pve-efiboot
index 134d4ab..5e4d6dc 100755
--- a/efiboot/zz-pve-efiboot
+++ b/efiboot/zz-pve-efiboot
@@ -39,11 +39,8 @@ potential_esps(){
update_esps() {
if [ ! -f "${ESP_LIST}" ]; then
- warn "No ${ESP_LIST} found, cannot update installed kernels - exiting"
- esps="$(potential_esps)"
- warn "add the UUIDs of one of the following devices to ${ESP_LIST}:"
- warn "${esps}"
- exit 1
+ warn "No ${ESP_LIST} found, skipping ESP sync."
+ exit 0
fi
if [ -f /etc/kernel/cmdline ]; then
CMDLINE="$(cat /etc/kernel/cmdline)"
--
2.20.1
More information about the pve-devel
mailing list