commit a1c25c45019803008266a1aeef3f9f82dd765ab5
Author: Jan Palus <[email protected]>
Date:   Sat Apr 10 15:48:07 2021 +0200

    grant access to i2c group
    
    for sensors access

 domoticz.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/domoticz.spec b/domoticz.spec
index 039274c..773e6ab 100644
--- a/domoticz.spec
+++ b/domoticz.spec
@@ -46,6 +46,7 @@ Requires(post,preun,postun):  systemd-units >= 38
 Requires:      fonts-TTF-Google-Droid
 Requires:      fonts-TTF-OpenSans
 Requires:      libopenzwave >= 1.5.0
+Requires:      setup >= 2.10.1
 Provides:      group(domoticz)
 Provides:      user(domoticz)
 
@@ -132,7 +133,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %pre
 %groupadd -g 342 domoticz
-%useradd -u 342 -r -d %{_datadir} -s /bin/false -c "Domoticz Home Automation 
Server" -G dialout -g domoticz domoticz
+%useradd -u 342 -r -d %{_datadir} -s /bin/false -c "Domoticz Home Automation 
Server" -G dialout,i2c -g domoticz domoticz
 
 %post
 %systemd_post %{name}.service
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/domoticz.git/commitdiff/a1c25c45019803008266a1aeef3f9f82dd765ab5

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to