Mageia Bugzilla – Attachment 9884 Details for
Bug 22346
Minor fixes and enhancements for stage2 installer and drakboot
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Patch to fix errors when installing network drivers
0002-installer-fix-errors-when-installing-network-driver-.patch (text/plain), 1.02 KB, created by
Martin Whitaker
on 2018-01-07 23:07:17 CET
(
hide
)
Description:
Patch to fix errors when installing network drivers
Filename:
MIME Type:
Creator:
Martin Whitaker
Created:
2018-01-07 23:07:17 CET
Size:
1.02 KB
patch
obsolete
>From 448d396d5af80bb050415f6ba90437cf00e35047 Mon Sep 17 00:00:00 2001 >From: Martin Whitaker <mageia@martin-whitaker.me.uk> >Date: Sun, 7 Jan 2018 21:21:17 +0000 >Subject: [PATCH 2/3] installer: fix errors when installing network driver > packages. > >Don't call network::thirdparty::get_available_packages() if there >are no packages to install - it generates lots of spurious error >messages. > >diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm >index a3c6c67e2..900da60cb 100644 >--- a/perl-install/pkgs.pm >+++ b/perl-install/pkgs.pm >@@ -209,7 +209,7 @@ sub detect_network_drivers { > foreach my $settings (@network_settings) { > foreach (@network::thirdparty::thirdparty_types) { > my @packages = network::thirdparty::get_required_packages($_, $settings); >- push @l, network::thirdparty::get_available_packages($_, $do_pkgs, @packages); >+ push @l, network::thirdparty::get_available_packages($_, $do_pkgs, @packages) if @packages; > } > } > } >-- >2.13.6 >
From 448d396d5af80bb050415f6ba90437cf00e35047 Mon Sep 17 00:00:00 2001 From: Martin Whitaker <mageia@martin-whitaker.me.uk> Date: Sun, 7 Jan 2018 21:21:17 +0000 Subject: [PATCH 2/3] installer: fix errors when installing network driver packages. Don't call network::thirdparty::get_available_packages() if there are no packages to install - it generates lots of spurious error messages. diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index a3c6c67e2..900da60cb 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -209,7 +209,7 @@ sub detect_network_drivers { foreach my $settings (@network_settings) { foreach (@network::thirdparty::thirdparty_types) { my @packages = network::thirdparty::get_required_packages($_, $settings); - push @l, network::thirdparty::get_available_packages($_, $do_pkgs, @packages); + push @l, network::thirdparty::get_available_packages($_, $do_pkgs, @packages) if @packages; } } } -- 2.13.6
View Attachment As Raw
Actions:
View
Attachments on
bug 22346
:
9883
| 9884 |
9885
|
10042