From bb8b29ddc15c9cc3c200b0a4d1b51042663e12f4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 4 Nov 2004 12:40:18 +0000 Subject: STAGE2_LOCATION symlink is now relative instead of absolute (relies on the fact that STAGE2_LOCATION and IMAGE_LOCATION are both in /tmp in non MOVE) --- mdk-stage1/stage1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index 021437f00..7d8234f1e 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -662,8 +662,8 @@ int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused)) #ifndef MANDRAKE_MOVE if (access(STAGE2_LOCATION, R_OK) != 0) - if (symlink(IMAGE_LOCATION_REAL "/" LIVE_LOCATION_REL, STAGE2_LOCATION) != 0) - log_perror("symlink from " IMAGE_LOCATION_REAL "/" LIVE_LOCATION_REL " to " STAGE2_LOCATION " failed"); + if (symlink(IMAGE_LOCATION_REL "/" LIVE_LOCATION_REL, STAGE2_LOCATION) != 0) + log_perror("symlink from " IMAGE_LOCATION_REL "/" LIVE_LOCATION_REL " to " STAGE2_LOCATION " failed"); #endif if (interactive_pid != 0) -- cgit v1.2.1