summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/interactive.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-04-21 07:11:12 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-04-21 07:11:12 +0000
commit705bb01dbafd020971ead18c9bcde14bdbc0a590 (patch)
treea9ed205327295c8380c32454f79cb65f1f6013b0 /perl-install/diskdrake/interactive.pm
parentb7b8ae3abe6bbc33095a9f354a8915cc8b6dd153 (diff)
downloaddrakx-705bb01dbafd020971ead18c9bcde14bdbc0a590.tar
drakx-705bb01dbafd020971ead18c9bcde14bdbc0a590.tar.gz
drakx-705bb01dbafd020971ead18c9bcde14bdbc0a590.tar.bz2
drakx-705bb01dbafd020971ead18c9bcde14bdbc0a590.tar.xz
drakx-705bb01dbafd020971ead18c9bcde14bdbc0a590.zip
do not run udevadm in install mode
Diffstat (limited to 'perl-install/diskdrake/interactive.pm')
-rw-r--r--perl-install/diskdrake/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 88997ee63..56ff98934 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -1157,7 +1157,7 @@ sub write_partitions {
partition_table::write($hd) if !$::testing;
check_rebootNeeded($in, $hd) if !$b_skip_check_rebootNeeded;
# fix resizing's failures due to udev's race when writing the partition table
- run_program::run('udevadm', 'settle');
+ run_program::run('udevadm', 'settle') unless $::isInstall;
1;
}