summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-12 14:37:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-12 14:37:19 +0000
commitad00b477d13045b32d44ea9a63aa4ffd8d097272 (patch)
tree3a82c1ad631a494cff12093bebb2a4944a5cc242 /perl-install
parent17a2f763a4c98da908e06f78f3e75655fbc1aa65 (diff)
downloaddrakx-ad00b477d13045b32d44ea9a63aa4ffd8d097272.tar
drakx-ad00b477d13045b32d44ea9a63aa4ffd8d097272.tar.gz
drakx-ad00b477d13045b32d44ea9a63aa4ffd8d097272.tar.bz2
drakx-ad00b477d13045b32d44ea9a63aa4ffd8d097272.tar.xz
drakx-ad00b477d13045b32d44ea9a63aa4ffd8d097272.zip
we don't need the clp read-write (if it is read-only it allows remounting /mnt ro)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 3042f34f8..87fbf4f78 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1593,7 +1593,7 @@ sub move_clp_to_disk() {
my ($loop, $current_clp) = devices::find_clp_loop($clp_name) or return;
log::l("move_clp_to_disk: copying $current_clp to ", clp_on_disk());
cp_af($current_clp, clp_on_disk());
- run_program::run('losetup', $loop, clp_on_disk());
+ run_program::run('losetup', '-r', $loop, clp_on_disk());
#- in $current_clp eq "/tmp/$clp_name"
unlink "/tmp/$clp_name";