diff mbox series

[scarthgap,4/4] kas: Add new yml file for Distros unattended installation

Message ID 20240731143947.2502491-4-amr.mohamed@arm.com
State New
Headers show
Series [scarthgap,1/4] arm-systemready/linux-distros: new inc file for unattended installation | expand

Commit Message

amr.mohamed@arm.com July 31, 2024, 2:39 p.m. UTC
From: Amr Mohamed <amr.mohamed@arm.com>

Define “DISTRO_UNATTENDED_INST_TESTS” variable in meta-arm-systemready
independently from meta-arm-auto-solutions. This will allow running
the unattended installation without meta-arm-auto-solutions.

Signed-off-by: Amr Mohamed <amr.mohamed@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 kas/arm-systemready-linux-distros-fedora.yml          |  1 +
 ...temready-linux-distros-unattended-installation.yml | 11 +++++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 kas/arm-systemready-linux-distros-unattended-installation.yml
diff mbox series

Patch

diff --git a/kas/arm-systemready-linux-distros-fedora.yml b/kas/arm-systemready-linux-distros-fedora.yml
index b2b23d78..2faa19cb 100644
--- a/kas/arm-systemready-linux-distros-fedora.yml
+++ b/kas/arm-systemready-linux-distros-fedora.yml
@@ -2,6 +2,7 @@  header:
   version: 16
   includes:
     - kas/arm-systemready-firmware.yml
+    - kas/arm-systemready-linux-distros-unattended-installation.yml
 
 target:
   - arm-systemready-linux-distros-fedora
diff --git a/kas/arm-systemready-linux-distros-unattended-installation.yml b/kas/arm-systemready-linux-distros-unattended-installation.yml
new file mode 100644
index 00000000..7976186f
--- /dev/null
+++ b/kas/arm-systemready-linux-distros-unattended-installation.yml
@@ -0,0 +1,11 @@ 
+header:
+  version: 16
+
+env:
+  DISTRO_UNATTENDED_INST_TESTS:
+  # The full testimage run typically takes around 12-24h on fvp-base.
+  TEST_OVERALL_TIMEOUT: "${@ 24*60*60}"
+  
+local_conf_header:
+  systemready-unattended-inst: |
+    TESTIMAGE_AUTO = "${@oe.utils.vartrue("DISTRO_UNATTENDED_INST_TESTS", "1", "", d)}"