summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-21 10:02:56 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-21 10:02:56 +0000
commit03c40cce7cf5c9791661544da396ab61e396ad8a (patch)
treea0a0a4e984152f1dac0d40ffb559441a5d605d84 /meta
parentdce65a1c29315c28044e7a50a1bd328b32cbcc6d (diff)
downloadopenembedded-core-03c40cce7cf5c9791661544da396ab61e396ad8a.tar.gz
openembedded-core-03c40cce7cf5c9791661544da396ab61e396ad8a.tar.bz2
openembedded-core-03c40cce7cf5c9791661544da396ab61e396ad8a.tar.xz
openembedded-core-03c40cce7cf5c9791661544da396ab61e396ad8a.zip
busybox: Sync with OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@902 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/busybox/busybox-1.01/nylon/defconfig2
-rw-r--r--meta/packages/busybox/busybox-1.01/uclibc_posix.patch7
-rw-r--r--meta/packages/busybox/busybox-1.01/xargs-double-size.patch13
-rw-r--r--meta/packages/busybox/busybox_1.01.bb8
4 files changed, 23 insertions, 7 deletions
diff --git a/meta/packages/busybox/busybox-1.01/nylon/defconfig b/meta/packages/busybox/busybox-1.01/nylon/defconfig
index 599051baf..3e4257ef0 100644
--- a/meta/packages/busybox/busybox-1.01/nylon/defconfig
+++ b/meta/packages/busybox/busybox-1.01/nylon/defconfig
@@ -51,7 +51,7 @@ CONFIG_GZIP=y
# CONFIG_RPM is not set
CONFIG_TAR=y
CONFIG_FEATURE_TAR_CREATE=y
-CONFIG_FEATURE_TAR_BZIP2=y
+# CONFIG_FEATURE_TAR_BZIP2 is not set
CONFIG_FEATURE_TAR_FROM=y
CONFIG_FEATURE_TAR_GZIP=y
CONFIG_FEATURE_TAR_COMPRESS=y
diff --git a/meta/packages/busybox/busybox-1.01/uclibc_posix.patch b/meta/packages/busybox/busybox-1.01/uclibc_posix.patch
index aefb99406..186f3f9c3 100644
--- a/meta/packages/busybox/busybox-1.01/uclibc_posix.patch
+++ b/meta/packages/busybox/busybox-1.01/uclibc_posix.patch
@@ -1,12 +1,13 @@
see http://www.busybox.net/lists/busybox/2004-December/013276.html
+and http://bugs.openembedded.org/show_bug.cgi?id=657
---- busybox-old/libbb/loop.c 2004-08-16 04:36:28.000000000 -0400
-+++ busybox/libbb/loop.c 2004-12-04 23:45:58.000000000 -0500
+--- busybox-1.01/libbb/loop.c 2006/03/13 22:18:47 1.1
++++ busybox-1.01/libbb/loop.c 2006/03/13 22:19:57
@@ -19,6 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-+#include <asm/posix_types.h>
++#include <linux/types.h>
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/meta/packages/busybox/busybox-1.01/xargs-double-size.patch b/meta/packages/busybox/busybox-1.01/xargs-double-size.patch
new file mode 100644
index 000000000..218d6c0d1
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.01/xargs-double-size.patch
@@ -0,0 +1,13 @@
+--- busybox-1.01/findutils/xargs.c.org 2006-09-19 18:18:17.084592997 +0200
++++ busybox-1.01/findutils/xargs.c 2006-09-19 18:18:09.820275793 +0200
+@@ -466,8 +466,8 @@
+ have it at 1 meg). Things will work fine with a large ARG_MAX but it
+ will probably hurt the system more than it needs to; an array of this
+ size is allocated. */
+- if (orig_arg_max > 20 * 1024)
+- orig_arg_max = 20 * 1024;
++ if (orig_arg_max > 40 * 1024)
++ orig_arg_max = 40 * 1024;
+ n_max_chars = orig_arg_max;
+ }
+ max_chars = xmalloc(n_max_chars);
diff --git a/meta/packages/busybox/busybox_1.01.bb b/meta/packages/busybox/busybox_1.01.bb
index 996b5418a..9c8b7e60c 100644
--- a/meta/packages/busybox/busybox_1.01.bb
+++ b/meta/packages/busybox/busybox_1.01.bb
@@ -10,7 +10,7 @@ HOMEPAGE = "http://www.busybox.net"
LICENSE = "GPL"
SECTION = "base"
PRIORITY = "required"
-PR = "r11"
+PR = "r12"
SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
file://udhcppidfile.patch;patch=1 \
@@ -28,8 +28,8 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
file://rmmod.patch;patch=1 \
file://udhcpscript.patch;patch=1 \
file://thumb-bsdlabel.patch;patch=1 \
+ file://glibc2.4-icmp6.patch;patch=1 \
file://uclibc_posix.patch;patch=1 \
- file://glibc2.4-icmp6.patch;patch=1 \
file://defconfig \
file://busybox-cron \
file://busybox-httpd \
@@ -40,7 +40,9 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
file://syslog.conf \
file://mount.busybox \
file://umount.busybox"
+
SRC_URI_append_slugos += " file://sysctl.conf "
+SRC_URI_append_nylon = " file://xargs-double-size.patch;patch=1"
S = "${WORKDIR}/busybox-${PV}"
@@ -85,7 +87,7 @@ do_install () {
install -d ${D}${base_bindir}
mv ${D}/busybox${base_bindir}/busybox ${D}${base_bindir}/
# Move back the sh symlink
- mv ${D}/busybox${base_bindir}/sh ${D}${base_bindir}/
+ test -h ${D}/busybox${base_bindir}/sh && mv ${D}/busybox${base_bindir}/sh ${D}${base_bindir}/
install -m 0755 ${WORKDIR}/syslog ${D}${sysconfdir}/init.d/
install -m 644 ${WORKDIR}/syslog.conf ${D}${sysconfdir}/