<?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>4570</bug_id>
          
          <creation_ts>2013-05-29 09:13:35 +0000</creation_ts>
          <short_desc>busybox in Yocto/OE doesn&apos;t support FEATURE_INDIVIDUAL</short_desc>
          <delta_ts>2013-06-26 03:12:40 +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>core</component>
          <version>1.4</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.2</target_milestone>
          
          <blocked>4207</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Chen Qi">Qi.Chen</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>33356</commentid>
    <comment_count>0</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-05-29 09:13:35 +0000</bug_when>
    <thetext>If CONFIG_FEATURE_INDIVIDUAL is enabled for busybox, yocto-based systems cannot start correctly.

We use update-alternatives to create the symlinks and currently the ALTERNATIVE_TARGET defaults to &quot;/bin/busybox&quot;. If we build busybox as individual apps, &quot;/bin/busybox&quot; doesn&apos;t exist. So when system starts, commands like &apos;mount&apos; cannot be found, causing a system halt.

//Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33386</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-05-30 07:40:57 +0000</bug_when>
    <thetext>What is the effect change in disk space, or are they all still symlinks just not to busybox binary?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33387</commentid>
    <comment_count>2</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-05-30 07:51:18 +0000</bug_when>
    <thetext>Hi Saul,

If busybox is built as a single binary, on our system, we&apos;ll have links like below.
/bin/ls -&gt; /bin/busybox
/bin/cat -&gt; /bin/busybox
....

If busybox is built as individual apps, on our system, we&apos;ll have links like below.
/bin/ls -&gt; /bin/ls.busybox
/bin/cat -&gt; /bin/cat.busybox
....

If busybox is built as individual apps, the rootfs size is about 1M larger. After all, those apps are not compressed into one binary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34147</commentid>
    <comment_count>3</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-06-26 03:12:40 +0000</bug_when>
    <thetext>merged into poky/master: 9d68aa5e3590c8eefb221f62b0390a05061a756a

http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=87efa83191f0b4f4cec3a821b6dfe425c781c077</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>