source: clfs-embedded/BOOK/final-system/common/busybox.xml@ 4ef72df

Last change on this file since 4ef72df was e666df1, checked in by Jim Gifford <clfs@…>, 18 years ago

Updated Date
Added Busybox
Added Patches
Updated uClibc to build Busybox

  • Property mode set to 100644
File size: 4.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-busybox" role="wrap">
9 <?dbhtml filename="busybox.html"?>
10
11 <title>Busybox-&busybox-version;</title>
12
13 <indexterm zone="ch-system-busybox">
14 <primary sortas="a-Busybox">Busybox</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>BusyBox combines tiny versions of many common UNIX utilities into a single small
21 executable. It provides replacements for most of the utilities you usually find in GNU
22 fileutils, shellutils, etc. The utilities in BusyBox generally have fewer options than
23 their full-featured GNU cousins; however, the options that are included provide the
24 expected functionality and behave very much like their GNU counterparts. BusyBox provides
25 a fairly complete environment for any small or embedded system.</para>
26
27 </sect2>
28
29 <sect2 role="installation">
30 <title>Installation of Busybox</title>
31
32 <para os="p1">The follow patches fixes some issues that are related to the
33 headers we are using. To correct this issues apply the following patch:</para>
34
35<screen os="p2"><userinput>patch -Np1 -i ../&busybox-fixes-patch;</userinput></screen>
36
37 <para os="a">Create default configuration:</para>
38
39<screen os="b"><userinput>make defconfig</userinput></screen>
40
41 <para os="c">We will need to edit the configuration file, to make sure everything gets
42 compiled and put into it's proper locations:</para>
43
44<screen os="d"><userinput>cp .config .config.orig
45sed -e "s:# USING_CROSS_COMPILER.*:USING_CROSS_COMPILER=y:" \
46 -e "/^CROSS_COMPILER_PREFIX/s:=.*:=\"${CLFS_TARGET}-\":" \
47 .config.orig > .config</userinput></screen>
48
49 <para os="e">Compile the package:</para>
50
51<screen os="f"><userinput>make CROSS="${CLFS_TARGET}-" PREFIX="${CLFS}" busybox</userinput></screen>
52
53 <para os="g">Install the package:</para>
54
55<screen os="h"><userinput>make PREFIX="${CLFS}" install</userinput></screen>
56
57
58 </sect2>
59
60 <sect2 id="contents-busybox" role="content">
61 <title>Contents of Busybox</title>
62
63 <segmentedlist>
64 <segtitle>Installed programs</segtitle>
65
66 <seglistitem>
67 <seg>To be Written</seg>
68 </seglistitem>
69 </segmentedlist>
70
71<!--
72 <variablelist>
73 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
74 <?dbfo list-presentation="list"?>
75 <?dbhtml list-presentation="table"?>
76
77 <varlistentry id="bash">
78 <term><command>bash</command></term>
79 <listitem>
80 <para>A widely-used command interpreter; it performs many types of
81 expansions and substitutions on a given command line before executing
82 it, thus making this interpreter a powerful tool</para>
83 <indexterm zone="ch-system-bash bash">
84 <primary sortas="b-bash">bash</primary>
85 </indexterm>
86 </listitem>
87 </varlistentry>
88
89 <varlistentry id="bashbug">
90 <term><command>bashbug</command></term>
91 <listitem>
92 <para>A shell script to help the user compose and mail standard
93 formatted bug reports concerning <command>bash</command></para>
94 <indexterm zone="ch-system-bash bashbug">
95 <primary sortas="b-bashbug">bashbug</primary>
96 </indexterm>
97 </listitem>
98 </varlistentry>
99
100 <varlistentry id="sh">
101 <term><command>sh</command></term>
102 <listitem>
103 <para>A symlink to the <command>bash</command> program; when invoked
104 as <command>sh</command>, <command>bash</command> tries to mimic the
105 startup behavior of historical versions of <command>sh</command> as
106 closely as possible, while conforming to the POSIX standard as
107 well</para>
108 <indexterm zone="ch-system-bash sh">
109 <primary sortas="b-sh">sh</primary>
110 </indexterm>
111 </listitem>
112 </varlistentry>
113
114 </variablelist>
115-->
116 </sect2>
117
118</sect1>
Note: See TracBrowser for help on using the repository browser.