I am using torizoncore-builder version 3.9.0. I’ve added and “extra” directory and a .tcattr file. This section in the .tcattr file works (the # is causing to bold certain lines):
Even though I have a folder at the same level with the .tcattr and with the ini file in that directory (home/torizon/my.ini), the same as the one that works. Is there something I am doing wrong here?
When working with the TorizonCore Builder tool it’s important to know that it uses OSTree under the hood.
And in our introduction for OSTree: ..In addition, some directories such as /var and /etc and handled as special cases, providing persistent configuration and user data to be preserved between updates.
and
``…/var: this directory is not touched by OSTree, and can be used to store logs, databases and any other data consumed or generated by applications.
So attempting to use the TorizonCore-builder tool (and subsequently OSTree) on directories that are specifically not touched by OSTree will give errors.
I don’t get any errors. They just don’t show up.
In the explanation on the builder says you can add any folders using the “extra” directory with a .tcattr file. It doesn’t state you are limited to /var and /etc directories.
I know that isolate only looks at /etc changes. And my /var changes work fine, and aren’t there if I remove the /extra directory.
So, you are saying I can only put folders in that are under /var and /usr directories? Is there a way to get it to run a script file, to create and copy things?
I see there is a wrapup.sh file in the installer directory. Can I add things to that to copy files and mkdirs?