Add OpenEuler support

Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
This commit is contained in:
Timothy Middelkoop
2025-10-01 13:50:31 -05:00
parent 4f4a3dcebe
commit 44057766e7
2 changed files with 3 additions and 2 deletions

View File

@@ -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
## v4.6.4, 2025-09-05

View File

@@ -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/