Alter files in the new filesystem before reboot

adriannawenz
Wed, 01 Feb 2023 17:09:01 +0000
General Discussions

I want to symlink certain files from the new artifact to a /data partition before rebooting. Is this possible to do in the ArtifactInstall_Leave? I believe ArtifactInstall_Leave occurs in the old file system. Is there a way to refer to files in the new file system and symlink them, for example using an environment variable like MENDER_ARTIFACT_DIR/…/rootfs/. I am using an nvidia tx2 with A/B system updates.

3 posts - 3 participants