diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/busybox/busybox.inc | 16 | ||||
-rw-r--r-- | packages/busybox/busybox_1.11.3.bb | 2 | ||||
-rw-r--r-- | packages/busybox/busybox_1.13.2.bb | 6 |
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 . -} |