summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-dri.rules.in
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-09-05 16:38:20 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-09-16 12:07:56 +0000
commita9b74e1c7c7f2d5ad03a7b7675bbef8d241dd47e (patch)
treef457fe13b8dfb98aa2aae5d5eec544946068e48e /meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-dri.rules.in
parent57b6d0f437ef19fb6030d7d126aebea2ffeabb93 (diff)
weston-init: Refactor, simplify, fix
The recipe weston-init was setting smack labels of input devices to ^. This had the effect to enforce processes that wanted to read /dev/input/eventXX to have the Smack label System. I changed the label to * and keep the protection of groups. At the same time, a refactoring of the recipe make it cleaner to maintain. Bug-AGL: SPEC-2796 Change-Id: I3e2345d48a40b15254e68e25bbfcd9b22fcd8629 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-dri.rules.in')
-rw-r--r--meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-dri.rules.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-dri.rules.in b/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-dri.rules.in
new file mode 100644
index 000000000..707d12e28
--- /dev/null
+++ b/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/zz-dri.rules.in
@@ -0,0 +1 @@
+SUBSYSTEM=="drm", MODE="0660", GROUP="@WESTONGROUP@", SECLABEL{smack}="*", TAG+="systemd", ENV{SYSTEMD_WANTS}="weston.service"
class="p">, "subtitle": "Developer Documentation", "description": "Explains how to use the afb-test to test your bindings", "keywords": "AGL, Development, Iotbzh", "author": "IoT.Bzh Team", "website": "http://iot.bzh", "published": "July 2018", "version": "1.0", "gitbook": "3.2.2", "root": "docs", "pdf": { "fontFamily": "Verdana", "fontSize": 12, "paperSize": "a4", "pageBreaksBefore": "//h:div[@class=\"page-break\"]" }, "styles": { "website": "resources/ebook.css", "ebook": "resources/ebook.css", "pdf": "resources/ebook.css" }, "hidepageheaders": [2, 3], "hidepagefooters": [2, 3], "plugins": [ "regexplace" ], "pluginsConfig": { "regexplace": { "removeFirstPartsInSectionNumber": true, "substitutes": [{ "pattern": "<!-- pagebreak -->", "flags": "g", "substitute": "<div class=\"page-break\"></div>" }, { "pattern": "<!-- clear -->", "flags": "g", "substitute": "<div class=\"clear\"></div>" }, { "pattern": "<!-- nopagebreak -->", "flags": "g", "substitute": "<div class=\"nopb\">" }, { "pattern": "<!-- endnopagebreak -->", "flags": "g", "substitute": "</div>" }, { "pattern": "<!-- note -->", "flags": "g", "substitute": "<div class=\"note\">" }, { "pattern": "<!-- endnote -->", "flags": "g", "substitute": "</div>" }, { "pattern": "<!-- warning -->", "flags": "g", "substitute": "<div class=\"warning\">" }, { "pattern": "<!-- endwarning -->", "flags": "g", "substitute": "</div>" }, { "pattern": "!\\[(.*?)\\]\\((.*?)(?:\\s+\"(.*)\")?\\){0,}{caption=1([^\\}]*)}", "flags": "gmi", "substitute": "<figure id=\"fig_PAGE_LEVEL_._INDEX_\"><img $3 alt=\"$1\" title=\"$1\" href=\"$2\"><figcaption></figcaption></figure>", "decode": true }, { "pattern": "<img ([^>]*) {0,}\/{0,}> {0,}{caption=1([^\\}]*)}", "flags": "g", "substitute": "<figure id=\"fig_PAGE_LEVEL_._INDEX_\"><img $2 $1><figcaption></figcaption></figure>", "decode": true }, { "pattern": "<img (.*)alt=\"([^\"]*)\"(.*) {0,1}\/{0,1}><figcaption></figcaption>", "flags": "g", "substitute": "<img$1alt=\"$2\"$3><figcaption><span>Picture _PAGE_LEVEL_._INDEX_</span>: $2</figcaption>", "store": { "substitute": "<a href=\"_PAGE_PATH_#fig_PAGE_LEVEL_._INDEX_\">Pic. _PAGE_LEVEL_._INDEX_</a> <span>$2</span>", "variable_name": "pictures" } }, { "pattern": "<img ([^>]*)> {0,}{:: {0,}style=([^}]*)}", "flags": "g", "substitute": "<img $1 style=$2>", "decode": true } ] } } }