Hi,
Following the instructions at https://software-dl.ti.com/processor-sdk-linux-rt/esd/AM64X/07_03_00_02/exports/docs/devices/AM64X/Overview/Create_SD_Card.html#am64x-create-sd-card-with-default-images a new image was created from tisdk-default-image-am64xx-evm.tar.xz.
After some troubleshooting, it turns out that the rootfs doesn't have /usr/bin/sudo.
It is listed as installed when running `opkg list_installed | grep sudo` and can't be deleted because of dependencies.
/usr/bin/sudo is properly present on the default "wic" image and this is one of only two paths in the default image (the other for lost+found) that is different between the "tar" and "wic" default images, so this is likely an oversight. I was able to get /usr/bin/sudo from the "wic" image into the target and it seems to work as desired.
Could you comment on this? Will this be fixed in the next PSDK revision?
Thanks!
PS: useful links to follow if anyone needs to replicate:
https://superuser.com/questions/211338/how-to-mount-a-multi-partition-disk-image-in-linux
command to diff files in both (once .wic is mounted): `sudo diff -qr rootfs /mountpoint/for/sdcardPartition2 2> /dev/null`






