Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for systems without gpio or not suppoting the "python3-libgpiod" lib #758

Closed
wants to merge 3 commits into from

Conversation

galbb12
Copy link

@galbb12 galbb12 commented Nov 27, 2023

Hi, it's my first contribution ever so please don't judge me too much,
I use the project on an android tv box which I installed armbian on and the installer couldn't install the "python3-libgpiod" lib and failed, So i added a check on the "install-mooneraker.sh" script to check if the "python3-libgpiod" apt package is installable if it is it runs the install process normally and if it isn't it skips the installation of the "python3-libgpiod" package by installing the packages from the file "system-dependencies-without-gpio.json" I added instead of the "system-dependencies.json" file.

@Arksine
Copy link
Owner

Arksine commented Nov 28, 2023

Thanks. The change itself looks ok, however the install script is intended for standard Debian distros and derivatives. One goal is to keep the installer as straight forward as possible so it can be used as a template for custom installations. Therefore I don't think its appropriate to merge this change.

At some point in the future I will likely write a more robust installer in Python intended to support more distros and obscure derivatives.

@galbb12
Copy link
Author

galbb12 commented Nov 29, 2023

Ok I understand, I am closing the request.

@galbb12 galbb12 closed this Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants