summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/stage1.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-10-09 16:21:09 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-10-09 16:21:09 +0000
commit60164fa078d98de65eb9dff39c218b3d6653e818 (patch)
treece2e9bb49b2e899f3921279ff4a7e7cdd11b7b6d /mdk-stage1/stage1.c
parentcb4e52fa2f824ea07f3b720583766b683819444e (diff)
downloaddrakx-60164fa078d98de65eb9dff39c218b3d6653e818.tar
drakx-60164fa078d98de65eb9dff39c218b3d6653e818.tar.gz
drakx-60164fa078d98de65eb9dff39c218b3d6653e818.tar.bz2
drakx-60164fa078d98de65eb9dff39c218b3d6653e818.tar.xz
drakx-60164fa078d98de65eb9dff39c218b3d6653e818.zip
boot live_tree! :)
Diffstat (limited to 'mdk-stage1/stage1.c')
-rw-r--r--mdk-stage1/stage1.c4
1 files changed, 2 insertions, 2 deletions
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;