summaryrefslogtreecommitdiff
path: root/extra/lightdm
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lightdm')
-rw-r--r--extra/lightdm/PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/extra/lightdm/PKGBUILD b/extra/lightdm/PKGBUILD
new file mode 100644
index 00000000..415ddd35
--- /dev/null
+++ b/extra/lightdm/PKGBUILD
@@ -0,0 +1,7 @@
+eval "$(
+ declare -f package_lightdm | \
+ sed '
+ /install.*lightdm.service/ a \
+ sed -i \"/.*Service.*/ a LimitMEMLOCK=infinity\" "${pkgdir}"/usr/lib/systemd/system/lightdm.service
+ '
+)"