Merge pull request #138548 from queezle42/master
lirc: Set a writable lockdir
This commit is contained in:
commit
2aaf072d27
2 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,7 @@ in {
|
|||
unitConfig.Documentation = [ "man:lircd(8)" ];
|
||||
|
||||
serviceConfig = {
|
||||
RuntimeDirectory = "lirc";
|
||||
RuntimeDirectory = ["lirc" "lirc/lock"];
|
||||
|
||||
# Service runtime directory and socket share same folder.
|
||||
# Following hacks are necessary to get everything right:
|
||||
|
|
|
@ -42,6 +42,7 @@ stdenv.mkDerivation rec {
|
|||
"--with-systemdsystemunitdir=$(out)/lib/systemd/system"
|
||||
"--enable-uinput" # explicit activation because build env has no uinput
|
||||
"--enable-devinput" # explicit activation because build env has no /dev/input
|
||||
"--with-lockdir=/run/lirc/lock" # /run/lock is not writable for 'lirc' user
|
||||
];
|
||||
|
||||
installFlags = [
|
||||
|
|
Loading…
Reference in a new issue