summaryrefslogtreecommitdiffstats
path: root/templates/feature/agl-kvm
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-11-23 13:36:06 -0500
committerScott Murray <scott.murray@konsulko.com>2022-11-23 13:36:06 -0500
commitf65296a9c598ae81620e6c1d64ecf5f83bd11dee (patch)
treef70e3107ff2710bbc63601fd0cb36cd39ea3f4aa /templates/feature/agl-kvm
parent2848a3d0591c7d0c9e97f208f00899a0f254ad0a (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>
Diffstat (limited to 'templates/feature/agl-kvm')
-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