]> git.proxmox.com Git - pve-kernel-meta.git/commitdiff
efiboot: be less verbose if UUID file does not exist
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 10 Jul 2019 15:05:08 +0000 (17:05 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 10 Jul 2019 18:17:53 +0000 (20:17 +0200)
this is the default for upgraded systems after all.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
efiboot/zz-pve-efiboot

index 134d4ab7bc830e48e8adfa372dd3457cb4f7845e..5e4d6dc50d3b18f633dea25c63e3493604787e52 100755 (executable)
@@ -39,11 +39,8 @@ potential_esps(){
 
 update_esps() {
        if [ ! -f "${ESP_LIST}" ]; then
 
 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)"
        fi
        if [ -f /etc/kernel/cmdline ]; then
                CMDLINE="$(cat /etc/kernel/cmdline)"