diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2016-08-16 12:17:17 +0200 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2016-08-16 12:26:30 +0200 |
commit | 4b9938d16e06ce05b8bdefd1f48f2e9bd85fca5a (patch) | |
tree | 1e5064d11f7db1625063fa73f32c4788cba8abff /conf | |
parent | 291d597cf414f1a69ed7999f0a86689e657adcca (diff) | |
download | meta-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.conf | 37 |
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 | |||
5 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | ||
6 | PREFERRED_PROVIDER_virtual/libgl ?= "mesa" | ||
7 | PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa" | ||
8 | PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" | ||
9 | |||
10 | require conf/machine/include/qemu.inc | ||
11 | require conf/machine/include/tune-i586.inc | ||
12 | |||
13 | KERNEL_IMAGETYPE = "bzImage" | ||
14 | |||
15 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-buildrom" | ||
16 | UBOOT_MACHINE = "qemu-x86_defconfig" | ||
17 | |||
18 | IMAGE_CLASSES += "image_types_ota" | ||
19 | IMAGE_FSTYPES += "otaimg" | ||
20 | |||
21 | SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1" | ||
22 | |||
23 | XSERVER = "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 | |||
32 | MACHINE_FEATURES += "x86" | ||
33 | |||
34 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d" | ||
35 | |||
36 | MACHINEOVERRIDES .= ":qemux86" | ||
37 | KMACHINE = "qemux86" | ||