summaryrefslogtreecommitdiffstats
path: root/meta-agl-core/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-core/recipes-core')
-rw-r--r--meta-agl-core/recipes-core/images/core-image-weston.bbappend1
-rw-r--r--meta-agl-core/recipes-core/images/core-image-weston_aglcore.inc6
2 files changed, 7 insertions, 0 deletions
diff --git a/meta-agl-core/recipes-core/images/core-image-weston.bbappend b/meta-agl-core/recipes-core/images/core-image-weston.bbappend
new file mode 100644
index 000000000..082637b7e
--- /dev/null
+++ b/meta-agl-core/recipes-core/images/core-image-weston.bbappend
@@ -0,0 +1 @@
+require ${@bb.utils.contains('AGL_FEATURES', 'aglcore', 'core-image-weston_aglcore.inc', '', d)}
diff --git a/meta-agl-core/recipes-core/images/core-image-weston_aglcore.inc b/meta-agl-core/recipes-core/images/core-image-weston_aglcore.inc
new file mode 100644
index 000000000..7f0711ef9
--- /dev/null
+++ b/meta-agl-core/recipes-core/images/core-image-weston_aglcore.inc
@@ -0,0 +1,6 @@
+# Required for weston startup with polkit in DISTRO_FEATURES
+IMAGE_INSTALL += "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}"
+
+# NOTE: In hardknott or later this can be replaced by adding "weston"
+# to IMAGE_FEATURES.
+SYSTEMD_DEFAULT_TARGET = "graphical.target"