summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-02-24 14:36:32 +0000
committerSuper user <root@baserock.(none)>2012-09-17 13:11:37 +0000
commit9dbd6013606727055192bd468571a82dc8f11b5e (patch)
tree66a66c9e59e33a84fafe3d1ca5983587f99d1960
parent939e4ce62615af0eb6bc29c8496b6c66493ad0d0 (diff)
downloadbusybox-9dbd6013606727055192bd468571a82dc8f11b5e.tar.gz
morphs: add mdev.conf
mdev without configuration sets permissions to 600 this means that /dev/null cannot be used by non-root users The example mdev configuration file will do this
-rw-r--r--busybox-devel.morph1
-rw-r--r--busybox.morph1
2 files changed, 2 insertions, 0 deletions
diff --git a/busybox-devel.morph b/busybox-devel.morph
index 3c48b9145..e6e9d54d9 100644
--- a/busybox-devel.morph
+++ b/busybox-devel.morph
@@ -25,6 +25,7 @@
"make CONFIG_PREFIX=\"$DESTDIR\" install",
"install -d \"$DESTDIR\"/usr/share/udhcpc",
"cp examples/udhcp/simple.script \"$DESTDIR\"/usr/share/udhcpc/default.script",
+ "cp examples/mdev_fat.conf \"$DESTDIR\"/etc/mdev.conf",
"install -d \"$DESTDIR\"/sbin",
"ln -s ../bin/busybox \"$DESTDIR\"/sbin/init",
"ln -s ../bin/busybox \"$DESTDIR\"/sbin/getty",
diff --git a/busybox.morph b/busybox.morph
index d4d261131..4986f5fe9 100644
--- a/busybox.morph
+++ b/busybox.morph
@@ -18,6 +18,7 @@
],
"install-commands": [
"make CONFIG_PREFIX=\"$DESTDIR\" install",
+ "cp examples/mdev_fat.conf \"$DESTDIR\"/etc/mdev.conf",
"install -d \"$DESTDIR\"/usr/share/udhcpc",
"cp examples/udhcp/simple.script \"$DESTDIR\"/usr/share/udhcpc/default.script"
]