From 08432f1121c938024fe73fe18a4f320d3ff2f520 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Mon, 5 Aug 2019 11:34:19 +0200 Subject: [PATCH] Fix upgrade for UEFI images --- patches/uefi.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/uefi.patch b/patches/uefi.patch index 22f554e0..abe0b3e3 100644 --- a/patches/uefi.patch +++ b/patches/uefi.patch @@ -807,7 +807,7 @@ index bbedeefd262..78cdc2495ee 100644 +-[a-f0-9][a-f0-9][a-f0-9][a-f0-9]\ +-[a-f0-9][a-f0-9][a-f0-9][a-f0-9]\ +-[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]02) -+ uuid="${disk#PARTUUID=}" ++ uuid="${rootpart#PARTUUID=}" + uuid="${uuid%02}00" + for disk in $(find /dev -type b); do + set -- $(dd if=$disk bs=1 skip=568 count=16 2>/dev/null | hexdump -v -e '8/1 "%02x "" "2/1 "%02x""-"6/1 "%02x"')