From 6896d7ab75505b0ca96c9534c6763aafc1807c83 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 21 Oct 2003 18:01:32 +0000 Subject: use pixel's gzloop module rather than cloop --- mdk-stage1/stage1.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mdk-stage1/stage1.c') diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index 829d85514..507cb0f4b 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -47,6 +47,7 @@ _syscall2(int,pivot_root,const char *,new_root,const char *,put_old) #include "tools.h" #include "automatic.h" #include "mount.h" +#include "lomount.h" #include "insmod.h" #ifdef ENABLE_PCMCIA @@ -405,10 +406,7 @@ int mandrake_move_post(void) log_message("move: panic, " IMAGE_LOCATION "/move/symlinks isn't here but " IMAGE_LOCATION "/live_tree.clp neither"); return RETURN_ERROR; } else { - my_insmod("cloop", ANY_DRIVER_TYPE, "file=" IMAGE_LOCATION "/live_tree.clp"); - if (scall(mknod("/dev/cloop0", S_IFBLK | 0600, makedev(240, 0)), "mknod")) - return RETURN_ERROR; - if (my_mount("/dev/cloop0", IMAGE_LOCATION_REAL, "iso9660", 0)) + if (lomount(IMAGE_LOCATION "/live_tree.clp", IMAGE_LOCATION_REAL, 1)) stg1_error_message("Could not mount compressed loopback :(."); } } -- cgit v1.2.1