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