summaryrefslogtreecommitdiffstats
path: root/tools/drakx-in-chroot
diff options
context:
space:
mode:
Diffstat (limited to 'tools/drakx-in-chroot')
-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");
}