summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-06-17 07:44:20 +0000
committerOlivier Blin <oblin@mandriva.org>2004-06-17 07:44:20 +0000
commit091bbbdd32025d366bd5fb161b43aae18175bc97 (patch)
treeee530f6340df7142bff5456a3401c23bd0dfc5a6 /mdk-stage1
parent9ef2e6a642f5a5bf89a7e18a6e000535c395c1fb (diff)
downloaddrakx-backup-do-not-use-091bbbdd32025d366bd5fb161b43aae18175bc97.tar
drakx-backup-do-not-use-091bbbdd32025d366bd5fb161b43aae18175bc97.tar.gz
drakx-backup-do-not-use-091bbbdd32025d366bd5fb161b43aae18175bc97.tar.bz2
drakx-backup-do-not-use-091bbbdd32025d366bd5fb161b43aae18175bc97.tar.xz
drakx-backup-do-not-use-091bbbdd32025d366bd5fb161b43aae18175bc97.zip
add disk-iso install method
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;
}