summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2016-08-16 12:17:17 +0200
committerAnton Gerasimov <anton@advancedtelematic.com>2016-08-16 12:26:30 +0200
commit4b9938d16e06ce05b8bdefd1f48f2e9bd85fca5a (patch)
tree1e5064d11f7db1625063fa73f32c4788cba8abff /conf
parent291d597cf414f1a69ed7999f0a86689e657adcca (diff)
downloadmeta-updater-4b9938d16e06ce05b8bdefd1f48f2e9bd85fca5a.tar.gz
Add support for emulating OSTree updates in qemux86: new live image,
u-boot that can be used as BIOS, machine that uses both and fork of poky runqemu supporting the new live image. Bug-AGL: SPEC-236 Change-Id: Id99d122c05a00eb94902e8f6907455a1e681f2a3 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/qemux86-ota.conf37
1 files changed, 37 insertions, 0 deletions
diff --git a/conf/machine/qemux86-ota.conf b/conf/machine/qemux86-ota.conf
new file mode 100644
index 0000000..3c58870
--- /dev/null
+++ b/conf/machine/qemux86-ota.conf
@@ -0,0 +1,37 @@
1#@TYPE: Machine
2#@NAME: common_pc
3#@DESCRIPTION: Machine configuration for running a common x86
4
5PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
6PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
7PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
8PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
9
10require conf/machine/include/qemu.inc
11require conf/machine/include/tune-i586.inc
12
13KERNEL_IMAGETYPE = "bzImage"
14
15PREFERRED_PROVIDER_virtual/bootloader = "u-boot-buildrom"
16UBOOT_MACHINE = "qemu-x86_defconfig"
17
18IMAGE_CLASSES += "image_types_ota"
19IMAGE_FSTYPES += "otaimg"
20
21SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1"
22
23XSERVER = "xserver-xorg \
24 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
25 xf86-input-vmmouse \
26 xf86-input-keyboard \
27 xf86-input-evdev \
28 xf86-video-cirrus \
29 xf86-video-fbdev \
30 xf86-video-vmware"
31
32MACHINE_FEATURES += "x86"
33
34MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d"
35
36MACHINEOVERRIDES .= ":qemux86"
37KMACHINE = "qemux86"