From 4903c60de2d977855024ff1bc5501f514b4aa2e6 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 13 Jul 2004 08:23:50 +0000 Subject: it is again stupid to use a ramdisk if the install location isn't mounted by loopback --- mdk-stage1/directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdk-stage1/directory.c b/mdk-stage1/directory.c index f71cf8ad4..0ca78397a 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 || !streq(method_live, "nfs")) && ramdisk_possible())) { + if (IS_SPECIAL_STAGE2 || (loopdev && 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