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
commit073de8c2100a962732a0e3e06699a4b395422976 (patch)
tree659eb70c7675f166663179de60378d117e0cff31
parent1b665dfb77a75d38533cfcf91afc7434ea5d061e (diff)
downloaddrakx-backup-do-not-use-073de8c2100a962732a0e3e06699a4b395422976.tar
drakx-backup-do-not-use-073de8c2100a962732a0e3e06699a4b395422976.tar.gz
drakx-backup-do-not-use-073de8c2100a962732a0e3e06699a4b395422976.tar.bz2
drakx-backup-do-not-use-073de8c2100a962732a0e3e06699a4b395422976.tar.xz
drakx-backup-do-not-use-073de8c2100a962732a0e3e06699a4b395422976.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");
}