-
-
Notifications
You must be signed in to change notification settings - Fork 506
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
DietPi-Sofware | Homebridge: Bringing HomeKit support where there is none #6493
Conversation
Many thanks for your implementation, looks clean and well done 🙂. Started an install test on all platforms: https://github.com/MichaIng/DietPi/actions/runs/5615943138 |
Should be also added to our test script, i.e. to not only test whether the install goes through, but also whether the service is running afterwards, ports are listened on an optionally whether CLI commands work (of present): https://github.com/MichaIng/DietPi/blob/master/.github/workflows/dietpi-software.bash |
Thanks for the kind words 🙂 The tests have been added, but I wonder if I missed the documentation for it? If there's no documentation it would be great if it could be added to https://github.com/MichaIng/DietPi/wiki/How-to-add-a-new-software-title which I followed to create this PR. If you're wondering why Another possible way would be to only check for |
Test failure:
This does not happen on real machines but only within these containers. Pretty strange that it happens on all QEMU-emulated systems, but also on
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test issue solved by unsetting capabilities.
For some reason, in the test container on aarch64
, the service takes very long to start up. However, otherwise it works well, also accessing the web UI and creating the initial admin account is all pretty smooth and simple. Could not find any issues when navigating the web UI etc. Merging it now for testing in beta.
@Zer0x00 The package install even prints funny errors about it: Adding system user `homebridge' (UID 104) ...
Adding new group `homebridge' (GID 111) ...
Adding new user `homebridge' (UID 104) with group `homebridge' ...
Not creating `/nonexistent'.
cp: cannot create regular file '/home/homebridge/.bashrc': No such file or directory
chown: cannot access '/home/homebridge/.bashrc': No such file or directory The I fixed this our end: 3d8bafd |
@MichaIng The plan was actually to have a start fresh with DietPi 8.20 and since my implementation did go until the webservice start I didn‘t expect any issues on the next steps, I‘m sorry - will do better next time! 😃 |
Should close #5142
Documentation can be found here: MichaIng/DietPi-Docs#904