FRC-Utilities / QDriverStation

Cross-platform clone of the FRC Driver Station

Home Page:https://frc-utilities.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snap Packages

alex-spataru opened this issue · comments

This is not much of an issue, it is more like a discussion channel regarding the progress of supporting snap packages.

For the moment, we are able to create and distribute snap packages, however, the generated snaps are not able to:

  • Use SDL2 properly under a "strict" confinement ("devmode" works)
  • Snapcraft security model does not allow applications to access /proc/stat, which is used by the QDriverStation to obtain CPU usage
  • We use upower to obtain battery level & status. For the moment, snapcraft does not allow us to call upower.

I have already discussed this with the snapcraft developers, and it is possible that these issues will be fixed in a future release of snapcraft. However, it may take a little while until snapcraft supports the interfaces / security models needed for the QDriverStation to work correctly.

If you are interested, you can check the snapcraft.yaml file of this project.

Thanks! For anyone that is interested to check the PPA (which can also help us with the snaps), please navigate to: https://launchpad.net/~bearz89

The repository is maintained by @BearzRobotics, as he said, anyone is welcome to join the team.