Mender-convert failed

Hi, this issue report is related to the docker setup for pi zero, available here.

When running:
MENDER_ARTIFACT_NAME=release-1 ./docker-mender-convert
–disk-image input/2021-03-04-raspios-buster-armhf-lite.img
–config configs/raspberrypi0w_config
–overlay ${PWD}/rootfs_overlay_demo

The command finished at this:

mender-convert-modify has finished. Cleaning up...
2021-05-14 11:13:46 [ERROR] [mender-convert] mender-convert failed
2021-05-14 11:13:46 [DEBUG] [mender-convert-modify] When running: (./mender-convert-modify:317): run_and_log_cmd():

sudo rsync --archive --keep-dirlinks --verbose /Users/barney/Documents/GitHub/mender-convert/rootfs_overlay_demo/ work/rootfs/
sending incremental file list

rsync: change_dir "/Users/username/Documents/GitHub/mender-convert/rootfs_overlay_demo" failed: No such file or directory (2)

sent 20 bytes  received 12 bytes  64.00 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]

Notably the previous command caused an error for me also:

./scripts/ \
--output-dir ${PWD}/rootfs_overlay_demo \
--tenant-token "

output was: chown: 501.20: illegal user name

Would appreciate any insight on this.


That tutorial specifically has you checking out an older version of mender-convert. I’m pretty sure this has been fixed in later versions. Instead of starting with:

git clone -b 2.2.1

can you try?

git clone -b 2.3.0