summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-04-27 17:28:58 +0000
committerThierry Vignaud <tv@mageia.org>2012-04-27 17:28:58 +0000
commit1a320aed7524cde9caa3043988f937a2ae3cb1ba (patch)
treeaa13d9f43bf0cfede5dcebc39277acdef5160922 /perl-install/partition_table.pm
parentdba169d62f99bde890c16f32295afa9b9f451ca2 (diff)
downloaddrakx-1a320aed7524cde9caa3043988f937a2ae3cb1ba.tar
drakx-1a320aed7524cde9caa3043988f937a2ae3cb1ba.tar.gz
drakx-1a320aed7524cde9caa3043988f937a2ae3cb1ba.tar.bz2
drakx-1a320aed7524cde9caa3043988f937a2ae3cb1ba.tar.xz
drakx-1a320aed7524cde9caa3043988f937a2ae3cb1ba.zip
(tell_kernel) run udevadm in installer too (might fix unnecessary reboot (mga#4439))
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index d6c6b60fc..a11318bea 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -397,7 +397,7 @@ sub tell_kernel {
my $F = partition_table::raw::openit($hd);
- run_program::run('udevadm', 'control', '--stop-exec-queue') unless $::isInstall;
+ run_program::run('udevadm', 'control', '--stop-exec-queue');
my $force_reboot = any { $_->[0] eq 'force_reboot' } @$tell_kernel;
if (!$force_reboot) {
@@ -413,7 +413,7 @@ sub tell_kernel {
}
}
- run_program::run('udevadm', 'control', '--start-exec-queue') unless $::isInstall;
+ run_program::run('udevadm', 'control', '--start-exec-queue');
if ($force_reboot) {
# FIXME Handle LVM/dmcrypt/RAID