From 66fe9e18812c5009eee369144dd75e81fe0dc6ce Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 19 Aug 2023 19:41:50 +0100 Subject: Revert "Change default DHCP client to dhcpcd (mga#30938)" This reverts commit 35cdeec997163a9195f1c6c917554cbed5892261. The change broke the ability to bring up networking (to add on-line media) when using the classical installer ISO to update a system that used the legacy network scripts. --- perl-install/install/NEWS | 2 ++ perl-install/install/any.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index cb25b3821..cb2fadeac 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- Revert change of default DHCP client to dhcpcd (mga#30938) + Version 18.65 - 11 July 2023 - add ntfs3 to isFat_or_NTFS() diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 317f2fba9..47809b240 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -811,7 +811,7 @@ sub default_packages { 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')); - my @ltmp = map { $_->{BOOTPROTO} eq 'dhcp' ? $_->{DHCP_CLIENT} || 'dhcpcd' : () } values %{$o->{net}{ifcfg}}; + my @ltmp = map { $_->{BOOTPROTO} eq 'dhcp' ? $_->{DHCP_CLIENT} || 'dhcp-client' : () } values %{$o->{net}{ifcfg}}; add_n_log("needed by networking", @ltmp) if @ltmp; # will get auto selected at summary stage for bootloader: add_n_log("needed later at summary stage", qw(acpi acpid)); -- cgit v1.2.1