summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-30 06:22:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-30 06:22:01 +0000
commit92a3c2362a5a53fbbbe3d8625313969ef81b765b (patch)
tree59029124560c7b940885d1cc51c6ff2cee1887e6
parent79f93942ff05332505c57723522ad2bfd1f635bf (diff)
downloaddrakx-92a3c2362a5a53fbbbe3d8625313969ef81b765b.tar
drakx-92a3c2362a5a53fbbbe3d8625313969ef81b765b.tar.gz
drakx-92a3c2362a5a53fbbbe3d8625313969ef81b765b.tar.bz2
drakx-92a3c2362a5a53fbbbe3d8625313969ef81b765b.tar.xz
drakx-92a3c2362a5a53fbbbe3d8625313969ef81b765b.zip
module gzloop is needed to losetup a clp
-rw-r--r--tools/drakx-in-chroot1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot
index d2bf50de6..094cecda4 100644
--- a/tools/drakx-in-chroot
+++ b/tools/drakx-in-chroot
@@ -35,6 +35,7 @@ if (-d "$repository/$LIVE_LOCATION_REL") {
sys("$sudo mount -o bind $repository/$LIVE_LOCATION_REL $STAGE2_LOCATION");
} elsif (-e "$repository/$CLP_FILE_REL") {
my $dev = find_free_loop();
+ sys("$sudo modprobe gzloop");
sys("$sudo losetup -r -e gz $dev $repository/$CLP_FILE_REL");
sys("$sudo mount -r $dev $STAGE2_LOCATION");
}