mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-14 20:31:54 +00:00
Fix upgrade for UEFI images
This commit is contained in:
parent
a837a624ce
commit
08432f1121
1 changed files with 1 additions and 1 deletions
|
@ -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"')
|
||||
|
|
Loading…
Reference in a new issue