Content interface stripping 'content:' line in snap.yaml

There is prior art to that one …

in snap/snapcraft.yaml i have:

slots:
  socket:
    interface: content
    content: pcscd-socket
    source:
      write: [ $SNAP_COMMON/pcscd ]

and in prime/meta/snap.yaml i end up with:

slots:
  socket:
    interface: content
    source:
      write:
      - $SNAP_COMMON/pcscd

which then results in consumer snaps not being able to connect to this content interface … this seems to have regressed somehow since it got fixed in the other thread.

1 Like

Apologies for my error, here is an incoming fix:
https://github.com/snapcore/snapcraft/pull/3227

1 Like