summaryrefslogtreecommitdiffstats
path: root/templates/feature
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-11-23 13:36:06 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-12-14 16:28:09 +0000
commitab5676f1d6fac13ad7d92405d8c8ab0f6eb2217d (patch)
tree21d934ea6783ee074142779e433d3b8c68e5db0f /templates/feature
parent7568ba62fae0bc7a697c29f46d3175e684056b6c (diff)
Add agl-kvm feature template
Add feature template for enabling agl-kvm-guest multiconfig. Changes to leverage this to add a host image that includes guest VM images will follow. Bug-AGL: SPEC-4618 Change-Id: If8134359a1da7709d81b4ddd186d8c22de05280d Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit f65296a9c598ae81620e6c1d64ecf5f83bd11dee)
Diffstat (limited to 'templates/feature')
-rw-r--r--templates/feature/agl-kvm/50_bblayers.conf.inc4
-rw-r--r--templates/feature/agl-kvm/50_local.conf.inc4
-rw-r--r--templates/feature/agl-kvm/README_feature_agl-kvm.md14
-rw-r--r--templates/feature/agl-kvm/included.dep1
4 files changed, 23 insertions, 0 deletions
diff --git a/templates/feature/agl-kvm/50_bblayers.conf.inc b/templates/feature/agl-kvm/50_bblayers.conf.inc
new file mode 100644
index 000000000..e5e39118a
--- /dev/null
+++ b/templates/feature/agl-kvm/50_bblayers.conf.inc
@@ -0,0 +1,4 @@
+AGL_META_PYTHON = "${METADIR}/external/meta-openembedded/meta-python"
+AGL_META_NETWORKING = "${METADIR}/external/meta-openembedded/meta-networking"
+AGL_META_FILESYSTEMS = "${METADIR}/external/meta-openembedded/meta-filesystems"
+AGL_META_VIRTUALIZATION = "${METADIR}/external/meta-virtualization"
diff --git a/templates/feature/agl-kvm/50_local.conf.inc b/templates/feature/agl-kvm/50_local.conf.inc
new file mode 100644
index 000000000..dc586eaa6
--- /dev/null
+++ b/templates/feature/agl-kvm/50_local.conf.inc
@@ -0,0 +1,4 @@
+DISTRO_FEATURES:append = " virtualization"
+
+BBMULTICONFIG = "agl-kvm-guest"
+
diff --git a/templates/feature/agl-kvm/README_feature_agl-kvm.md b/templates/feature/agl-kvm/README_feature_agl-kvm.md
new file mode 100644
index 000000000..83c0a0c26
--- /dev/null
+++ b/templates/feature/agl-kvm/README_feature_agl-kvm.md
@@ -0,0 +1,14 @@
+---
+description: Feature agl-kvm
+authors: Scott Murray <scott.murray@konsulko.com>
+---
+
+### Feature agl-kvm
+
+* Enables support for building multiconfig based KVM+QEMU demo images
+
+### Dependent features pulled by agl-kvm
+
+The following features are pulled:
+
+* agl-demo
diff --git a/templates/feature/agl-kvm/included.dep b/templates/feature/agl-kvm/included.dep
new file mode 100644
index 000000000..82639da07
--- /dev/null
+++ b/templates/feature/agl-kvm/included.dep
@@ -0,0 +1 @@
+agl-demo