Add tmpfiles for initializing /etc/openrgb for systemd service

This commit is contained in:
Adam Honse
2025-11-10 00:35:39 -06:00
parent b22438d345
commit 269e7c6115
3 changed files with 5 additions and 1 deletions

View File

@@ -590,7 +590,9 @@ contains(QMAKE_PLATFORM, linux) {
metainfo.files+=qt/org.openrgb.OpenRGB.metainfo.xml
systemd_service.path=$$PREFIX/lib/systemd/system/
systemd_service.files+=qt/openrgb.service
INSTALLS += target desktop icon metainfo udev_rules systemd_service
tmpfiles.path=$$PREFIX/lib/tmpfiles.d/
tmpfiles.files+=qt/openrgb.conf
INSTALLS += target desktop icon metainfo udev_rules systemd_service tmpfiles
}
#-----------------------------------------------------------------------------------------------#

View File

@@ -44,6 +44,7 @@ fi
%{_metainfodir}/org.%{name}.%{_name}.metainfo.xml
%{_udevrulesdir}/60-%{name}.rules
%{_unitdir}/openrgb.service
%{_tmpfilesdir}/openrgb.conf
%license LICENSE
%doc README.md

1
qt/openrgb.conf Normal file
View File

@@ -0,0 +1 @@
d /etc/openrgb 0755 root root - -