Remove ipxe binaries and configure for Rocky Linux
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -52,6 +52,8 @@ BuildRequires: golang >= 1.16
|
||||
BuildRequires: firewalld-filesystem
|
||||
Requires: tftp-server
|
||||
Requires: nfs-utils
|
||||
Requires: ipxe-bootimgs-x86
|
||||
Requires: ipxe-bootimgs-aarch64
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} >= 8 || 0%{?suse_version} || 0%{?fedora}
|
||||
@@ -91,7 +93,8 @@ make defaults \
|
||||
SYSTEMDDIR=%{_unitdir} \
|
||||
BASHCOMPDIR=/etc/bash_completion.d/ \
|
||||
FIREWALLDDIR=/usr/lib/firewalld/services \
|
||||
WWCLIENTDIR=/warewulf
|
||||
WWCLIENTDIR=/warewulf \
|
||||
IPXESOURCE=/usr/share/ipxe
|
||||
make
|
||||
|
||||
|
||||
@@ -107,10 +110,10 @@ 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" = "ipxe/undionly.kpxe" |
|
||||
.tftp.ipxe."00:07" = "ipxe/ipxe-x86_64.efi" |
|
||||
.tftp.ipxe."00:09" = "ipxe/ipxe-x86_64.efi" |
|
||||
.tftp.ipxe."00:0B" = "ipxe/snp-arm64.efi" ' \
|
||||
.tftp.ipxe."00:00" = "undionly.kpxe" |
|
||||
.tftp.ipxe."00:07" = "ipxe-x86_64.efi" |
|
||||
.tftp.ipxe."00:09" = "ipxe-x86_64.efi" |
|
||||
.tftp.ipxe."00:0B" = "snp-arm64.efi" ' \
|
||||
-i %{buildroot}%{_sysconfdir}/warewulf/warewulf.conf
|
||||
%endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user