summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/x11-common
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/x11-common')
-rw-r--r--meta/recipes-graphics/x11-common/x11-volatiles.bb20
-rw-r--r--meta/recipes-graphics/x11-common/x11-volatiles/02_x116
2 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-graphics/x11-common/x11-volatiles.bb b/meta/recipes-graphics/x11-common/x11-volatiles.bb
new file mode 100644
index 0000000000..23bd6e1661
--- /dev/null
+++ b/meta/recipes-graphics/x11-common/x11-volatiles.bb
@@ -0,0 +1,20 @@
1SUMMARY = "Xserver Volatile Directories"
2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
4SECTION = "x11"
5
6SRC_URI = "file://02_x11"
7
8S = "${UNPACKDIR}"
9
10inherit bin_package features_check
11
12REQUIRED_DISTRO_FEATURES = "x11"
13CONFLICT_DISTRO_FEATURES = "systemd"
14
15do_install() {
16 install -d ${D}${sysconfdir}/default/volatiles
17 install -m 0644 ${UNPACKDIR}/02_x11 ${D}${sysconfdir}/default/volatiles
18}
19
20FILES:${PN} += "${sysconfdir}/default/volatiles"
diff --git a/meta/recipes-graphics/x11-common/x11-volatiles/02_x11 b/meta/recipes-graphics/x11-common/x11-volatiles/02_x11
new file mode 100644
index 0000000000..35c3698479
--- /dev/null
+++ b/meta/recipes-graphics/x11-common/x11-volatiles/02_x11
@@ -0,0 +1,6 @@
1# Volatile entries to match systemd
2# https://github.com/systemd/systemd/blob/main/tmpfiles.d/x11.conf
3d root root 1777 /tmp/.X11-unix none
4d root root 1777 /tmp/.ICE-unix none
5d root root 1777 /tmp/.XIM-unix none
6d root root 1777 /tmp/.font-unix none