diff options
-rw-r--r-- | mdk-stage1/stage1.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index fb50748ce..2bc7f8084 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -613,9 +613,12 @@ int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused)) #endif #ifndef DISABLE_DISK - if (IS_RECOVERY && streq(get_auto_value("method"), "cdrom") && !process_recovery()) -#endif + if (IS_RECOVERY && streq(get_auto_value("method"), "cdrom")) { + if (!process_recovery()) method_select_and_prepare(); +#endif + } else + method_select_and_prepare(); if (!IS_RAMDISK) if (symlink(IMAGE_LOCATION_REAL LIVE_LOCATION, STAGE2_LOCATION) != 0) |