diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2018-09-26 11:09:11 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2018-09-28 08:58:09 +0000 |
commit | c10a157aeee4b5d6ddb9dfc4945c8a533ce00150 (patch) | |
tree | 20bf4541eef085cb70d4d237716672db4bbbe7b7 /meta-boot2qt-distro/conf | |
parent | 4fba985f5877320a2354f85646ec145804fe8c28 (diff) | |
download | meta-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/conf')
-rw-r--r-- | meta-boot2qt-distro/conf/distro/include/emulator.conf | 8 | ||||
-rw-r--r-- | meta-boot2qt-distro/conf/machine/emulator.conf | 5 |
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 | ||
30 | IMAGE_CLASSES += "image-hdd" | 30 | IMAGE_FSTYPES = "ext3 wic" |
31 | IMAGE_ROOTFS_ALIGNMENT = "1048576" | ||
32 | ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_BASENAME}-${MACHINE}.ext3" | ||
33 | IMAGE_FSTYPES = "ext3" | ||
34 | 31 | ||
35 | QBSP_IMAGE_CONTENT = "${IMAGE_LINK_NAME}.hdd" | 32 | QBSP_IMAGE_CONTENT = "${IMAGE_LINK_NAME}.hdd" |
36 | 33 | ||
@@ -41,6 +38,8 @@ MACHINE_EXTRA_RRECOMMENDS += "\ | |||
41 | PREFERRED_PROVIDER_virtual/egl = "qtglesstream-dummy-client" | 38 | PREFERRED_PROVIDER_virtual/egl = "qtglesstream-dummy-client" |
42 | PREFERRED_PROVIDER_virtual/libgles2 = "qtglesstream-dummy-client" | 39 | PREFERRED_PROVIDER_virtual/libgles2 = "qtglesstream-dummy-client" |
43 | 40 | ||
41 | RDEPENDS_qtbase_pn-qtbase += "qtglesstream" | ||
42 | |||
44 | KERNEL_MODULE_AUTOLOAD += "snd-intel8x0 vboxguest vboxsf" | 43 | KERNEL_MODULE_AUTOLOAD += "snd-intel8x0 vboxguest vboxsf" |
45 | 44 | ||
46 | DISTRO_FEATURES_remove = "webengine opengl wayland vulkan" | 45 | DISTRO_FEATURES_remove = "webengine opengl wayland vulkan" |
@@ -48,5 +47,4 @@ DISTRO_FEATURES_remove = "webengine opengl wayland vulkan" | |||
48 | MACHINE_EXTRA_INSTALL += "\ | 47 | MACHINE_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" | |||
50 | MACHINE_FEATURES += "apm alsa pcmcia bluetooth irda usbgadget screen" | 50 | MACHINE_FEATURES += "apm alsa pcmcia bluetooth irda usbgadget screen" |
51 | 51 | ||
52 | SYSTEMD_DEFAULT_TARGET = "custom.target" | 52 | SYSTEMD_DEFAULT_TARGET = "custom.target" |
53 | |||
54 | WKS_FILE = "directdisk.wks" | ||
55 | do_image_wic[depends] += "syslinux:do_populate_sysroot syslinux-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" | ||