armbian / build

Armbian Linux build framework generates custom Debian or Ubuntu image for x86, aarch64, riscv64 & armhf
https://www.armbian.com
GNU General Public License v2.0
4.29k stars 2.36k forks source link

Parted compatibility issue related to Ubuntu Noble #6956

Open igorpecovnik opened 4 months ago

igorpecovnik commented 4 months ago

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

github-actions[bot] commented 4 months ago

Jira ticket: AR-2420

igorpecovnik commented 4 months ago

Check also this one @3V3RYONE

3V3RYONE commented 4 months ago

On it!

glneo commented 4 months ago

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.

igorpecovnik commented 4 months ago

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.