From b1b652ff976655d0c1fcb170fb3f6795e56cd947 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Tue, 2 Nov 2021 19:29:39 -0400 Subject: meta-agl-core: Update weston/agl-compositor init Changes/rework to get weston and agl-compositor starting again: - Since an upgrade to a newer Yocto release is in the near future, update weston-init and associated files to effectively backport the new weston startup behavior added in 3.3/Hardknott as our new base. The changes mean weston or agl-compositor will by default start as a "weston" user that replaces the "display" user that had been added previously in AGL. The goal is that any new work done on top of this base should hopefully work on 3.5/Kirkstone without further substantial rework. - Add new agl-compositor-init recipe that replaces the previous weston-init bbappend in meta-agl-demo. Having it as a separate recipe in core so weston or agl-compositor "just work" in simple test images seems like a better approach. - As part of the above, drop the --log option to agl-compositor in its command-line to address SPEC-4112. - Add SYSTEMD_DEFAULT_TARGET definition to agl-image-weston and in a new core-image-weston bbappend to result in agl-compositor and weston starting automatically in the corresponding images. This is required with the new weston-init behavior until we upgrade past 3.3/Hardknott, when "weston" in IMAGE_FEATURES can be used instead. Bug-AGL: SPEC-4121, SPEC-4112 Signed-off-by: Scott Murray Change-Id: Ia64894416846569abf8e744006ef26637279a895 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26782 Reviewed-by: Jan-Simon Moeller Tested-by: Jan-Simon Moeller --- meta-agl-core/files/group | 3 ++- meta-agl-core/files/passwd | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'meta-agl-core/files') diff --git a/meta-agl-core/files/group b/meta-agl-core/files/group index 3391cb1d8..f52448920 100644 --- a/meta-agl-core/files/group +++ b/meta-agl-core/files/group @@ -84,7 +84,8 @@ vmail::958: opensaf::957: lldpd::956: postdrop::954: -display::200: +weston::200: +wayland::201: agl-driver::1001: agl-passenger::1002: systemd-network::1005: diff --git a/meta-agl-core/files/passwd b/meta-agl-core/files/passwd index 9673c1ac5..4bbd6f878 100644 --- a/meta-agl-core/files/passwd +++ b/meta-agl-core/files/passwd @@ -56,7 +56,7 @@ vmail::958:958::: opensaf::957:957::: lldpd::956:956::: cyrus::955:8::: -display::200:200::: +weston::200:200::: systemd-network::1005:1005::: systemd-resolve::1006:1006::: mosquitto::1007:1007::: -- cgit 1.2.3-korg