Hi!

On Mon, Mar 20, 2017 at 8:29 PM, Jamie Strandboge <[email protected]>
wrote:

> The aksusbd case seems like it could be covered by existing interface
> techniques. The providing snap slots the hasp interface and that interface
> could
> add udev rules that point to (the snappy command aliased)
> /snap/bin/aksusbd.
> There is probably a little thought to be had there since it assumes the
> aksusbd
> alias and that might be somewhat awkward for different slot
> implementations.
>

Would it make sense to point at a hook for this? The command to handle udev
events doesn't necessarily need to pollute the PATH namespace.


> This would all work for gadget snaps that provide the /dev files (like with
> serial-port, etc) and won't work for classic/hotplugging.
>

Are you saying these rules would be limited to /dev files described in the
gadget?

Why wouldn't this work for classic/hotplugging?

Cheers,
- Loïc
-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to