Mageia Bugzilla – Attachment 2119 Details for
Bug 4439
annoying and probably unnecessary reboot after partitionning
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
do call udevadm in installer
missing-udevadm-calls.diff (text/plain), 796 bytes, created by
Thierry Vignaud
on 2012-04-27 13:01:20 CEST
(
hide
)
Description:
do call udevadm in installer
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2012-04-27 13:01:20 CEST
Size:
796 bytes
patch
obsolete
>diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm >index d6c6b60..a11318b 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
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index d6c6b60..a11318b 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
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4439
: 2119