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:
parent
95f2508745
commit
0e52814608
@ -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
|
||||
|
||||
|
||||
@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
PrivateDevices=no
|
||||
Loading…
Reference in New Issue
Block a user