From 60164fa078d98de65eb9dff39c218b3d6653e818 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 9 Oct 2003 16:21:09 +0000 Subject: boot live_tree! :) --- mdk-stage1/stage1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdk-stage1/stage1.c') diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index b7055ac79..f97aa472d 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -394,7 +394,7 @@ int mandrake_move_post(void) int fd; char rootdev[] = "0x0100"; - if (scall(!(f = fopen(IMAGE_LOCATION LIVE_LOCATION "symlinks", "rb")), "fopen")) + if (scall(!(f = fopen(IMAGE_LOCATION "/move/symlinks", "rb")), "fopen")) return RETURN_ERROR; while (fgets(buf, sizeof(buf), f)) { char oldpath[500], newpath[500]; @@ -411,7 +411,7 @@ int mandrake_move_post(void) // we need only the ones before mounting /dev as devfs if (scall(mkdir(SLASH_LOCATION "/dev", 0755), "mkdir")) return RETURN_ERROR; - if (scall(!(f = fopen(IMAGE_LOCATION LIVE_LOCATION "devices", "rb")), "fopen")) + if (scall(!(f = fopen(IMAGE_LOCATION "/move/devices", "rb")), "fopen")) return RETURN_ERROR; while (fgets(buf, sizeof(buf), f)) { char name[500], path[500], type; -- cgit v1.2.1