summaryrefslogtreecommitdiff
path: root/packages/busybox/busybox_1.11.3.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@koansoftware.com>2008-12-30 15:54:58 +0100
committerMarcin Juszkiewicz <hrw@koansoftware.com>2009-01-16 15:37:20 +0100
commit504311c49c8670f50af7ab32cf8f1b2fea102445 (patch)
tree2cd4d6c32fb9b2add5044ab617ac7c129eca9b5d /packages/busybox/busybox_1.11.3.bb
parent533f0e2b68b1a8e89080922f4f49181e903123eb (diff)
busybox: install mdev config and initscript
Diffstat (limited to 'packages/busybox/busybox_1.11.3.bb')
-rw-r--r--packages/busybox/busybox_1.11.3.bb15
1 files changed, 14 insertions, 1 deletions
diff --git a/packages/busybox/busybox_1.11.3.bb b/packages/busybox/busybox_1.11.3.bb
index 3956c4878b..4466548a4d 100644
--- a/packages/busybox/busybox_1.11.3.bb
+++ b/packages/busybox/busybox_1.11.3.bb
@@ -1,5 +1,5 @@
require busybox.inc
-PR = "r3"
+PR = "r5"
SRC_URI = "\
http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
@@ -17,6 +17,8 @@ SRC_URI = "\
file://syslog.conf \
file://umount.busybox \
file://defconfig \
+ file://mdev \
+ file://mdev.conf \
"
EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX}"
@@ -25,3 +27,14 @@ do_configure () {
install -m 0644 ${WORKDIR}/defconfig ${S}/.config
cml1_do_configure
}
+
+do_install_append() {
+ install -m 0644 ${WORKDIR}/mdev.conf ${D}${sysconfdir}/
+ install -d ${D}${sysconfdir}/init.d/
+ install -m 0755 ${WORKDIR}/mdev ${D}${sysconfdir}/init.d/
+}
+
+pkg_postinst_${PN}_append() {
+
+ update-rc.d $OPT mdev start 06 S .
+}