build icon indicating copy to clipboard operation
build copied to clipboard

Parted compatibility issue related to Ubuntu Noble

Open igorpecovnik opened this issue 1 year ago • 5 comments

Bumping build host changed this https://github.com/armbian/build/blob/0898df5db4b9108a36bcd504c94190be57b5c2fe/config/sources/families/k3.conf#L86 into a problem.

[🐳|🌱] Device node created OK [ /dev/loop0p1 ] [🐳|🔨] mkfs.fat: Warning: lowercase labels might not work properly on some systems [🐳|🔨] mkfs.fat 4.2 (2021-01-31) [🐳|🔨] parted: invalid token: lba [🐳|💥] Error 1 occurred in main shell [ at /armbian/lib/functions/logging/runners.sh:211

igorpecovnik avatar Jul 17 '24 04:07 igorpecovnik

Jira ticket: AR-2420

github-actions[bot] avatar Jul 17 '24 04:07 github-actions[bot]

Check also this one @3V3RYONE

igorpecovnik avatar Jul 22 '24 09:07 igorpecovnik

On it!

3V3RYONE avatar Jul 23 '24 11:07 3V3RYONE

Not sure what broke in the latest parted shipped with Nobel, but we can do the same action with sfdisk instead by changing that line to:

run_host_command_logged sfdisk --part-type ${LOOP} 1 e

@3V3RYONE , I checked this on AM64, could you double check this on the Jacinto platforms? And feel free to post the patch for this if everything works.

glneo avatar Jul 23 '24 18:07 glneo

Not sure what broke in the latest parted shipped with Nobel

With this we can still wait awhile, perhaps it will be sorted out upstream, its not urgent, as not all other build targets can be build with Noble. I would say prepare a PR that can be merged if this doesn't sort out with parted.

igorpecovnik avatar Jul 23 '24 19:07 igorpecovnik

We are moving to Noble soon, so this is now getting higher priority. https://paste.armbian.de/rumamefoza

igorpecovnik avatar Jan 03 '25 19:01 igorpecovnik

Is this only about k3?

rpardini avatar Jan 03 '25 23:01 rpardini

yes, i think so.

igorpecovnik avatar Jan 04 '25 07:01 igorpecovnik

This one slipped.. Will take a look in couple days

3V3RYONE avatar Jan 04 '25 09:01 3V3RYONE

@igorpecovnik Tried a local build with noble filesystem. Seems to be working okay for me... Board = sk-tda4vm

Also, I see some noble pre-built images hosted on armbian site for tda4vm sk. Is it specific to some board?

SK-AM64 board build works locally too: https://paste.armbian.com/atojehapey.yaml

3V3RYONE avatar Jan 06 '25 17:01 3V3RYONE

Nonetheless, I applied @glneo 's patch above and built it for SK-TDA4VM board. Build was successful. Need to do sanity boot testing tomorrow. @igorpecovnik Could you please check if it solves your build failure? Thanks..

3V3RYONE avatar Jan 06 '25 18:01 3V3RYONE

@3V3RYONE Test by building with parameter: DOCKER_ARMBIAN_BASE_IMAGE="ubuntu:noble"

igorpecovnik avatar Jan 06 '25 20:01 igorpecovnik

Thanks @igorpecovnik ! I was able to reproduce it, will post PR soon.

3V3RYONE avatar Jan 07 '25 18:01 3V3RYONE