Currently, apt-ostree doesn't implement changes made
to /opt/* files. While an adjustment to apt-ostree is
in progress, packages affected by this must install
their content in other directories.
Since LAT is redirecting content install to /opt
in this repo to /usr/rootdirs/opt, the paths here
have been adjusted to use the final destination directly.
Importantly, note that no behavior changes come from this.
In addition, since LAT creates the symlinks from /opt
to /usr/rootdirs/opt via tmpfiles here [1] and apt-ostree
doesn't, we need to add these tmpfiles as well.
Ref:
[1] https://github.com/Wind-River/meta-lat/blob/20230307/recipes-support/genimage/files/genimage/scripts/run.do_image_ostree#L94-L103
Test Plan:
pass: build pkgs
pass: Install ISO and verify contents are
accessible from original location in /opt
pass: Create patch with the new debs and install it.
Verify that the system files received the changes.
Story: 2010867
Task: 51559
Change-Id: I6caa6670b6c669927245c4fb9bd525597d897cfd
Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>