Bug 906 - xserver-nodm-init.bb should be arch specific
Summary: xserver-nodm-init.bb should be arch specific
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.1
Assignee: Ke Yu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-03-18 01:03 UTC by Ke Yu
Modified: 2011-03-18 18:35 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ke Yu 2011-03-18 01:03:16 UTC
xserver-nodm-init.bb currently is not arch specific, and has the setting:

PACKAGE_ARCH = "all"

However with the introduction of the arch specific feature rootless X (enabled/disabled by ROOTLESS_X),  xserver-nodm-init become machine specific, and above setting will cause trouble when build two machine in one build dir, e.g.

1. firstly, build atom-pc image, then xserver-nodm-init.bb will be built with rootless x enabled.
2. secondly build qemuarm image in the same build dir, then qemuarm will reuse the xserver-nodm under tmp/work/all-poky-linux/ which has rootless x enabled. and it will cause trouble for qemuarm, since qemuarm is not ready for rootless X.


To fix it, the PACKAGE_ARCH should be set to:
PACKAGE_ARCH = "${MACHINE_ARCH}"