mediatek: mt7622: don't rely on existing image for sysupgrade
Don't reply on mapped rootfs partition but rather just take what ever has been set to the kernel cmdline root= parameter as a hint to decide which media to install sysupgrade to on the BananaPi BPi-R64. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
		| @@ -6,8 +6,8 @@ platform_do_upgrade() { | |||||||
|  |  | ||||||
| 	case "$board" in | 	case "$board" in | ||||||
| 	bananapi,bpi-r64) | 	bananapi,bpi-r64) | ||||||
| 		export_bootdevice | 		local rootdev="$(cmdline_get_var root)" | ||||||
| 		export_partdevice rootdev 0 | 		rootdev="${rootdev##*/}" | ||||||
| 		case "$rootdev" in | 		case "$rootdev" in | ||||||
| 		mmc*) | 		mmc*) | ||||||
| 			CI_ROOTDEV="$rootdev" | 			CI_ROOTDEV="$rootdev" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Daniel Golle
					Daniel Golle