<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>906</bug_id>
          
          <creation_ts>2011-03-18 01:03:16 +0000</creation_ts>
          <short_desc>xserver-nodm-init.bb should be arch specific</short_desc>
          <delta_ts>2011-03-18 18:35:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ke Yu">ke.yu</reporter>
          <assigned_to name="Ke Yu">ke.yu</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12818</commentid>
    <comment_count>0</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2011-03-18 01:03:16 +0000</bug_when>
    <thetext>xserver-nodm-init.bb currently is not arch specific, and has the setting:

PACKAGE_ARCH = &quot;all&quot;

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 = &quot;${MACHINE_ARCH}&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12846</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-03-18 18:35:12 +0000</bug_when>
    <thetext>Fixed in master in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=aeaa356a5ee77b4596c479451a9db289381a4d16</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>