summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-07-13 08:23:50 +0000
committerOlivier Blin <oblin@mandriva.org>2004-07-13 08:23:50 +0000
commit4903c60de2d977855024ff1bc5501f514b4aa2e6 (patch)
tree975d58ca3d7a0cad3af0954ef8d5b60fe6a98a04 /mdk-stage1
parent7972cf7b6f8ff0a38c16e693b56d08fd10e8effd (diff)
downloaddrakx-4903c60de2d977855024ff1bc5501f514b4aa2e6.tar
drakx-4903c60de2d977855024ff1bc5501f514b4aa2e6.tar.gz
drakx-4903c60de2d977855024ff1bc5501f514b4aa2e6.tar.bz2
drakx-4903c60de2d977855024ff1bc5501f514b4aa2e6.tar.xz
drakx-4903c60de2d977855024ff1bc5501f514b4aa2e6.zip
it is again stupid to use a ramdisk if the install location isn't
mounted by loopback
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/directory.c2
1 files changed, 1 insertions, 1 deletions
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. "