summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");
}