K3: Use sfdisk instead of parted for setting flag in boot partition

The latest 'parted' package that is shipped with Ubuntu noble does not
allow to set the 'lba' flag on MBR/DOS partitions and fails with an
error. Use 'sfdisk' instead for the same.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
This commit is contained in:
Andrew Davis
2025-01-08 13:16:19 +05:30
committed by Igor
parent 35ec913d00
commit ef0a4a3d55

View File

@@ -83,7 +83,7 @@ function post_create_partitions() {
function format_partitions() {
# ROM is very particular about partition IDs
run_host_command_logged parted ${LOOP} set 1 lba on
run_host_command_logged sfdisk --part-type ${LOOP} 1 e
}
function write_uboot_platform() {