diff options
author | Phil Blundell <philb@gnu.org> | 2004-07-31 11:52:00 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-07-31 11:52:00 +0000 |
commit | da5f0f439c414ce8cd4d747f0efdc714879b6639 (patch) | |
tree | c6e049befe36bafed5fcfcc87afa004d162a5234 /busybox | |
parent | ee4346b7de60ce5c03938302ea7c970f2ddc0296 (diff) |
patch busybox up to 20040731 to fix shell prompt and makedevs bug
BKrev: 410b87e0lfap3QqyA7WcEa0iNvHjuw
Diffstat (limited to 'busybox')
-rw-r--r-- | busybox/busybox-1.00-rc2/cvs20040731.patch | 0 | ||||
-rw-r--r-- | busybox/busybox_1.00-rc2.oe | 47 |
2 files changed, 47 insertions, 0 deletions
diff --git a/busybox/busybox-1.00-rc2/cvs20040731.patch b/busybox/busybox-1.00-rc2/cvs20040731.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/busybox/busybox-1.00-rc2/cvs20040731.patch diff --git a/busybox/busybox_1.00-rc2.oe b/busybox/busybox_1.00-rc2.oe index e69de29bb2..181b731aa4 100644 --- a/busybox/busybox_1.00-rc2.oe +++ b/busybox/busybox_1.00-rc2.oe @@ -0,0 +1,47 @@ +DESCRIPTION = "BusyBox version ${PV}. \ +BusyBox combines tiny versions of many common UNIX utilities into a single \ +small executable. It provides minimalist replacements for most of the \ +utilities you usually find in GNU fileutils, shellutils, etc. The utilities \ +in BusyBox generally have fewer options than their full-featured GNU \ +cousins; however, the options that are included provide the expected \ +functionality and behave very much like their GNU counterparts. BusyBox \ +provides a fairly complete POSIX environment for any small or embedded \ +system." +LICENSE = "GPL" + +# file://busybox-1.00-pre10-fuser.patch;patch=1 +SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \ + file://add-getkey-applet.patch;patch=1 \ + file://bb-iproute-iftunnel.patch;patch=1 \ + file://cvs20040731.patch;patch=1 \ + file://defconfig \ + file://syslog \ + file://hwclock.sh" +S = "${WORKDIR}/busybox-${PV}" +export EXTRA_CFLAGS = "${CFLAGS}" +EXTRA_OEMAKE_append = " CROSS=${HOST_PREFIX}" +FILES_${PN} += " ${datadir}/udhcpc" + +inherit cml1 update-rc.d + +INITSCRIPT_NAME = "syslog" +INITSCRIPT_PARAMS = "defaults" + +do_configure () { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config + cml1_do_configure +} + +do_compile () { + unset CFLAGS + base_do_compile +} + +do_install () { + install -d ${D}/etc/init.d + oe_runmake 'PREFIX=${D}' install + install -m 0755 ${WORKDIR}/syslog ${D}/etc/init.d/syslog + install -m 0755 ${WORKDIR}/hwclock.sh ${D}/etc/init.d/hwclock.sh + install -d ${D}${datadir}/udhcpc + install -m 0755 ${S}/examples/udhcp/simple.script ${D}${datadir}/udhcpc/default.script +} |