From 8401511b733d0afa9a7c83a3473ced58a069184b Mon Sep 17 00:00:00 2001 From: SangYoun Kwak Date: Tue, 9 Jul 2024 16:37:01 +0900 Subject: [PATCH] scripts: Add new param file upgrade-type.info File for the new parameter 'upgrade-type' is added. The boot partition is selected by this parameter. Available values(and boot partition for this value): * "offline" (ramdisk-recovery) * "online" (ramdisk) The default value is "offline". Change-Id: I929a5236c7f506708dda9a454af53648eef7e393 Signed-off-by: SangYoun Kwak --- sd_fusing.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sd_fusing.py b/sd_fusing.py index 72184b9..c86bf40 100755 --- a/sd_fusing.py +++ b/sd_fusing.py @@ -15,7 +15,7 @@ import sys import tarfile import tempfile -__version__ = "1.1.5" +__version__ = "1.1.6" Format = False Device = "" @@ -116,7 +116,8 @@ class SdFusingTarget: params = (('reboot-param.bin', 'norm'), ('reboot-param.info', 'norm'), ('upgrade-progress-status.info', '0'), - ('upgrade-state.info', 'standby')) + ('upgrade-state.info', 'standby'), + ('upgrade-type.info', 'offline')) def __init__(self, device, ltype): # TODO: make a copy of a sublcass part_table -- 2.34.1