From 803fbd55b2564837851beb863c53984f7f3d169b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Trung=20L=C3=AA?= <8@tle.id.au> Date: Tue, 9 Jun 2026 10:39:38 +1000 Subject: [PATCH] update_image.pl: use python3 to run sbeOpDistribute.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit python2 is unavailable on modern host distros; sbeOpDistribute.py is python3-compatible, so invoke it with python3 during p9 image assembly. Signed-off-by: Trung LĂȘ <8@tle.id.au> --- update_image.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_image.pl b/update_image.pl index 2d3d8fc..c310652 100755 --- a/update_image.pl +++ b/update_image.pl @@ -278,7 +278,7 @@ if ($release eq "p9") { my $hw_ref_image = $wink_binary_filename; $hw_ref_image =~ s/.hdr.bin.ecc//; - run_command("python2 $sbe_binary_dir/sbeOpDistribute.py --install --buildSbePart $hb_image_dir/buildSbePart.pl --hw_ref_image $hcode_dir/$hw_ref_image.bin --sbe_binary_filename $sbe_binary_filename --scratch_dir $scratch_dir --sbe_binary_dir $sbe_binary_dir"); + run_command("python3 $sbe_binary_dir/sbeOpDistribute.py --install --buildSbePart $hb_image_dir/buildSbePart.pl --hw_ref_image $hcode_dir/$hw_ref_image.bin --sbe_binary_filename $sbe_binary_filename --scratch_dir $scratch_dir --sbe_binary_dir $sbe_binary_dir"); } else { run_command("cp $hb_binary_dir/$sbe_binary_filename $scratch_dir/");