diff options
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11/99_x11 | 1 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11_1.8.12.bb | 15 |
2 files changed, 14 insertions, 2 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libx11/99_x11 b/meta/recipes-graphics/xorg-lib/libx11/99_x11 new file mode 100644 index 0000000000..53c5b49d10 --- /dev/null +++ b/meta/recipes-graphics/xorg-lib/libx11/99_x11 | |||
@@ -0,0 +1 @@ | |||
d root root 1777 /tmp/.X11-unix none | |||
diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.8.12.bb b/meta/recipes-graphics/xorg-lib/libx11_1.8.12.bb index 580e44889d..23a4b228a9 100644 --- a/meta/recipes-graphics/xorg-lib/libx11_1.8.12.bb +++ b/meta/recipes-graphics/xorg-lib/libx11_1.8.12.bb | |||
@@ -21,7 +21,8 @@ PE = "1" | |||
21 | 21 | ||
22 | XORG_PN = "libX11" | 22 | XORG_PN = "libX11" |
23 | 23 | ||
24 | SRC_URI += "file://disable_tests.patch" | 24 | SRC_URI += "file://disable_tests.patch \ |
25 | file://99_x11" | ||
25 | 26 | ||
26 | SRC_URI[sha256sum] = "fa026f9bb0124f4d6c808f9aef4057aad65e7b35d8ff43951cef0abe06bb9a9a" | 27 | SRC_URI[sha256sum] = "fa026f9bb0124f4d6c808f9aef4057aad65e7b35d8ff43951cef0abe06bb9a9a" |
27 | 28 | ||
@@ -35,7 +36,17 @@ PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" | |||
35 | 36 | ||
36 | PACKAGES =+ "${PN}-xcb" | 37 | PACKAGES =+ "${PN}-xcb" |
37 | 38 | ||
38 | FILES:${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt" | 39 | do_install:append() { |
40 | # temporary directory required for x11 domain sockets | ||
41 | # systemd provides their own definition using tmpfiles.d | ||
42 | if ${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', 'false', 'true', d)}; then | ||
43 | install -d ${D}${sysconfdir}/default/volatiles | ||
44 | install -m 0644 ${UNPACKDIR}/99_x11 ${D}${sysconfdir}/default/volatiles/99_x11 | ||
45 | fi | ||
46 | } | ||
47 | |||
48 | FILES:${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/Xcms.txt \ | ||
49 | ${libdir}/tmpfiles.d/x11.conf ${sysconfdir}/default/volatiles/99_x11" | ||
39 | FILES:${PN}-xcb += "${libdir}/libX11-xcb.so.*" | 50 | FILES:${PN}-xcb += "${libdir}/libX11-xcb.so.*" |
40 | FILES:${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale" | 51 | FILES:${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale" |
41 | 52 | ||