BusyBox: Difference between revisions

From LFScript
Created page with "<scriptname>busybox</scriptname> == Sources == * <sourcecode>http://busybox.net/downloads/busybox-1.19.3.tar.bz2</sourcecode> <md5>c3938e1ac59602387009bbf1dd1af7f6 busybox-..."
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Scripts]]
<scriptname>busybox</scriptname>
<scriptname>busybox</scriptname>


== Sources ==
== Sources ==
* <sourcecode>http://busybox.net/downloads/busybox-1.19.3.tar.bz2</sourcecode>
* <sourcecode>https://busybox.net/downloads/busybox-1.26.2.tar.bz2</sourcecode>


<md5>c3938e1ac59602387009bbf1dd1af7f6 busybox-1.19.3.tar.bz2</md5>
<md5>bb59d25ee2643db20f212eec539429f1 busybox-1.26.2.tar.bz2</md5>


== Installation ==
== Installation ==
Line 11: Line 12:
<build>make defconfig &&
<build>make defconfig &&
sed 's/# CONFIG_STATIC is not set/CONFIG_STATIC=y/' -i .config</build>
sed 's/# CONFIG_STATIC is not set/CONFIG_STATIC=y/' -i .config</build>
Do not build with <code>RPC</code> support, because it has been removed from Glibc 2.14:
<build>sed 's/CONFIG_FEATURE_HAVE_RPC=y/# CONFIG_FEATURE_HAVE_RPC is not set/' \
        -i .config
sed 's/CONFIG_FEATURE_MOUNT_NFS=y/# CONFIG_FEATURE_MOUNT_NFS is not set/' \
        -i .config
sed 's/CONFIG_FEATURE_INETD_RPC=y/# CONFIG_FEATURE_INETD_RPC is not set/' \
        -i .config</build>


<build>make</build>
<build>make</build>


<build user="root">cp -v busybox /bin</build>
<build user="root">cp -v busybox /bin</build>

Latest revision as of 16:17, 27 February 2017

LFScript can find this software under the name busybox.

Sources


MD5 Checksums:

bb59d25ee2643db20f212eec539429f1  busybox-1.26.2.tar.bz2

Installation

Like the Linux kernel, BusyBox can be configured using make menuconfig. However, the following commands build a busybox executable suitable for use in a Live CD:

make defconfig &&
sed 's/# CONFIG_STATIC is not set/CONFIG_STATIC=y/' -i .config
make

As the root user:

cp -v busybox /bin