lightdm: ensure run-directory is /run/lightdm (#46907)

This commit is contained in:
worldofpeace 2018-09-19 15:23:56 -04:00 committed by xeji
parent 6e4c666a67
commit 34a94e3b75
2 changed files with 14 additions and 0 deletions

View File

@ -49,6 +49,7 @@ stdenv.mkDerivation rec {
] ++ optional withQt4 qt4
++ optional withQt5 qtbase;
patches = [ ./run-dir.patch ];
preConfigure = "NOCONFIGURE=1 ./autogen.sh";

View File

@ -0,0 +1,13 @@
diff --git a/data/lightdm.conf b/data/lightdm.conf
index 16b80f7..b3af435 100644
--- a/data/lightdm.conf
+++ b/data/lightdm.conf
@@ -28,7 +28,7 @@
#guest-account-script=guest-account
#logind-check-graphical=false
#log-directory=/var/log/lightdm
-#run-directory=/var/run/lightdm
+run-directory=/run/lightdm
#cache-directory=/var/cache/lightdm
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions