summaryrefslogtreecommitdiff
path: root/meta/packages/busybox/files/mdev
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-05-25 15:36:14 +0100
committerJoshua Lock <josh@linux.intel.com>2010-05-25 15:36:14 +0100
commit615a98ed9a021da245513790c064761a0a5a67e9 (patch)
treecba72ce890e46d97e86edc2845dd379f98712907 /meta/packages/busybox/files/mdev
parentcd62d697e1c746bad6dd29030f03a36750a1957e (diff)
downloadopenembedded-core-615a98ed9a021da245513790c064761a0a5a67e9.tar.gz
openembedded-core-615a98ed9a021da245513790c064761a0a5a67e9.tar.bz2
openembedded-core-615a98ed9a021da245513790c064761a0a5a67e9.zip
busybox: bump to 1.15.3 from OE
Import the 1.15.3 recipe from OpenEmbedded and tweak to match Poky style Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/packages/busybox/files/mdev')
-rwxr-xr-xmeta/packages/busybox/files/mdev11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/packages/busybox/files/mdev b/meta/packages/busybox/files/mdev
new file mode 100755
index 0000000000..4eed51e94c
--- /dev/null
+++ b/meta/packages/busybox/files/mdev
@@ -0,0 +1,11 @@
+#!/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