Skip to content

Commit

Permalink
K3: Use sfdisk instead of parted for setting flag in boot partition
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Beleswar Padhi <[email protected]>
  • Loading branch information
glneo authored and 3V3RYONE committed Jan 8, 2025
1 parent 9ce005f commit be63e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/sources/families/k3.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit be63e59

Please sign in to comment.