diff options
-rw-r--r-- | mdk-stage1/stage1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index 5a2cdb074..e484f0f41 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -592,6 +592,8 @@ void finish_preparing(void) int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused)), char **env) { + if (getenv("DEBUGSTAGE1")) + set_param(MODE_TESTING); mkdir(SLASH_LOCATION, 0755); if (scall(mount("none", SLASH_LOCATION, "tmpfs", MS_MGC_VAL, NULL), "mount tmpfs")) |