agl-image-ivi: define SYSTEMD_DEFAULT_TARGET 34/26834/1
authorScott Murray <scott.murray@konsulko.com>
Thu, 4 Nov 2021 18:49:33 +0000 (14:49 -0400)
committerScott Murray <scott.murray@konsulko.com>
Thu, 4 Nov 2021 18:49:33 +0000 (14:49 -0400)
Add SYSTEMD_DEFAULT_TARGET definition to agl-image-ivi to result in
agl-compositor starting automatically in it and derivative 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

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I282953edce89220bca6b2a1b217dada9b685f023

recipes-platform/images/agl-image-ivi.bb

index 198d3fe..73bdd56 100644 (file)
@@ -2,6 +2,8 @@ SUMMARY = "A basic system of AGL distribution of IVI profile"
 
 DESCRIPTION = "Basic image for baseline of AGL Distribution for IVI profile."
 
+LICENSE = "MIT"
+
 require recipes-platform/images/agl-image-minimal.inc
 
 IMAGE_INSTALL:append = "\
@@ -14,6 +16,8 @@ IMAGE_INSTALL:append = "\
 
 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"
 
-LICENSE = "MIT"