helios64: fix fancontrol service on trixie

fancontrol.service was "hardened" in Debian trixie. See Debian bug #944808.
fancontrol can't access fans in /dev after this.
This change returns full access to /dev for fancontrol.service
This commit is contained in:
Sergey Popov 2025-08-24 21:11:28 +03:00
parent 5eb8bd0584
commit dbb4a6621e
No known key found for this signature in database
2 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,7 @@ function post_family_tweaks_bsp__helios64() {
install -m 644 $SRC/packages/bsp/helios64/90-helios64-hwmon.rules $destination/etc/udev/rules.d/
install -m 644 $SRC/packages/bsp/helios64/fancontrol.service.pid-override $destination/etc/systemd/system/fancontrol.service.d/pid.conf
install -m 644 $SRC/packages/bsp/helios64/fancontrol.service.noprivdev-override $destination/etc/systemd/system/fancontrol.service.d/noprivdev.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