diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-04-27 17:28:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-04-27 17:28:58 +0000 |
commit | 56849f948c30c36e6ecf41f762cff639acdc5cad (patch) | |
tree | aa13d9f43bf0cfede5dcebc39277acdef5160922 /perl-install | |
parent | 40c77605bc6d82cd2c52dc443ef4356e7a91ab6b (diff) | |
download | drakx-backup-do-not-use-56849f948c30c36e6ecf41f762cff639acdc5cad.tar drakx-backup-do-not-use-56849f948c30c36e6ecf41f762cff639acdc5cad.tar.gz drakx-backup-do-not-use-56849f948c30c36e6ecf41f762cff639acdc5cad.tar.bz2 drakx-backup-do-not-use-56849f948c30c36e6ecf41f762cff639acdc5cad.tar.xz drakx-backup-do-not-use-56849f948c30c36e6ecf41f762cff639acdc5cad.zip |
(tell_kernel) run udevadm in installer too (might fix unnecessary reboot (mga#4439))
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install/NEWS | 4 | ||||
-rw-r--r-- | perl-install/partition_table.pm | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 82b6bf9c8..0040b189a 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,7 @@ +- partitioning: + o run udevadm in installer too + (might fix unnecessary reboot (mga#4439)) + Version 14.14 - 26 april 2012 - Mageia 2 RC banner 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 |