Mageia Bugzilla – Attachment 6136 Details for
Bug 15573
Auto-install seems broken in Cauldron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
fix a crash
0002-fix-a-crash-in-auto-install-mga-15573.patch (text/plain), 1.27 KB, created by
Thierry Vignaud
on 2015-03-26 11:08:41 CET
(
hide
)
Description:
fix a crash
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2015-03-26 11:08:41 CET
Size:
1.27 KB
patch
obsolete
>From 56f6e287510ef2f4df922279be317d4b06e9ddf3 Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Thu, 26 Mar 2015 06:06:42 -0400 >Subject: [PATCH 2/2] fix a crash in auto install (mga#15573) > >--- > perl-install/install/any.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm >index 34f8c68..b067d65 100644 >--- a/perl-install/install/any.pm >+++ b/perl-install/install/any.pm >@@ -822,7 +822,7 @@ sub default_packages { > add_n_log("have crypted DM", "cryptsetup") if !is_empty_array_ref($o->{all_hds}{dmcrypts}); > add_n_log("some disks are fake RAID", qw(mdadm dmraid)) if any { fs::type::is_dmraid($_) } @{$o->{all_hds}{hds}}; > add_n_log("CPU needs microcode", "microcode_ctl") if detect_devices::hasCPUMicrocode(); >- add_n_log("either CPU or GFX needs firmware", qw(kernel-firmware-nonfree radeon-firmware)) if is_firmware_needed(); >+ add_n_log("either CPU or GFX needs firmware", qw(kernel-firmware-nonfree radeon-firmware)) if is_firmware_needed($o); > add_n_log("CPU needs cpupower", 'cpupower') if detect_devices::hasCPUFreq(); > add_n_log("APM support needed", 'apmd') if -e "/proc/apm"; > add_n_log("needed by hardware", detect_devices::probe_name('Pkg')); >-- >2.3.2 >
From 56f6e287510ef2f4df922279be317d4b06e9ddf3 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Thu, 26 Mar 2015 06:06:42 -0400 Subject: [PATCH 2/2] fix a crash in auto install (mga#15573) --- perl-install/install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 34f8c68..b067d65 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -822,7 +822,7 @@ sub default_packages { add_n_log("have crypted DM", "cryptsetup") if !is_empty_array_ref($o->{all_hds}{dmcrypts}); add_n_log("some disks are fake RAID", qw(mdadm dmraid)) if any { fs::type::is_dmraid($_) } @{$o->{all_hds}{hds}}; add_n_log("CPU needs microcode", "microcode_ctl") if detect_devices::hasCPUMicrocode(); - add_n_log("either CPU or GFX needs firmware", qw(kernel-firmware-nonfree radeon-firmware)) if is_firmware_needed(); + add_n_log("either CPU or GFX needs firmware", qw(kernel-firmware-nonfree radeon-firmware)) if is_firmware_needed($o); add_n_log("CPU needs cpupower", 'cpupower') if detect_devices::hasCPUFreq(); add_n_log("APM support needed", 'apmd') if -e "/proc/apm"; add_n_log("needed by hardware", detect_devices::probe_name('Pkg')); -- 2.3.2
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15573
:
6136
|
6137