aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kelly <mkelly@xevo.com>2017-07-17 10:31:01 -0700
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-07-18 14:10:29 +0000
commitf98545c8f48c10b2384cf3241e5df0caf39176d0 (patch)
tree132c5e090e50d610cdfe9f174912780293ae8887
parent1093894a261d2cd2c2d6ec2f32f3b2d2bb90569b (diff)
agl-devel: auto-add drivers for vmdk images
Currently, if you build a vmdk file, you also need to manually add in drivers to make your image fast (vbox/vmware drivers). We can make this automatic so that when you build a vmdk, drivers are automatically added in. Using this approach, both vbox and vmware drivers are added, which is more than is generally necessary, but it means that a single vmdk image can support many use cases, and the same image can be distributed to many developers. For developer images, this seems like a good tradeoff because convenience is more important than disk space/bloat for developers. For production, we leave this option off to reduce unneeded components. Change-Id: I8139a3ed94599c1732ea8b58bbc735c0de594234 Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10219 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
-rw-r--r--meta-agl/conf/include/agl-devel.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-agl/conf/include/agl-devel.inc b/meta-agl/conf/include/agl-devel.inc
index 9610fd8fd..f75f4be3b 100644
--- a/meta-agl/conf/include/agl-devel.inc
+++ b/meta-agl/conf/include/agl-devel.inc
@@ -4,6 +4,8 @@ IMAGE_INSTALL_append = " \
packagegroup-agl-devel \
"
+IMAGE_INSTALL_append = "${@bb.utils.contains('IMAGE_FSTYPES', 'vmdk', ' open-vm-tools vboxguestdrivers', '', d)}"
+
# disable install of debug files in SDK
# initial value: SDKIMAGE_FEATURES="dev-pkgs dbg-pkgs staticdev-pkgs"
SDKIMAGE_FEATURES="dev-pkgs"