aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-core/recipes-platform
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-core/recipes-platform')
-rw-r--r--meta-agl-core/recipes-platform/images/agl-image-weston.inc4
-rw-r--r--meta-agl-core/recipes-platform/images/core-image-weston.bbappend1
-rw-r--r--meta-agl-core/recipes-platform/images/core-image-weston_aglcore.inc3
3 files changed, 8 insertions, 0 deletions
diff --git a/meta-agl-core/recipes-platform/images/agl-image-weston.inc b/meta-agl-core/recipes-platform/images/agl-image-weston.inc
index cef3bf64e..f7d2bb600 100644
--- a/meta-agl-core/recipes-platform/images/agl-image-weston.inc
+++ b/meta-agl-core/recipes-platform/images/agl-image-weston.inc
@@ -2,6 +2,10 @@ require recipes-platform/images/agl-image-minimal.inc
IMAGE_FEATURES += "splash package-management ssh-server-dropbear"
+# NOTE: In hardknott or later this can be replaced by adding "weston"
+# to IMAGE_FEATURES.
+SYSTEMD_DEFAULT_TARGET = "graphical.target"
+
inherit features_check
REQUIRED_DISTRO_FEATURES = "wayland"
diff --git a/meta-agl-core/recipes-platform/images/core-image-weston.bbappend b/meta-agl-core/recipes-platform/images/core-image-weston.bbappend
new file mode 100644
index 000000000..082637b7e
--- /dev/null
+++ b/meta-agl-core/recipes-platform/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-platform/images/core-image-weston_aglcore.inc b/meta-agl-core/recipes-platform/images/core-image-weston_aglcore.inc
new file mode 100644
index 000000000..82e348587
--- /dev/null
+++ b/meta-agl-core/recipes-platform/images/core-image-weston_aglcore.inc
@@ -0,0 +1,3 @@
+# NOTE: In hardknott or later this can be replaced by adding "weston"
+# to IMAGE_FEATURES.
+SYSTEMD_DEFAULT_TARGET = "graphical.target"