yocto-bsp: template fixes
cover yocto-bsp: template fixes
From: Tom Zanussi <[email protected]>
This updates some Yocto BSP templates to fix some recent metadata changes that caused the problems seen in YOCTO #2559.
Please pull into poky/master.
The following changes since commit 4ff6160d909e2a39e357c8a51f37d803dab64d5d:
Richard Purdie (1):
methodpool: Improve method already seen error message
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib.git tzanussi/yocto-bugfix-2559
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/yocto-bugfix-2559
Tom Zanussi (2):
yocto-bsp: update yocto-bsp machine.conf template
yocto-bsp: update yocto-bsp xorg.conf templates
.../arch/qemu/conf/machine/{{=machine}}.conf | 7 +++++--
.../xserver-xf86-config/{{=machine}}/xorg.conf | 8 ++++++++
..."x86_64\": }} xserver-xf86-config_0.1.bbappend" | 2 --
3 files changed, 13 insertions(+), 4 deletions(-)
delete mode 100644 "scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/{{ if qemuarch == \"i386\" or qemuarch == \"x86_64\": }} xserver-xf86-config_0.1.bbappend"PATCH 1/2 yocto-bsp: update yocto-bsp machine.conf template
From: Tom Zanussi <[email protected]>
Some changes in the ordering assumptions of the qemu include rendered X inoperative, fix those in the qemu machine template.
Fixes [YOCTO #2559]
---
.../arch/qemu/conf/machine/{{=machine}}.conf | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/{{=machine}}.conf +5 -2
@@ -8,6 +8,7 @@ PREFERRED_PROVIDER_virtual/kernel ?= "{{=preferred_kernel}}" PREFERRED_VERSION_{{=preferred_kernel}} ?= "{{=preferred_kernel_version}}%" +{{ if qemuarch == "i386" or qemuarch == "x86_64": }} PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri"
@@ -22,13 +23,14 @@ require conf/machine/include/tune-i586.inc {{ if qemuarch == "x86_64": }} require conf/machine/include/tune-x86_64.inc {{ if qemuarch == "arm": }} +require conf/machine/include/qemu.inc require conf/machine/include/tune-arm926ejs.inc {{ if qemuarch == "powerpc": }} +require conf/machine/include/qemu.inc require conf/machine/include/tune-ppc603e.inc {{ if qemuarch == "mips": }} -require conf/machine/include/tune-mips32.inc - require conf/machine/include/qemu.inc +require conf/machine/include/tune-mips32.inc {{ if qemuarch == "i386" or qemuarch == "x86_64": }} MACHINE_FEATURES += "x86"
@@ -42,6 +44,7 @@ XSERVER ?= "xserver-xorg \ xf86-input-evdev \ xf86-video-vmware \ qemugl" +require conf/machine/include/qemu.inc GLIBC_ADDONS = "nptl" GLIBC_EXTRA_OECONF = "--with-tls"
Signature · 1 line
1.7.0.4
PATCH 2/2 yocto-bsp: update yocto-bsp xorg.conf templates
From: Tom Zanussi <[email protected]>
The non-x86 qemu machines now require an xorg.conf, change the templates accordingly.
Fixes [YOCTO #2559]
---
.../xserver-xf86-config/{{=machine}}/xorg.conf | 8 ++++++++
..."x86_64\": }} xserver-xf86-config_0.1.bbappend" | 2 --
2 files changed, 8 insertions(+), 2 deletions(-)
delete mode 100644 "scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/{{ if qemuarch == \"i386\" or qemuarch == \"x86_64\": }} xserver-xf86-config_0.1.bbappend"scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/xserver-xf86-config/{{=machine}}/xorg.conf +8 -0
@@ -14,7 +14,11 @@ EndSection Section "InputDevice" Identifier "Configured Mouse" +{{ if qemuarch == "arm" or qemuarch == "powerpc" or qemuarch == "mips": }} + Driver "mouse" +{{ if qemuarch == "i386" or qemuarch == "x86_64": }} Driver "vmmouse" + Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2"
@@ -32,7 +36,11 @@ EndSection Section "Device" Identifier "Graphics Controller" +{{ if qemuarch == "arm" or qemuarch == "powerpc" or qemuarch == "mips": }} + Driver "fbdev" +{{ if qemuarch == "i386" or qemuarch == "x86_64": }} Driver "vmware" + EndSection Section "Monitor"
scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/{{ if qemuarch == \"i386\" or qemuarch == \"x86_64\": }} xserver-xf86-config_0.1.bbappend deleted +0 -2
@@ -1,2 +0,0 @@ -THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" -FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
Signature · 1 line
1.7.0.4
ping?
Quoted 26 lines · On Mon, 2012-06-18 at 15:52 -0500, [email protected] wrote:
From: Tom Zanussi <[email protected]>
This updates some Yocto BSP templates to fix some recent metadata changes that caused the problems seen in YOCTO #2559.
Please pull into poky/master.
The following changes since commit
4ff6160d909e2a39e357c8a51f37d803dab64d5d:
Richard Purdie (1):
methodpool: Improve method already seen error messageare available in the git repository at:
git://git.yoctoproject.org/poky-contrib.gittzanussi/yocto-bugfix-2559
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/yocto-bugfix-2559Tom Zanussi (2):
yocto-bsp: update yocto-bsp machine.conf template
yocto-bsp: update yocto-bsp xorg.conf templates.../arch/qemu/conf/machine/{{=machine}}.conf | 7 +++++-- .../xserver-xf86-config/{{=machine}}/xorg.conf | 8 ++++++++ ..."x86_64\": }} xserver-xf86-config_0.1.bbappend" | 2 -- 3 files changed, 13 insertions(+), 4 deletions(-) delete mode 100644 "scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/{{ if qemuarch == \"i386\" or qemuarch == \"x86_64\": }} xserver-xf86-config_0.1.bbappend"