mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-23 07:59:28 -04:00
If you are exposing a symlink, say /link (-> /target) and also a child of it, say /link/child, then we run into dependency issues. For instance, the /link symlink is created, pointing to /target, but then we try to to create /link/child before the /target bind mount is setup, which will fail. We work around this by adding a level, and the dependency of a symlink (/target in the above case) will always be handled first. This isn't a perfect solution, but is likely to be good enough in practice. (cherry picked from commit 5c4c4bbe56807ce94ef2eb0cc860b1cf488371f5)