reasoning: For when running on AMD xilinx boards, we have implemented the full upstream functionality of their proprietary solution (dfx-mgr) by using their binaries as a backend for fpgad. dfx-mgr is a client/daemon system which uses the socket at /run/dfx-mgrd.socket for communication and therefore we require RW access to this file.
[^1] Bitstreams are binary blobs that configures FPGA devices
+2 for, 0 against granting fpgad the write access to /run/dfx-mgrd.socket via auto-connection of system-files interface. This is now live.
Note that the snap is still failing with an error and a warning. The error is related to the other system-files interface. In previous snap revisions this interface was defined as
Both are equivalent permissions wise, however review-tools exactly match attributes in the snap.yaml and the snap-desclaration. I cannot simply update the snap-declaration to match this new definition as this will cause regressions with snaps using the old definition (which are now in all snap channels). Thus, you will need to revert this to keep using the previous interface definition.
Regarding the warning, this is review-tools not knowing about the hooks you are using for components. Let me clarify with snapd folks what new hooks have been introduced to support snap components
Edit: we have investigated build failures due to dfx-mgr not being available for all architectures we target. We will address this in the PPA. jq snap doesn’t exist for riscv (in stable at least) so we will have to figure this out too.