Mageia Bugzilla – Attachment 6657 Details for
Bug 15999
MGA5 RC KDE livedvd, 64 bit, installer fails to launch from icon (INTERNAL ERROR: unknown device sda1)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
run udevadm settle before reading partition table
15999.diff (text/plain), 460 bytes, created by
Thierry Vignaud
on 2015-05-28 15:11:05 CEST
(
hide
)
Description:
run udevadm settle before reading partition table
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2015-05-28 15:11:05 CEST
Size:
460 bytes
patch
obsolete
>diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm >index 39c0298..bf22e0a 100644 >--- a/perl-install/partition_table.pm >+++ b/perl-install/partition_table.pm >@@ -274,6 +274,10 @@ sub read_primary { > > sub read { > my ($hd) = @_; >+ >+ # fix installer failures due to udev's race when run too early: >+ run_program::run('udevadm', 'settle'); >+ > read_primary($hd) or return 0; > eval { > my $need_removing_empty_extended;
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index 39c0298..bf22e0a 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -274,6 +274,10 @@ sub read_primary { sub read { my ($hd) = @_; + + # fix installer failures due to udev's race when run too early: + run_program::run('udevadm', 'settle'); + read_primary($hd) or return 0; eval { my $need_removing_empty_extended;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15999
:
6623
|
6626
| 6657 |
6658
|
6659
|
6663