summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/NEWS2
-rw-r--r--mdk-stage1/init.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index 3cbb5552c..1ad920aa0 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,3 +1,5 @@
+- rely on /sys being created in images
+
1.69
- do not try to mount /proc/bus/usb
- load hid-generic
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c
index 9f55bcc40..21b220c1a 100644
--- a/mdk-stage1/init.c
+++ b/mdk-stage1/init.c
@@ -414,7 +414,6 @@ int main(int argc, char **argv)
if (!testing) {
if (mount("/proc", "/proc", "proc", 0, NULL))
fatal_error("Unable to mount proc filesystem");
- mkdir("/sys", 0755);
if (mount("none", "/sys", "sysfs", 0, NULL))
fatal_error("Unable to mount sysfs filesystem");
if (mount("none", "/sys/kernel/debug", "debugfs", 0, NULL))