diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-06-25 07:18:58 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-06-25 07:18:58 +0000 |
commit | d0fb8cac3f8bbd87d5551647bbdbf9be3747f794 (patch) | |
tree | 75cdcc61800b504b767521b21dc85b5c274f0134 | |
parent | 1d3c2be7b46e476cfdc09c7082bb617a84a9c651 (diff) | |
download | drakx-backup-do-not-use-d0fb8cac3f8bbd87d5551647bbdbf9be3747f794.tar drakx-backup-do-not-use-d0fb8cac3f8bbd87d5551647bbdbf9be3747f794.tar.gz drakx-backup-do-not-use-d0fb8cac3f8bbd87d5551647bbdbf9be3747f794.tar.bz2 drakx-backup-do-not-use-d0fb8cac3f8bbd87d5551647bbdbf9be3747f794.tar.xz drakx-backup-do-not-use-d0fb8cac3f8bbd87d5551647bbdbf9be3747f794.zip |
use relative symlink to image location in disk/nfs install, to have a working stage2
-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 00c6bb872..fe3ccda70 100644 --- a/mdk-stage1/directory.c +++ b/mdk-stage1/directory.c @@ -136,7 +136,7 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me add_to_env("METHOD", method_iso); } else { log_message("assuming %s is a mirror tree", location_full); - symlink(location_full, IMAGE_LOCATION); + symlink(basename(location_full), IMAGE_LOCATION); add_to_env("METHOD", method_live); } #ifndef MANDRAKE_MOVE |