When I’m trying to launch docker-mender-convert according to the tutorial it fails with the following error (the latest version of Docker Engine is installed as part of Docker Desktop with default settings):
mender-convert-modify has finished. Cleaning up...
2023-10-09 05:00:40 [ERROR] [mender-convert] mender-convert failed
2023-10-09 05:00:38 [DEBUG] [mender-convert-modify] When running: (configs/raspberrypi_config:34): run_and_log_cmd():
sed -i 's[ ]root=[^ ]*/ root=${mender_kernel_root}/' work/rpi/cmdline.txt
sed: couldn't open temporary file work/rpi/sedqWUbSX: Permission denied
2023-10-09 05:00:40 [ERROR] [mender-convert] mender-convert failed
2023-10-09 05:00:40 [ERROR] [mender-convert] mender-convert exit code: 4
docker-mender-convert was called with the following parameters:
MENDER_ARTIFACT_NAME=release-0.0.1 ./docker-mender-convert \
--disk-image input/golden-image-0.0.1.img \
--config configs/raspberrypi4_ubuntu_config \
--overlay input/rootfs_overlay_demo/