From 5758121daa7e4eba12eaa4ab56a6958709aa7baf Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Sep 2012 11:21:52 +0000 Subject: create /sys at build time rather than run time --- mdk-stage1/init.c | 1 - 1 file changed, 1 deletion(-) (limited to 'mdk-stage1/init.c') 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)) -- cgit v1.2.1