diff mbox series

[3/4] CI: add debug yml file for ease of use

Message ID 20230605130156.3309199-3-jon.mason@arm.com
State New
Headers show
Series [1/4] arm/linux-yocto: remove unused 5.15 patches and inc file | expand

Commit Message

Jon Mason June 5, 2023, 1:01 p.m. UTC
There are cases where a developer might want to enable things, like
debug-tweaks, which are useful in their testing but not something we
would want in a production environment.  Create a file where these can
be added without affecting other things.

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 ci/debug.yml     | 7 +++++++
 ci/testimage.yml | 3 ++-
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 ci/debug.yml
diff mbox series

Patch

diff --git a/ci/debug.yml b/ci/debug.yml
new file mode 100644
index 00000000..757f6d1d
--- /dev/null
+++ b/ci/debug.yml
@@ -0,0 +1,7 @@ 
+header:
+  version: 11
+
+# Add universally helpful features when testing boards
+local_conf_header:
+  debug: |
+    EXTRA_IMAGE_FEATURES:append = " debug-tweaks"
diff --git a/ci/testimage.yml b/ci/testimage.yml
index b4b5599b..5d402f0f 100644
--- a/ci/testimage.yml
+++ b/ci/testimage.yml
@@ -1,9 +1,10 @@ 
 header:
   version: 11
+  includes:
+    - ci/debug.yml
 
 local_conf_header:
   testimage: |
-    EXTRA_IMAGE_FEATURES:append = " debug-tweaks"
     IMAGE_CLASSES += "testimage"
     TESTIMAGE_AUTO = "1"
   kvm: |