From 2b36e577a2d1f12663d0568d03fda78083b176e4 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 4 Aug 2004 08:35:47 +0000 Subject: prefer to use a ramdisk for disk installs --- mdk-stage1/directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1/directory.c') diff --git a/mdk-stage1/directory.c b/mdk-stage1/directory.c index d827e368f..b04895f00 100644 --- a/mdk-stage1/directory.c +++ b/mdk-stage1/directory.c @@ -143,7 +143,7 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me add_to_env("METHOD", method_live); } #ifndef MANDRAKE_MOVE - if (IS_SPECIAL_STAGE2 || (loopdev && ramdisk_possible())) { + if (IS_SPECIAL_STAGE2 || ((loopdev || streq(method_live, "disk")) && ramdisk_possible())) { /* RAMDISK install */ if (access(IMAGE_LOCATION RAMDISK_LOCATION, R_OK)) { stg1_error_message("I can't find the " DISTRIB_NAME " Distribution in the specified directory. " -- cgit v1.2.1