OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version All
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by n8v8R - 11.06.2020

FS#3174 - [sysupgrade] unsupported GPT PARTUUID notation

{”kernel”:”5.4.45”,”hostname”:”OpenWrt”,”system”:”ARMv7 Processor rev 1 (v7l)”,”model”:”Turris Omnia”,”board_name”:”cznic,turris-omnia”,”release”:{”distribution”:”OpenWrt”,”version”:”SNAPSHOT”,”revision”:”r13527-61307544d1”,”target”:”mvebu/cortexa9”,”description”:”OpenWrt SNAPSHOT r13527-61307544d1”}}


deploying from GPT partition

(. /lib/upgrade/common.sh; set -x; export_bootdevice)
+ export_bootdevice
+ local cmdline bootdisk rootpart uuid blockdev uevent line class
+ local MAJOR MINOR DEVNAME DEVTYPE
+ read cmdline
+ rootpart='PARTUUID=4d4ced8f-b95c-1142-9287-529911b660c6 rootflags=commit=5 rw cfg80211.freg=**'
+ rootpart='PARTUUID=4d4ced8f-b95c-1142-9287-529911b660c6'
+ '[' -e  ]
+ return 1
 

This patch sorts the issue

diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index c375b70742..e718d0412b 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -154,7 +154,7 @@ export_bootdevice() {
                                        fi
                                done
                        ;;
-                       PARTUUID=????????-????-????-????-??????????02)
+                       PARTUUID=????????-????-????-????-????????????)
                                uuid="${rootpart#PARTUUID=}"
                                uuid="${uuid%02}00"
                                for disk in $(find /dev -type b); do


Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing