summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/dmcrypt.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-04-30 16:46:24 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-04-30 16:46:24 +0000
commit6945dca19a246e22f88ec2196d75bc8d3bad2f80 (patch)
tree511fb4e1c776465faa7d0c2f1d7d072504df6a1c /perl-install/fs/dmcrypt.pm
parent87428a2825541d817474bd4101d22816bc7d5064 (diff)
downloaddrakx-6945dca19a246e22f88ec2196d75bc8d3bad2f80.tar
drakx-6945dca19a246e22f88ec2196d75bc8d3bad2f80.tar.gz
drakx-6945dca19a246e22f88ec2196d75bc8d3bad2f80.tar.bz2
drakx-6945dca19a246e22f88ec2196d75bc8d3bad2f80.tar.xz
drakx-6945dca19a246e22f88ec2196d75bc8d3bad2f80.zip
Move udevadm settle in dmcrypt_open
Diffstat (limited to 'perl-install/fs/dmcrypt.pm')
-rw-r--r--perl-install/fs/dmcrypt.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/fs/dmcrypt.pm b/perl-install/fs/dmcrypt.pm
index a831564ec..0b9c58337 100644
--- a/perl-install/fs/dmcrypt.pm
+++ b/perl-install/fs/dmcrypt.pm
@@ -78,6 +78,7 @@ sub open_part {
_run_or_die('luksOpen', devices::make($part->{device}),
$part->{dm_name}, '--key-file', $_[0]);
});
+ run_program::run('udevadm', 'settle') unless $::isInstall;
my $active_dmcrypt = _parse_dmsetup_table($part->{dm_name},
run_program::get_stdout('dmsetup', 'table', $part->{dm_name}));