From df4589acd9e285e7e16f31e53e0f81777fc1f783 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 2 Dec 2003 19:08:26 +0000 Subject: I wonder how 9.2 worked in all.rdz!? Thisd did not even call method_select_and_prepare() --- mdk-stage1/stage1.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mdk-stage1') 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) -- cgit v1.2.1