Helios64: workaround fancontrol /dev restriction vs Helios64 udev /dev symlinks

Debian fancontrol service PrivateDevices=yes default prevents access
to these /dev symlinks.
This commit is contained in:
Alban Browaeys 2025-11-11 23:32:07 +01:00 committed by Igor
parent 95f2508745
commit 0e52814608
2 changed files with 5 additions and 0 deletions

View File

@ -41,6 +41,9 @@ function post_family_tweaks_bsp__helios64() {
install -m 644 $SRC/packages/bsp/helios64/fancontrol.service.pid-override $destination/etc/systemd/system/fancontrol.service.d/pid.conf
# helios64 points fancontrol to /dev symlinks created by helios64 udev rules to sysfs hwmon and thermal directories
install -m 644 $SRC/packages/bsp/helios64/fancontrol.service.privatedevices-override $destination/etc/systemd/system/fancontrol.service.d/privatedevices.conf
# copy fancontrol config
install -m 644 $SRC/packages/bsp/helios64/fancontrol.conf $destination/etc/fancontrol

View File

@ -0,0 +1,2 @@
[Service]
PrivateDevices=no