summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-30 10:37:40 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-30 10:37:40 +0000
commitaf3c0fe3e6b9cc797646e680cce7d1b5e3dfffe1 (patch)
tree659eb70c7675f166663179de60378d117e0cff31
parent44afda840a6b3b19d7ce9bdb4bddd2bd6dc8b686 (diff)
downloaddrakx-af3c0fe3e6b9cc797646e680cce7d1b5e3dfffe1.tar
drakx-af3c0fe3e6b9cc797646e680cce7d1b5e3dfffe1.tar.gz
drakx-af3c0fe3e6b9cc797646e680cce7d1b5e3dfffe1.tar.bz2
drakx-af3c0fe3e6b9cc797646e680cce7d1b5e3dfffe1.tar.xz
drakx-af3c0fe3e6b9cc797646e680cce7d1b5e3dfffe1.zip
mount /sys/kernel/debug (needed for new ldetect)
-rw-r--r--mdk-stage1/NEWS2
-rw-r--r--mdk-stage1/init.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS
index 07e9febbc..429870b54 100644
--- a/mdk-stage1/NEWS
+++ b/mdk-stage1/NEWS
@@ -1,3 +1,5 @@
+- mount /sys/kernel/debug (needed for new ldetect)
+
1.67
- make sure nurses get initialized in UTF-8 (mga#4894)
- revert to "linux" terminfo
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c
index e258f03d5..a750b2332 100644
--- a/mdk-stage1/init.c
+++ b/mdk-stage1/init.c
@@ -419,6 +419,8 @@ int main(int argc, char **argv)
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))
+ fatal_error("Unable to mount debugfs filesystem");
}