summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-04-21 08:07:11 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-06-02 09:06:53 +0000
commit75aa76bf11282d58d8d284441cb4979a4824a748 (patch)
treeb7c56bdb520285e09db9a305529cc3bae1688029
parentac3014ac14299c72ade64c0e28e66da70ebf6c98 (diff)
Create new agl feature to use container guest integration
When existing agl demo integrate to container guest, it require to some small patches. This patch add new agl feature "agl-container-guest-demo" to enable container guest integration. Those patch will enable/disable using this agl feature. Bug-AGL: SPEC-4766 Change-Id: I62d5907566404ae7acd9afc03e8c91afa1860bb9 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
-rw-r--r--conf/include/agl-container-guest-demo.inc2
-rw-r--r--templates/feature/agl-container-guest-demo/50_local.conf.inc2
-rw-r--r--templates/feature/agl-container-guest-demo/README_feature_agl-container-guest-demo.md16
-rw-r--r--templates/feature/agl-container-guest-demo/included.dep1
4 files changed, 21 insertions, 0 deletions
diff --git a/conf/include/agl-container-guest-demo.inc b/conf/include/agl-container-guest-demo.inc
new file mode 100644
index 000000000..091c769f3
--- /dev/null
+++ b/conf/include/agl-container-guest-demo.inc
@@ -0,0 +1,2 @@
+# enable the extention
+AGL_FEATURES:append = " agl-container-guest-demo"
diff --git a/templates/feature/agl-container-guest-demo/50_local.conf.inc b/templates/feature/agl-container-guest-demo/50_local.conf.inc
new file mode 100644
index 000000000..50f0197e8
--- /dev/null
+++ b/templates/feature/agl-container-guest-demo/50_local.conf.inc
@@ -0,0 +1,2 @@
+#see meta-agl-demo/conf/include/agl-container-guest-demo.inc
+require conf/include/agl-container-guest-demo.inc
diff --git a/templates/feature/agl-container-guest-demo/README_feature_agl-container-guest-demo.md b/templates/feature/agl-container-guest-demo/README_feature_agl-container-guest-demo.md
new file mode 100644
index 000000000..c5d74de3e
--- /dev/null
+++ b/templates/feature/agl-container-guest-demo/README_feature_agl-container-guest-demo.md
@@ -0,0 +1,16 @@
+---
+description: Feature agl-container-guest-demo
+authors: Naoto Yamaguchi <naoto.yamaguchi@automotivelinux.org>
+---
+
+### Feature agl-container-guest-demo
+
+* Enables container guest support for AGL demo images
+
+### Dependent features pulled by agl-container-guest-demo
+
+The following features are pulled:
+
+* agl-demo
+* agl-drm-lease
+
diff --git a/templates/feature/agl-container-guest-demo/included.dep b/templates/feature/agl-container-guest-demo/included.dep
new file mode 100644
index 000000000..97ffbec5d
--- /dev/null
+++ b/templates/feature/agl-container-guest-demo/included.dep
@@ -0,0 +1 @@
+agl-demo agl-drm-lease