From ad00b477d13045b32d44ea9a63aa4ffd8d097272 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 12 Jan 2005 14:37:19 +0000 Subject: we don't need the clp read-write (if it is read-only it allows remounting /mnt ro) --- perl-install/install_any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_any.pm') 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"; -- cgit v1.2.1