diff options
Diffstat (limited to 'mdk-stage1/stage1.c')
-rw-r--r-- | mdk-stage1/stage1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index f756bf052..739e3dfaa 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -536,6 +536,9 @@ int mandrake_move_post(void) return RETURN_ERROR; } + if (IS_DEBUGSTAGE1) + while (1); + log_message("move: pivot_rooting"); // trick so that kernel won't try to mount the root device when initrd exits if (scall((fd = open("/proc/sys/kernel/real-root-dev", O_WRONLY)) < 0, "open")) |