Merge pull request #1170 from mslacken/FixSuseRpm
change ipxe location for SUSE based distros at build time
This commit is contained in:
@@ -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
|
- Fix a rendering bug in the documentation for GRUB boot support. #1132
|
||||||
- Replace slice in templates with sprig substr. #1093
|
- Replace slice in templates with sprig substr. #1093
|
||||||
- Don't attempt to rebuild protocol buffers in offline mode. #1155
|
- 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
|
## [4.5.0] 2024-02-08
|
||||||
|
|
||||||
|
|||||||
@@ -108,10 +108,6 @@ export NO_BRP_STALE_LINK_ERROR=yes
|
|||||||
make install \
|
make install \
|
||||||
DESTDIR=%{buildroot}
|
DESTDIR=%{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%pre
|
|
||||||
getent group %{wwgroup} >/dev/null || groupadd -r %{wwgroup}
|
|
||||||
# use ipxe images from the distribution
|
|
||||||
%if 0%{?suse_version} || 0%{?sle_version}
|
%if 0%{?suse_version} || 0%{?sle_version}
|
||||||
yq e '
|
yq e '
|
||||||
.tftp.ipxe."00:00" = "undionly.kpxe" |
|
.tftp.ipxe."00:00" = "undionly.kpxe" |
|
||||||
@@ -121,6 +117,10 @@ yq e '
|
|||||||
-i %{buildroot}%{_sysconfdir}/warewulf/warewulf.conf
|
-i %{buildroot}%{_sysconfdir}/warewulf/warewulf.conf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%pre
|
||||||
|
getent group %{wwgroup} >/dev/null || groupadd -r %{wwgroup}
|
||||||
|
# use ipxe images from the distribution
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post warewulfd.service
|
%systemd_post warewulfd.service
|
||||||
|
|||||||
Reference in New Issue
Block a user