-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix domoticz configuration #4730
base: master
Are you sure you want to change the base?
Conversation
ad27648
to
69d8c65
Compare
- use SYNOPKG_PKGDEST instead of SYNOPKG_PKGVAR folder for userdata
- introduce PKG_DOWNLOAD_METHOD = git-repository to download full repository - domoticz needs to be built within the repository to retrieve version information - move scripts folder to var for backup/restore on package update - link scripts folder into userdata that must be located in SYNOPKG_PKGDEST - fix privileges for backup/restore on package update
- domoticz 2021.1 can only be built with gcc available in DSM 7+ toolchains
- update c-ares to v1.18.1 - update jsoncpp to v1.9.5
Asking once more, any intent in pursuing this PR or can I mark domoticz as broken and erase entirely python38? Anyway, when someone will reconvene (if ever) this will have to be using a newer python... |
@th0ma7 please do not remove cross/python38, but you do not need to update/build/publish spk/python38 as domoticz does not need installed python 3.8 package but bundles python 3.8 into the domoticz package. |
Motivation: Current domoticz package does not find the scrips folder and is missing dzVents runtime
Linked issues: closes #4728, fixes #5131
Checklist
all-supported
completed successfullyRemarks
This fixes the userdata folder for domoticz, as scripts are expected under
/var/packages/domoticz/target/scripts
.But another issue is uncovered here.
As scripts might be user specific and/or manually created, at least the following folders need backup/restore implementation for package updates - or all scripts are lost at package update.
/var/packages/domoticz/target/scripts/dzVents
(all subfolders exceptexamples
)/var/packages/domoticz/target/scripts/python
TODO
2021-11-26 08:24:19.267 Error: EventSystem: problem writing file: /volume1/@appstore/domoticz/scripts/dzVents/generated_scripts/dzVents Test.lua
)