Torizoncore-builder - Can't get union command to work

OK, so I managed to get my bundle comand to work, but I still need to do a union command to incorporate my directory and other changes from my board, and to include the new device tree. I have created. It resides in a directory called:

I have changes from my board running isolate on the board and have added an “extra” directory with an .tcattr file and added directories.

Then I did an image unpack on the
torizon-core-docker-verdin-imx8mp-Tezi_6.6.0-devel-20240305+build.522.CUSTOM folder and then ran:

torizoncore-builder union --changes-directory changes torizon-core-docker-verdin-imx8mp-Tezi_6.6.0-devel-20240305+build.522.CUSTOM

I got this error:
Applying changes from WORKDIR/changes.
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 221, in
File “/builder/tcbuilder/cli/”, line 259, in do_union
union(args.changes_dirs, args.storage_directory,
File “/builder/tcbuilder/cli/”, line 225, in union
commit = ub.union_changes(
File “/builder/tcbuilder/backend/”, line 154, in union_changes
final_commit = commit_changes(
File “/builder/tcbuilder/backend/”, line 137, in commit_changes
result, stats = repo.commit_transaction()
gi.repository.GLib.GError: g-io-error-quark: Invalid refspec torizon-core-docker-verdin-imx8mp-Tezi_6.6.0-devel-20240305+build.522.CUSTOM (0)

Hey @Evets,

Can you attempt without the “+” in the branch name.


OK. So, I have built that custom directory using the build command and it contains my device tree. The output is that directory. I could rename it I suppose, but is that really the problem?