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

Last change on this file since b057e2d4 was 0171693, checked in by Andrew Bradford <bradfa@…>, 14 years ago

Updated BusyBox to version 1.18.4

Simply commented out the fixes patch info since there will be patches
to fix things in the future and editing existing info is more
straightforward than putting new info in.

Updated config patch is based off the 1.17.3 patch from Joe.

  • Property mode set to 100644
File size: 4.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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
21 single small executable. It provides replacements for most of the utilities
22 you usually find in GNU fileutils, shellutils, etc. The utilities in
23 BusyBox generally have fewer options than their full-featured GNU cousins;
24 however, the options that are included provide the expected functionality
25 and behave very much like their GNU counterparts. BusyBox provides
26 a fairly complete environment for any small or embedded system.</para>
27
28 </sect2>
29
30 <sect2 role="installation">
31 <title>Installation of Busybox</title>
32
33<!-- Version 1.18.4 does not require any "fixes" patch, none exists, yet
34 <para os="p1">The following patch contains a number of fixes to version
35 &busybox-version; by the Busybox developers:</para>
36
37<screen os="p2"><userinput>patch -Np1 -i ../&busybox-fixes-patch;</userinput></screen>
38-->
39
40 <para os="a">The following patch contains a default configuration for busybox:</para>
41
42<screen os="b"><userinput>patch -Np1 -i ../&busybox-config-patch;
43cp -v clfs/config .config</userinput></screen>
44
45 <note os="c">
46 <para>Currently we are just telling Busybox to use a generic
47 configuration. For those for more adventurous, you can use
48 <command>make menuconfig</command>, and create a custom or modified
49 configuration for your build.</para>
50 </note>
51
52 <para os="d">The following tells BusyBox to validate the configuration,
53 and makes sure all required options are defined:</para>
54
55<screen os="e"><userinput>make oldconfig</userinput></screen>
56
57 <para os="f">Compile the package:</para>
58
59<screen os="g"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-"</userinput></screen>
60
61 <para os="h">Install the package:</para>
62
63<screen os="i"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" \
64 CONFIG_PREFIX="${CLFS}" install</userinput></screen>
65
66 <para os="j">If you're going to build your kernel with modules, you will need
67 to make sure <command>depmod.pl</command> is available:</para>
68
69<screen os="k"><userinput>cp examples/depmod.pl ${CLFS}/cross-tools/bin
70chmod 755 ${CLFS}/cross-tools/bin/depmod.pl</userinput></screen>
71
72 </sect2>
73
74 <sect2 id="contents-busybox" role="content">
75 <title>Contents of Busybox</title>
76
77 <segmentedlist>
78 <segtitle>Installed programs</segtitle>
79
80 <seglistitem>
81 <seg>To be Written</seg>
82 </seglistitem>
83 </segmentedlist>
84
85<!--
86 <variablelist>
87 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
88 <?dbfo list-presentation="list"?>
89 <?dbhtml list-presentation="table"?>
90
91 <varlistentry id="bash">
92 <term><command>bash</command></term>
93 <listitem>
94 <para>A widely-used command interpreter; it performs many types of
95 expansions and substitutions on a given command line before executing
96 it, thus making this interpreter a powerful tool</para>
97 <indexterm zone="ch-system-bash bash">
98 <primary sortas="b-bash">bash</primary>
99 </indexterm>
100 </listitem>
101 </varlistentry>
102
103 <varlistentry id="bashbug">
104 <term><command>bashbug</command></term>
105 <listitem>
106 <para>A shell script to help the user compose and mail standard
107 formatted bug reports concerning <command>bash</command></para>
108 <indexterm zone="ch-system-bash bashbug">
109 <primary sortas="b-bashbug">bashbug</primary>
110 </indexterm>
111 </listitem>
112 </varlistentry>
113
114 <varlistentry id="sh">
115 <term><command>sh</command></term>
116 <listitem>
117 <para>A symlink to the <command>bash</command> program; when invoked
118 as <command>sh</command>, <command>bash</command> tries to mimic the
119 startup behavior of historical versions of <command>sh</command> as
120 closely as possible, while conforming to the POSIX standard as
121 well</para>
122 <indexterm zone="ch-system-bash sh">
123 <primary sortas="b-sh">sh</primary>
124 </indexterm>
125 </listitem>
126 </varlistentry>
127
128 </variablelist>
129-->
130 </sect2>
131
132</sect1>
Note: See TracBrowser for help on using the repository browser.