summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-03 11:21:52 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-03 11:21:52 +0000
commit5758121daa7e4eba12eaa4ab56a6958709aa7baf (patch)
tree426b364588732d5b96719c65abf073e21c84c0f3 /mdk-stage1
parentdf9dbca7427c7ba34973cb2622c4003852a231d3 (diff)
downloaddrakx-5758121daa7e4eba12eaa4ab56a6958709aa7baf.tar
drakx-5758121daa7e4eba12eaa4ab56a6958709aa7baf.tar.gz
drakx-5758121daa7e4eba12eaa4ab56a6958709aa7baf.tar.bz2
drakx-5758121daa7e4eba12eaa4ab56a6958709aa7baf.tar.xz
drakx-5758121daa7e4eba12eaa4ab56a6958709aa7baf.zip
create /sys at build time rather than run time
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))