diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-04 08:35:47 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-04 08:35:47 +0000 |
commit | 2b36e577a2d1f12663d0568d03fda78083b176e4 (patch) | |
tree | 5e992e70590d1f0703c4313921a9cc11ca82b117 | |
parent | 44a257eb1cd8e437195c42dd42db45c3c4e70495 (diff) | |
download | drakx-2b36e577a2d1f12663d0568d03fda78083b176e4.tar drakx-2b36e577a2d1f12663d0568d03fda78083b176e4.tar.gz drakx-2b36e577a2d1f12663d0568d03fda78083b176e4.tar.bz2 drakx-2b36e577a2d1f12663d0568d03fda78083b176e4.tar.xz drakx-2b36e577a2d1f12663d0568d03fda78083b176e4.zip |
prefer to use a ramdisk for disk installs
-rw-r--r-- | mdk-stage1/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. " |