From e9ef477e623a397c3cae8e1e2d676046069cbb01 Mon Sep 17 00:00:00 2001 From: unitexe Date: Fri, 6 Feb 2026 09:09:11 -0600 Subject: Boot to flutter app using ivi-homescreen embedder - Introduce meta-unit-graphics layer - Flutter app is run under the kiosk user - Added weston.ini specific to raspberrypi3-64 LCD screen - Move linger class to meta-unit-users layer so it can be used by meta-unit-graphics and meta-unit-core - Update svc and unitexe user UIDs so they dont clash with the weston user --- meta-unit-users/classes/enable-linger.bbclass | 9 +++++++++ meta-unit-users/conf/layer.conf | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 meta-unit-users/classes/enable-linger.bbclass create mode 100644 meta-unit-users/conf/layer.conf (limited to 'meta-unit-users') diff --git a/meta-unit-users/classes/enable-linger.bbclass b/meta-unit-users/classes/enable-linger.bbclass new file mode 100644 index 0000000..e464b9e --- /dev/null +++ b/meta-unit-users/classes/enable-linger.bbclass @@ -0,0 +1,9 @@ +do_install:append() { + # Enabling linger does two effects for systemd user units: + # 1. Units are automatically started after a reboot + # 2. Units are not automatically stopped after a log out + install -d ${D}${localstatedir}/lib/systemd/linger + touch ${D}${localstatedir}/lib/systemd/linger/${USER_TO_ADD_NAME} +} + +FILES:${PN}:append = " ${localstatedir}/lib/systemd/linger/${USER_TO_ADD_NAME}" diff --git a/meta-unit-users/conf/layer.conf b/meta-unit-users/conf/layer.conf new file mode 100644 index 0000000..59919c8 --- /dev/null +++ b/meta-unit-users/conf/layer.conf @@ -0,0 +1,9 @@ +BBPATH .= ":${LAYERDIR}" + +BBFILE_COLLECTIONS += "unit-users-layer" +BBFILE_PATTERN_unit-users-layer := "^${LAYERDIR}/" +BBFILE_PRIORITY_unit-users-layer = "6" + +LAYERDEPENDS_unit-users-layer = "core" + +LAYERSERIES_COMPAT_unit-users-layer = "whinlatter" -- cgit v1.2.3