diff --git a/CHANGELOG.md b/CHANGELOG.md index 6152df44..75fdb737 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Changed - Renamed debian.interfaces overlay to ifupdown +- Change the DHCP server package used on openeuler 24.03 to dnsmasq ### Fixed diff --git a/warewulf.spec.in b/warewulf.spec.in index 6c311bd6..85afdd03 100644 --- a/warewulf.spec.in +++ b/warewulf.spec.in @@ -65,7 +65,7 @@ Requires: ipxe-bootimgs-aarch64 %endif %endif -%if 0%{?rhel} >= 10 +%if 0%{?rhel} >= 10 || 0%{?openEuler} Requires: dnsmasq %else %if 0%{?rhel} >= 8 || 0%{?suse_version} || 0%{?fedora} @@ -125,7 +125,7 @@ export NO_BRP_STALE_LINK_ERROR=yes make install \ DESTDIR=%{buildroot} -%if 0%{?rhel} >= 10 +%if 0%{?rhel} >= 10 || 0%{?openEuler} sed -i ' s/systemd name: dhcpd/systemd name: dnsmasq/ s/systemd name: tftp/systemd name: dnsmasq/