Make Snap execute commands in the system #74
Labels
enhancement
New feature or request
hacktoberfest
Support Hacktoberfest open source event https://hacktoberfest.digitalocean.com/
hacktoberfest 2020
Support Hacktoberfest open source event https://hacktoberfest.digitalocean.com/
help wanted
Extra attention is needed
Currently we install inside the snap (package manager) the WiringNP (an
GPIO access library
for NanoPi to control the device pins).This is blocking us from supporting more devices with different
GPIO access library
like the one for Raspberry Pi WiringPi.Edit: the rest of the issue is no longer the plan for the fix, jump to here for the correct plan on how to fix this.
So we want to link the
gpio
inside the snap into thegpio
library outside of it that installed by default on these devices.This way when running the
gpio
in the terminal inside our software in the snap it will just call thegpio
outside and work because they will be linked.The
gpio
is executable that we can use from the terminal.I have created a
"new topic"
in the snapcraft.iohttps://forum.snapcraft.io/t/running-executable-that-located-out-side-of-the-snap/20492
This is our snapcraft.yaml file.
If you have any questions, or want to reproduce the process to test if you fixed it please contact me in our Discord server
The text was updated successfully, but these errors were encountered: