Request for dfx-mgr-socket system-files autoconnection for FGPAd snap

  • name: fpgad
  • description: FPGA utility that manages bitstream[^1] loading and unloading
  • snapcraft: fpgad/snap/snapcraft.yaml at main · canonical/fpgad · GitHub
  • upstream: GitHub - canonical/fgpad
  • upstream-relation: maintainer
  • interfaces:
    • system-files:
      • request-type: auto-connection
      • 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

interface definition:

  dfx-mgr-socket:
    interface: system-files
    write:
      - /run/dfx-mgrd.socket

Note that I tried using layouts and this is prohibited for files in /run/ . Please let me know if there is a preferred solution which is not this.

Thanks in advance, and don’t hesitate to ask if anything isn’t clear Best, Artie (& Talha)

Previous requests:

I failed to add the suitable tag. I will remake this post with the right tags.