Skip to content

fix(ro-image): create mtda homedir#593

Merged
chombourger merged 1 commit into
siemens:nextfrom
fmoessbauer:fm/fix-ro-mtda-home
Jun 15, 2026
Merged

fix(ro-image): create mtda homedir#593
chombourger merged 1 commit into
siemens:nextfrom
fmoessbauer:fm/fix-ro-mtda-home

Conversation

@fmoessbauer

Copy link
Copy Markdown
Member

On ro-images we deploy an empty var partition. By that, the mtda homedir in /var/lib/mtda currently does not exist on ro images. To fix this, we just create the (empty) dir with a tmpfiles.d entry, similar to how it is done in isar-cip-core. If the directory is present, nothing is done.

Previously this was not needed, as the copy and creation of /home is automatically handled by isar-cip-core.

Fixes: 28f7d2f ("mtda: use /var/lib/mtda as home directory for ...")

CC @bniedermayr

@fmoessbauer

Copy link
Copy Markdown
Member Author

Locally tested.

On ro-images we deploy an empty var partition. By that, the mtda homedir
in /var/lib/mtda currently does not exist on ro images. To fix this, we
just create the (empty) dir with a tmpfiles.d entry, similar to how it
is done in isar-cip-core. If the directory is present, nothing is done.

Previously this was not needed, as the copy and creation of /home is
automatically handled by isar-cip-core.

Fixes: 28f7d2f ("mtda: use /var/lib/mtda as home directory for ...")
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
@fmoessbauer fmoessbauer force-pushed the fm/fix-ro-mtda-home branch from e3fa80e to 0ca4a34 Compare June 9, 2026 10:20
@fmoessbauer fmoessbauer added check and removed check labels Jun 9, 2026
@chombourger chombourger merged commit aeb85c6 into siemens:next Jun 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants