From: Łukasz Stelmach Date: Tue, 3 Oct 2023 10:51:46 +0000 (+0200) Subject: WIP avoid checking patch version of sfdiks, some version don't have it X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0cd826e97cdbd8fa24f87e9418c17d92117e52d;p=platform%2Fkernel%2Fu-boot.git WIP avoid checking patch version of sfdiks, some version don't have it Change-Id: I6d65b5f5643db41c11e7dfaf59e91fa25c917838 Signed-off-by: Łukasz Stelmach --- diff --git a/scripts/tizen/sd_fusing.py b/scripts/tizen/sd_fusing.py index 98e2878..cd2d073 100755 --- a/scripts/tizen/sd_fusing.py +++ b/scripts/tizen/sd_fusing.py @@ -362,7 +362,7 @@ def check_sfdisk(): stdout=subprocess.PIPE) version = proc.stdout.decode('utf-8').strip() logging.debug(f"Found {version}") - major, minor, patch = (int(x) for x in re.findall('[0-9]+', version)) + major, minor = [int(x) for x in re.findall('[0-9]+', version)][0:2] support_delete = False if major < 2 or major == 2 and minor < 26: