summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-01-18 12:28:10 +0100
committerKoen Kooi <koen@openembedded.org>2009-01-18 12:28:10 +0100
commit639426975208c9d406e4cc7dc406926d6831a4f1 (patch)
tree85b7b02ccb33feba0ab9ebae1478fe1a04b30cd7 /packages
parent050cb9176ef250702da88727a3e4de11bb6cc8bc (diff)
busybox: split out mdev stuff to mdev package (package, not recipe)
Diffstat (limited to 'packages')
-rw-r--r--packages/busybox/busybox.inc16
-rw-r--r--packages/busybox/busybox_1.11.3.bb2
-rw-r--r--packages/busybox/busybox_1.13.2.bb6
3 files changed, 18 insertions, 6 deletions
diff --git a/packages/busybox/busybox.inc b/packages/busybox/busybox.inc
index e377406421..6d0988532b 100644
--- a/packages/busybox/busybox.inc
+++ b/packages/busybox/busybox.inc
@@ -174,3 +174,19 @@ pkg_prerm_${PN} () {
sh /usr/bin/update-alternatives --remove $bn $to
done </etc/busybox.links
}
+
+PACKAGES =+ "mdev"
+FILES_mdev = "${sysconfdir}/mdev ${sysconfdir}/mdev.conf ${sysconfdir}/init.d/mdev"
+RDEPENDS_mdev += "${PN}"
+
+pkg_postinst_mdev() {
+if test "x$D" != "x"; then
+ OPT="-r $D"
+else
+ OPT="-s"
+fi
+ update-rc.d $OPT mdev start 06 S .
+}
+
+
+
diff --git a/packages/busybox/busybox_1.11.3.bb b/packages/busybox/busybox_1.11.3.bb
index c4466bcf67..ae0dcc3ef7 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 = "r6"
+PR = "r7"
SRC_URI = "\
http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
diff --git a/packages/busybox/busybox_1.13.2.bb b/packages/busybox/busybox_1.13.2.bb
index 1451e4a511..1687f1b6b9 100644
--- a/packages/busybox/busybox_1.13.2.bb
+++ b/packages/busybox/busybox_1.13.2.bb
@@ -1,6 +1,6 @@
require busybox.inc
-PR = "r3"
+PR = "r4"
SRC_URI = "\
http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
@@ -38,7 +38,3 @@ do_install_append() {
install -m 0755 ${WORKDIR}/mdev ${D}${sysconfdir}/init.d/
}
-pkg_postinst_${PN}_append() {
-
- update-rc.d $OPT mdev start 06 S .
-}