mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user