Merge pull request #2030 from middelkoopt/tm-openeuler

Add OpenEuler support
This commit is contained in:
Christian Goll
2025-10-15 09:24:28 +02:00
committed by GitHub
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 ### 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
### Fixed ### Fixed

View File

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