domoticz: fix chown call

Busybox's chown stops reading the username at the dot, so only user was
changed and the group remained as root. Properly use ':' instead of '.'
as the delimeter.

Fixes: a98239c "domoticz: update to 3.9571 and clean up FHS handling"

Signed-off-by: Eugenio Pérez <eupm90@gmail.com>
[add PKG_RELEASE bump, modify commit message, add Fixes line]
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
Eugenio Pérez
2026-01-25 17:20:32 +02:00
committed by Hannu Nyman
parent 9df8a2b58c
commit c32daaa2a4
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=domoticz
PKG_VERSION:=2025.2
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/domoticz/domoticz/tar.gz/$(PKG_VERSION)?

View File

@@ -51,7 +51,7 @@ start_domoticz() {
for DIR in data generated_scripts; do
[ -d /var/lib/domoticz/dzVents/$DIR ] || {
mkdir -p /var/lib/domoticz/dzVents/$DIR
chown domoticz.domoticz /var/lib/domoticz/dzVents/$DIR
chown domoticz:domoticz /var/lib/domoticz/dzVents/$DIR
}
done
procd_append_param command -userdata "$userdata"