diff options
Diffstat (limited to 'meta/recipes-graphics/x11-common')
| -rw-r--r-- | meta/recipes-graphics/x11-common/x11-volatiles.bb | 20 | ||||
| -rw-r--r-- | meta/recipes-graphics/x11-common/x11-volatiles/02_x11 | 6 |
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 @@ | |||
| 1 | SUMMARY = "Xserver Volatile Directories" | ||
| 2 | LICENSE = "GPL-2.0-only" | ||
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" | ||
| 4 | SECTION = "x11" | ||
| 5 | |||
| 6 | SRC_URI = "file://02_x11" | ||
| 7 | |||
| 8 | S = "${UNPACKDIR}" | ||
| 9 | |||
| 10 | inherit bin_package features_check | ||
| 11 | |||
| 12 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 13 | CONFLICT_DISTRO_FEATURES = "systemd" | ||
| 14 | |||
| 15 | do_install() { | ||
| 16 | install -d ${D}${sysconfdir}/default/volatiles | ||
| 17 | install -m 0644 ${UNPACKDIR}/02_x11 ${D}${sysconfdir}/default/volatiles | ||
| 18 | } | ||
| 19 | |||
| 20 | FILES:${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 | ||
| 3 | d root root 1777 /tmp/.X11-unix none | ||
| 4 | d root root 1777 /tmp/.ICE-unix none | ||
| 5 | d root root 1777 /tmp/.XIM-unix none | ||
| 6 | d root root 1777 /tmp/.font-unix none | ||
