summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/dmcrypt.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/fs/dmcrypt.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/fs/dmcrypt.pm')
-rw-r--r--perl-install/fs/dmcrypt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/dmcrypt.pm b/perl-install/fs/dmcrypt.pm
index fccc9bf0a..d79464c35 100644
--- a/perl-install/fs/dmcrypt.pm
+++ b/perl-install/fs/dmcrypt.pm
@@ -144,7 +144,7 @@ sub _parse_dmsetup_table {
}
sub active_dm() {
- run_program::run('udevadm', 'settle');
+ run_program::run('udevadm', 'settle') unless $::isInstall;
map {
my $name = s/(.*?):\s*// && $1;