Skip to contentSkip to conversation

busybox: Schedule mdev after mountall

PATCH New Khem Raj 1 participant 1 message Oct 21, 2015

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 2/2 busybox: Schedule mdev after mountall

mdev does automounting of block media, which expects
/run/ to be mounted, so let mounting happen before running mdev service and mountall is done with at 03 so trigger mdev at 04

This helps in mounting the devices which are plugged on boot

---
 meta/recipes-core/busybox/busybox.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/busybox/busybox.inc +2 -2
index 4d4709a..cfdea30 100644
@@ -33,9 +33,9 @@ INITSCRIPT_PACKAGES = "${PN}-httpd ${PN}-syslog ${PN}-udhcpd ${PN}-mdev ${PN}-hw
 INITSCRIPT_NAME_${PN}-httpd = "busybox-httpd"
 INITSCRIPT_NAME_${PN}-hwclock = "hwclock.sh"
 INITSCRIPT_NAME_${PN}-mdev = "mdev"
-INITSCRIPT_PARAMS_${PN}-mdev = "start 03 S ."
+INITSCRIPT_PARAMS_${PN}-mdev = "start 04 S ."
 INITSCRIPT_NAME_${PN}-syslog = "syslog"
-INITSCRIPT_NAME_${PN}-udhcpd = "busybox-udhcpd" 
+INITSCRIPT_NAME_${PN}-udhcpd = "busybox-udhcpd"
 
 SYSTEMD_PACKAGES = "${PN}-syslog"
 SYSTEMD_SERVICE_${PN}-syslog = "busybox-syslog.service"
Signature · 1 line
2.6.1