01.03.2022 13:08, vijaikumar....@gmail.com wrote:
Hi,

Currently the rpi target build fails.

There are 2 issues.
1. /sbin is not added by default PATH in vanilla debian distributions for normal users. So parted and mkfs cannot be used out of the box.
2. mkfs.vfat has a label limit of 11 characters, we are currently passing in the machine name which is longer and errors out as below.
| Sector size (logical/physical): 512B/512B
| Partition Table: msdos
| Disk Flags:
|
| Number  Start   End     Size    Type     File system  Flags
|  1      4194kB  88.1MB  83.9MB  primary               boot, lba
|  2      88.1MB  524MB   436MB   primary
|
| mkfs.vfat: Label can be no longer than 11 characters
| mkfs.fat 4.2 (2021-01-31)
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (mc:rpi-arm64-v8-bullseye:/home/gomti/vijai_workspace/isar-upstream/isar/meta-isar/recipes-core/images/isar-image-base.bb:do_rpi_sdimg) failed with exit code '1'

I currently donot have any boards to test. So just bringing it to notice here.

For 1 we should probably bring back adding /sbin to path in isar-init-build-env.

Thanks,
Vijai Kumar K
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/5206ee9d-9895-4988-be2e-742c6f3edd10n%40googlegroups.com.


Can you give the details of both issues (host distro, environment, Isar commit, target, etc)?

P.S. I will be out of office next week, will back 2022-03-14