summaryrefslogtreecommitdiffstats
path: root/meta-boot2qt-distro
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2018-09-26 11:09:11 +0300
committerSamuli Piippo <samuli.piippo@qt.io>2018-09-28 08:58:09 +0000
commitc10a157aeee4b5d6ddb9dfc4945c8a533ce00150 (patch)
tree20bf4541eef085cb70d4d237716672db4bbbe7b7 /meta-boot2qt-distro
parent4fba985f5877320a2354f85646ec145804fe8c28 (diff)
downloadmeta-boot2qt-c10a157aeee4b5d6ddb9dfc4945c8a533ce00150.tar.gz
emulator: adapt to sumo
- Use WIC for image creation - Update VirtualBox components Change-Id: I48d76906a66477ec844cbdc37c919079a9bd949b Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'meta-boot2qt-distro')
-rw-r--r--meta-boot2qt-distro/conf/distro/include/emulator.conf8
-rw-r--r--meta-boot2qt-distro/conf/machine/emulator.conf5
2 files changed, 7 insertions, 6 deletions
diff --git a/meta-boot2qt-distro/conf/distro/include/emulator.conf b/meta-boot2qt-distro/conf/distro/include/emulator.conf
index 2c70783..619af16 100644
--- a/meta-boot2qt-distro/conf/distro/include/emulator.conf
+++ b/meta-boot2qt-distro/conf/distro/include/emulator.conf
@@ -27,10 +27,7 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30IMAGE_CLASSES += "image-hdd" 30IMAGE_FSTYPES = "ext3 wic"
31IMAGE_ROOTFS_ALIGNMENT = "1048576"
32ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_BASENAME}-${MACHINE}.ext3"
33IMAGE_FSTYPES = "ext3"
34 31
35QBSP_IMAGE_CONTENT = "${IMAGE_LINK_NAME}.hdd" 32QBSP_IMAGE_CONTENT = "${IMAGE_LINK_NAME}.hdd"
36 33
@@ -41,6 +38,8 @@ MACHINE_EXTRA_RRECOMMENDS += "\
41PREFERRED_PROVIDER_virtual/egl = "qtglesstream-dummy-client" 38PREFERRED_PROVIDER_virtual/egl = "qtglesstream-dummy-client"
42PREFERRED_PROVIDER_virtual/libgles2 = "qtglesstream-dummy-client" 39PREFERRED_PROVIDER_virtual/libgles2 = "qtglesstream-dummy-client"
43 40
41RDEPENDS_qtbase_pn-qtbase += "qtglesstream"
42
44KERNEL_MODULE_AUTOLOAD += "snd-intel8x0 vboxguest vboxsf" 43KERNEL_MODULE_AUTOLOAD += "snd-intel8x0 vboxguest vboxsf"
45 44
46DISTRO_FEATURES_remove = "webengine opengl wayland vulkan" 45DISTRO_FEATURES_remove = "webengine opengl wayland vulkan"
@@ -48,5 +47,4 @@ DISTRO_FEATURES_remove = "webengine opengl wayland vulkan"
48MACHINE_EXTRA_INSTALL += "\ 47MACHINE_EXTRA_INSTALL += "\
49 mount-vboxsf \ 48 mount-vboxsf \
50 qtsystems \ 49 qtsystems \
51 qtglesstream \
52 " 50 "
diff --git a/meta-boot2qt-distro/conf/machine/emulator.conf b/meta-boot2qt-distro/conf/machine/emulator.conf
index 2ab622e..cb18983 100644
--- a/meta-boot2qt-distro/conf/machine/emulator.conf
+++ b/meta-boot2qt-distro/conf/machine/emulator.conf
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -50,3 +50,6 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d virtualbox-guest-additions"
50MACHINE_FEATURES += "apm alsa pcmcia bluetooth irda usbgadget screen" 50MACHINE_FEATURES += "apm alsa pcmcia bluetooth irda usbgadget screen"
51 51
52SYSTEMD_DEFAULT_TARGET = "custom.target" 52SYSTEMD_DEFAULT_TARGET = "custom.target"
53
54WKS_FILE = "directdisk.wks"
55do_image_wic[depends] += "syslinux:do_populate_sysroot syslinux-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"