summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-06-18 05:46:57 +0000
committerOlivier Blin <oblin@mandriva.org>2004-06-18 05:46:57 +0000
commit9a768e7b5f9ab5879bf3c8f5be3d1267156d5a94 (patch)
tree3fddde3c46615443b25844c45d42aacf2852970e /mdk-stage1
parentfe087ed9bb223366676eef790def68102497f77c (diff)
downloaddrakx-9a768e7b5f9ab5879bf3c8f5be3d1267156d5a94.tar
drakx-9a768e7b5f9ab5879bf3c8f5be3d1267156d5a94.tar.gz
drakx-9a768e7b5f9ab5879bf3c8f5be3d1267156d5a94.tar.bz2
drakx-9a768e7b5f9ab5879bf3c8f5be3d1267156d5a94.tar.xz
drakx-9a768e7b5f9ab5879bf3c8f5be3d1267156d5a94.zip
in iso install, use ISOPATH environment variable instead of loopback device filename (limited to 64 chars)
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/disk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdk-stage1/disk.c b/mdk-stage1/disk.c
index 1b6082fd0..864469ef9 100644
--- a/mdk-stage1/disk.c
+++ b/mdk-stage1/disk.c
@@ -342,6 +342,7 @@ static enum return_type try_with_device(char *dev_name)
umount(disk_own_mount);
return try_with_device(dev_name);
}
+ add_to_env("ISOPATH", location_full);
add_to_env("METHOD", "disk-iso");
} else {
symlink(location_full, IMAGE_LOCATION);