I followed the instructions to build Torizon from source here: Build Torizon OS from Source With Yocto Project/OpenEmbedded | Toradex Developer Center
I used the option with the crops docker container for this build.
NOTE: Tasks Summary: Attempted 9282 tasks of which 0 didn't need to be rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 8 seconds
Summary: There were 7 WARNING messages.
The build completes without any errors (just a couple of warnings), but when I try to deploy it using torizoncore-builder, I get a checksum error.
First unpacked like this:
❯ torizoncore-builder images unpack source-build/workdir/build-torizon/deploy/images/toradex-smarc-imx95/torizon-docker-toradex-smarc-imx95-Tezi.tar
Storage not empty. Delete current image before continuing? [y/N] y
Unpacking Toradex Easy Installer image.
Unpacking TorizonCore Toradex Easy Installer image.
Importing OSTree revision 9ccd1d6a4a1c4c55eba6525d4a2863cdb812f4e5d4c7f927c585e74bfb3b9fa0 from local repository...
1284 metadata, 9867 content objects imported; 726.0 MB content written
0 metadata, 0 content objects imported; 0 bytes content written
Unpacked OSTree from Toradex Easy Installer image:
Commit checksum: 9ccd1d6a4a1c4c55eba6525d4a2863cdb812f4e5d4c7f927c585e74bfb3b9fa0
TorizonCore Version: 7.5.0-devel-20260413203527+build.0
Then deploy:
❯ torizoncore-builder deploy --remote-host 192.168.0.121 --remote-username torizon --remote-password torizon --reboot
WARNING: Beware that artifacts not managed by OSTree (e.g. bootloader, container images, platform provisioning data, fuse values, U-Boot environment) will not be deployed by this operation.
Pulling OSTree with ref base (checksum 9ccd1d6a4a1c4c55eba6525d4a2863cdb812f4e5d4c7f927c585e74bfb3b9fa0) from local archive repository...
Starting http server to serve OSTree.
OSTree server listening on "localhost:42153".
97417c0066dda6e1f0deb8168817a551474349f1c1e67af2725b8199f221f4e0
'toradex-smarc-imx95'
Starting OSTree pull on the device...
An unexpected Exception occurred. Please provide the following stack trace to
the Toradex TorizonCore support team:
Traceback (most recent call last):
File "/builder/torizoncore-builder", line 234, in <module>
mainargs.func(mainargs)
File "/builder/tcbuilder/cli/deploy.py", line 227, in do_deploy
do_deploy_ostree_remote(args)
File "/builder/tcbuilder/cli/deploy.py", line 190, in do_deploy_ostree_remote
deploy_ostree_remote(
File "/builder/tcbuilder/cli/deploy.py", line 184, in deploy_ostree_remote
dbe.deploy_ostree_remote(remote_host, remote_username, remote_password,
File "/builder/tcbuilder/backend/deploy.py", line 573, in deploy_ostree_remote
run_command_with_sudo(
File "/builder/tcbuilder/backend/deploy.py", line 448, in run_command_with_sudo
result = ssh_connection.sudo(command, pty=True, hide=True, timeout=REMOTE_CMD_TIMEOUT)
File "/usr/local/lib/python3.9/dist-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
File "/usr/local/lib/python3.9/dist-packages/fabric/connection.py", line 23, in opens
return method(self, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/fabric/connection.py", line 777, in sudo
return self._sudo(self._remote_runner(), command, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/invoke/context.py", line 232, in _sudo
return runner.run(cmd_str, watchers=watchers, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/fabric/runners.py", line 83, in run
return super().run(command, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/invoke/runners.py", line 395, in run
return self._run_body(command, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/invoke/runners.py", line 451, in _run_body
return self.make_promise() if self._asynchronous else self._finish()
File "/usr/local/lib/python3.9/dist-packages/invoke/runners.py", line 518, in _finish
raise UnexpectedExit(result)
invoke.exceptions.UnexpectedExit: Encountered a bad command exit code!
Command: "sudo -S -p '[sudo] password: ' ostree pull tcbuilder:9ccd1d6a4a1c4c55eba6525d4a2863cdb812f4e5d4c7f927c585e74bfb3b9fa0"
Exit code: 1
Stdout:
[sudo] password:
error: Writing content object: Corrupted file object; checksum expected='d84ffb0772ed6cc2f33adaa8f1bf72edecb83e391334901a54010afc9cc67095' actual='4cbd558a36a7b7e1804f958177474f00133cd76593dc9326c24803258d5681f3'
Stderr: n/a (PTYs have no stderr)