From 4353974d75940352486bac21b877a598e70558d5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 7 Jan 2020 15:20:32 +0100 Subject: [PATCH] boot: fix osrel parser let's check VERSION instead of VERSION_ID where appropriate. Fixes: #14493 --- src/boot/efi/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 84293364b4..e1a1a68527 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -1958,7 +1958,7 @@ static VOID config_entry_add_linux( continue; } - if (strcmpa((CHAR8 *)"VERSION_ID", key) == 0) { + if (strcmpa((CHAR8 *)"VERSION", key) == 0) { FreePool(os_version); os_version = stra_to_str(value); continue; -- 2.25.1