Merge pull request #1170 from mslacken/FixSuseRpm

change ipxe location for SUSE based distros at build time
This commit is contained in:
Jonathon Anderson
2024-04-04 01:44:02 -04:00
committed by GitHub
2 changed files with 5 additions and 4 deletions

View File

@@ -39,6 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix a rendering bug in the documentation for GRUB boot support. #1132
- Replace slice in templates with sprig substr. #1093
- Don't attempt to rebuild protocol buffers in offline mode. #1155
- Fix Suse package by moving yq command to `%install` section. #1169
## [4.5.0] 2024-02-08

View File

@@ -108,10 +108,6 @@ export NO_BRP_STALE_LINK_ERROR=yes
make install \
DESTDIR=%{buildroot}
%pre
getent group %{wwgroup} >/dev/null || groupadd -r %{wwgroup}
# use ipxe images from the distribution
%if 0%{?suse_version} || 0%{?sle_version}
yq e '
.tftp.ipxe."00:00" = "undionly.kpxe" |
@@ -121,6 +117,10 @@ yq e '
-i %{buildroot}%{_sysconfdir}/warewulf/warewulf.conf
%endif
%pre
getent group %{wwgroup} >/dev/null || groupadd -r %{wwgroup}
# use ipxe images from the distribution
%post
%systemd_post warewulfd.service