Add OpenEuler support
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
This commit is contained in:
@@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Renamed debian.interfaces overlay to ifupdown
|
- Renamed debian.interfaces overlay to ifupdown
|
||||||
|
- Change the DHCP server package used on openeuler 24.03 to dnsmasq
|
||||||
|
|
||||||
## v4.6.4, 2025-09-05
|
## v4.6.4, 2025-09-05
|
||||||
|
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ Requires: ipxe-bootimgs-aarch64
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?rhel} >= 10
|
%if 0%{?rhel} >= 10 || 0%{?openEuler}
|
||||||
Requires: dnsmasq
|
Requires: dnsmasq
|
||||||
%else
|
%else
|
||||||
%if 0%{?rhel} >= 8 || 0%{?suse_version} || 0%{?fedora}
|
%if 0%{?rhel} >= 8 || 0%{?suse_version} || 0%{?fedora}
|
||||||
@@ -125,7 +125,7 @@ export NO_BRP_STALE_LINK_ERROR=yes
|
|||||||
make install \
|
make install \
|
||||||
DESTDIR=%{buildroot}
|
DESTDIR=%{buildroot}
|
||||||
|
|
||||||
%if 0%{?rhel} >= 10
|
%if 0%{?rhel} >= 10 || 0%{?openEuler}
|
||||||
sed -i '
|
sed -i '
|
||||||
s/systemd name: dhcpd/systemd name: dnsmasq/
|
s/systemd name: dhcpd/systemd name: dnsmasq/
|
||||||
s/systemd name: tftp/systemd name: dnsmasq/
|
s/systemd name: tftp/systemd name: dnsmasq/
|
||||||
|
|||||||
Reference in New Issue
Block a user