diff mbox series

[2/3] kas: Add fvp-eula.yml and remove license related settings

Message ID 20230719155449.3456824-2-ziad.elhanafy@arm.com
State New
Headers show
Series [1/3] arm: Set FVP EULA environment variable details message | expand

Commit Message

ziad.elhanafy@arm.com July 19, 2023, 3:54 p.m. UTC
From: Ziad Elhanafy <ziad.elhanafy@arm.com>

1- Add fvp-eula.yml file which introduces ARM_FVP_EULA_ACCEPT
environment variable
2- Remove any license related settings from fvp-baser-aemv8r64-bsp.yml,
corstone500.yml and corstone1000-fvp.yml

Signed-off-by: Ziad Elhanafy <ziad.elhanafy@arm.com>
---
 kas/corstone1000-fvp.yml       | 2 +-
 kas/corstone500.yml            | 3 ++-
 kas/fvp-baser-aemv8r64-bsp.yml | 6 ++----
 kas/fvp-eula.yml               | 5 +++++
 4 files changed, 10 insertions(+), 6 deletions(-)
 create mode 100644 kas/fvp-eula.yml
diff mbox series

Patch

diff --git a/kas/corstone1000-fvp.yml b/kas/corstone1000-fvp.yml
index d0d10a73..7d23a53a 100644
--- a/kas/corstone1000-fvp.yml
+++ b/kas/corstone1000-fvp.yml
@@ -2,6 +2,7 @@  header:
   version: 11
   includes:
     - kas/corstone1000-base.yml
+    - kas/fvp-eula.yml
 
 machine: corstone1000-fvp
 
@@ -10,7 +11,6 @@  local_conf_header:
         # Remove Dropbear SSH as it will not fit into the corstone1000 image.
         IMAGE_FEATURES:remove = " ssh-server-dropbear"
         INHERIT = " ${@bb.utils.contains('BUILD_ARCH', 'x86_64', 'fvpboot', '', d)}"
-        LICENSE_FLAGS_ACCEPTED:append = " Arm-FVP-EULA"
 
 target:
   - corstone1000-image
diff --git a/kas/corstone500.yml b/kas/corstone500.yml
index f1587b44..d40b59df 100644
--- a/kas/corstone500.yml
+++ b/kas/corstone500.yml
@@ -1,5 +1,7 @@ 
 header:
   version: 11
+  includes:
+    - kas/fvp-eula.yml
 
 distro: poky-tiny
 
@@ -38,7 +40,6 @@  local_conf_header:
     PACKAGECONFIG:append:pn-perf = " coresight"
   fvp-config: |
     IMAGE_CLASSES:append = " ${@bb.utils.contains('BUILD_ARCH', 'x86_64', 'fvpboot', '', d)}"
-    LICENSE_FLAGS_ACCEPTED:append = " Arm-FVP-EULA"
 
 machine: corstone500
 
diff --git a/kas/fvp-baser-aemv8r64-bsp.yml b/kas/fvp-baser-aemv8r64-bsp.yml
index dd175d03..9f16a3f9 100644
--- a/kas/fvp-baser-aemv8r64-bsp.yml
+++ b/kas/fvp-baser-aemv8r64-bsp.yml
@@ -1,5 +1,7 @@ 
 header:
   version: 9
+  includes:
+    - kas/fvp-eula.yml
 
 distro: poky
 machine: fvp-baser-aemv8r64
@@ -24,9 +26,6 @@  repos:
       meta:
       meta-poky:
 
-env:
-  FVP_BASE_R_ARM_EULA_ACCEPT: "False"
-
 local_conf_header:
   base: |
     CONF_VERSION = "2"
@@ -34,7 +33,6 @@  local_conf_header:
     PACKAGECONFIG:remove:pn-qemu-system-native = "gtk+ sdl"
     EXTRA_IMAGE_FEATURES:append = " debug-tweaks ssh-server-openssh"
     CORE_IMAGE_EXTRA_INSTALL:append = " ssh-pregen-hostkeys"
-    LICENSE_FLAGS_ACCEPTED:append = " ${@oe.utils.vartrue('FVP_BASE_R_ARM_EULA_ACCEPT', 'Arm-FVP-EULA', '', d)}"
     IMAGE_CLASSES:append = " testimage"
 
 target:
diff --git a/kas/fvp-eula.yml b/kas/fvp-eula.yml
new file mode 100644
index 00000000..ab1fae0e
--- /dev/null
+++ b/kas/fvp-eula.yml
@@ -0,0 +1,5 @@ 
+header:
+  version: 13
+
+env:
+  ARM_FVP_EULA_ACCEPT: