diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-06-30 06:22:01 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-06-30 06:22:01 +0000 |
commit | 92a3c2362a5a53fbbbe3d8625313969ef81b765b (patch) | |
tree | 59029124560c7b940885d1cc51c6ff2cee1887e6 /tools/drakx-in-chroot | |
parent | 79f93942ff05332505c57723522ad2bfd1f635bf (diff) | |
download | drakx-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
Diffstat (limited to 'tools/drakx-in-chroot')
-rw-r--r-- | tools/drakx-in-chroot | 1 |
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"); } |