summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/lomount.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-27 15:10:21 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-27 15:10:21 +0000
commit21c0c9ac4bcb91e5e49b3ef945663d7d19d07ba7 (patch)
treed1d4810601a1d295eec038adcdd8417f2ba7e90b /mdk-stage1/lomount.c
parentc62dfcf9f5568aebea8ba5547a00d05bb2c94a00 (diff)
downloaddrakx-21c0c9ac4bcb91e5e49b3ef945663d7d19d07ba7.tar
drakx-21c0c9ac4bcb91e5e49b3ef945663d7d19d07ba7.tar.gz
drakx-21c0c9ac4bcb91e5e49b3ef945663d7d19d07ba7.tar.bz2
drakx-21c0c9ac4bcb91e5e49b3ef945663d7d19d07ba7.tar.xz
drakx-21c0c9ac4bcb91e5e49b3ef945663d7d19d07ba7.zip
in move kernel, we need change_loop.o
Diffstat (limited to 'mdk-stage1/lomount.c')
-rw-r--r--mdk-stage1/lomount.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdk-stage1/lomount.c b/mdk-stage1/lomount.c
index d940ec36f..791db0d0f 100644
--- a/mdk-stage1/lomount.c
+++ b/mdk-stage1/lomount.c
@@ -169,7 +169,11 @@ lomount(char *loopfile, char *where, char **dev, int gz)
flag = MS_MGC_VAL;
flag |= MS_RDONLY;
+#ifdef MANDRAKE_MOVE
+ my_insmod("change_loop", ANY_DRIVER_TYPE, NULL);
+#else
my_insmod("loop", ANY_DRIVER_TYPE, NULL);
+#endif
if (!(loopdev = find_free_loop())) {
log_message("could not find a free loop");