[PATCH] CI: add poky-altcfg in xen.yml for systemd image requirement

Jon Mason <[email protected]>
Newsgroups org.yoctoproject.lists.meta-arm
Message-ID <[email protected]>
xen-image-minimal now requires systemd.  Add poky-altcfg (which has
systemd amongst other things) as an includes in the xen.yml file to work
around this.  Also, xen requires openssh instead of dropbear.  So,
override that entry.

Signed-off-by: Jon Mason <[email protected]>
---
 .gitlab-ci.yml | 4 ++--
 ci/xen.yml     | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0e9ad68876e8..9dad9662b8a2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -115,16 +115,16 @@ update-repos:
 #
 # Build stage, the actual build jobs
 #
-# Available options for building are
+# Available options for building are (VIRT _must_ be last for ssh override)
 #  DISTRO: [poky, poky-altcfg, poky-tiny]
 #  KERNEL: [linux-yocto, linux-yocto-dev, linux-yocto-rt]
 #  TOOLCHAINS: [gcc, clang, external-gccarm]
 #  TCLIBC: [glibc, musl]
 #  FIRMWARE: [u-boot, edk2]
 #  TS: [none, trusted-services]
-#  VIRT: [none, xen]
 #  TESTING: testimage
 #  SECUREDEBUG: [none, secure-debug]
+#  VIRT: [none, xen]
 
 arm-systemready-ir-acs:
   extends: .build
diff --git a/ci/xen.yml b/ci/xen.yml
index d855369a6565..9b08d01d6205 100644
--- a/ci/xen.yml
+++ b/ci/xen.yml
@@ -4,10 +4,13 @@ header:
   version: 14
   includes:
     - ci/meta-virtualization.yml
+    - ci/poky-altcfg.yml
 
 local_conf_header:
   meta-virt: |
     DISTRO_FEATURES:append = " virtualization xen"
+  sshd: |
+    IMAGE_FEATURES:append = " ssh-server-openssh"
 
 target:
   - xen-image-minimal
-- 
2.39.5 (Apple Git-154)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.