summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/disk.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mdk-stage1/disk.c b/mdk-stage1/disk.c
index 1dfc48741..1b6082fd0 100644
--- a/mdk-stage1/disk.c
+++ b/mdk-stage1/disk.c
@@ -342,9 +342,11 @@ static enum return_type try_with_device(char *dev_name)
umount(disk_own_mount);
return try_with_device(dev_name);
}
- } else
+ add_to_env("METHOD", "disk-iso");
+ } else {
symlink(location_full, IMAGE_LOCATION);
-
+ add_to_env("METHOD", "disk");
+ }
#ifndef MANDRAKE_MOVE
if (IS_SPECIAL_STAGE2 || ramdisk_possible()) {
/* RAMDISK install */
@@ -398,7 +400,6 @@ static enum return_type try_with_device(char *dev_name)
del_loop(loopdev);
}
- add_to_env("METHOD", "disk");
return RETURN_OK;
}