summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3')
-rw-r--r--meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend b/meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend
index f414a2b..99f8e7c 100644
--- a/meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend
+++ b/meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend
@@ -1 +1,11 @@
+require include/gles-control.inc
+
PACKAGECONFIG_remove = "timesyncd"
+
+# Avoid pushing opened device fds into PID1 by logind when restarting
+do_install_append () {
+ if [ "X${USE_GLES}" = "X1" ]; then
+ sed -e 's/FileDescriptorStoreMax=512/FileDescriptorStoreMax=0/' \
+ -i ${D}/lib/systemd/system/systemd-logind.service
+ fi
+}