From 82b163043aa53488a03bb3de3a78e5b6eeb76019 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 2 May 2011 19:09:16 +0000 Subject: busybox: add support to mdev This changes the packaging only if the configuration used has mdev support enabled. Signed-off-by: Otavio Salvador --- meta/recipes-core/busybox/files/mdev | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 meta/recipes-core/busybox/files/mdev (limited to 'meta/recipes-core/busybox/files/mdev') diff --git a/meta/recipes-core/busybox/files/mdev b/meta/recipes-core/busybox/files/mdev new file mode 100755 index 000000000..4eba6190c --- /dev/null +++ b/meta/recipes-core/busybox/files/mdev @@ -0,0 +1,7 @@ +#!/bin/sh + +mount -t tmpfs tmpfs /dev -o size=64k,mode=0755 +mkdir /dev/pts /dev/shm +mount -t devpts devpts /dev/pts +echo "/sbin/mdev" > /proc/sys/kernel/hotplug +mdev -s -- cgit v1.2.3