SHA256
1
0
forked from pool/warewulf4

Accepting request 1173929 from home:mslacken:pr

- update to 4.5.2 with followin changes:
  * Reorder dnsmasq config to put iPXE last
  * Update a dependency to fix CVE-2024-3727 (bsc#1224124)

OBS-URL: https://build.opensuse.org/request/show/1173929
OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=74
This commit is contained in:
2024-05-14 09:07:42 +00:00
committed by Git OBS Bridge
parent 4f7337ce84
commit a8fa387099
4 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7317429b95e268bda850ebd68fd92c1c5f170cd50b388748003b3e654d02e7b2
size 10408158

3
warewulf4-v4.5.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1a32c2f108a3a9eb40247c7c84f6a9d5b944a5b1ad2e4014c50acee848bcb3f
size 10409495

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue May 14 09:01:13 UTC 2024 - Christian Goll <cgoll@suse.com>
- update to 4.5.2 with followin changes:
* Reorder dnsmasq config to put iPXE last
* Update a dependency to fix CVE-2024-3727 (bsc#1224124)
-------------------------------------------------------------------
Mon May 13 07:59:50 UTC 2024 - Christian Goll <cgoll@suse.com>

View File

@@ -16,7 +16,7 @@
#
%global vers 4.5.1
%global vers 4.5.2
%global tftpdir /srv/tftpboot
%global srvdir %{_sharedstatedir}
#%%global githash 5b0de8ea5397ca42584335517fd4959d7ffe3da5
@@ -173,9 +173,8 @@ yq e '
.["container mounts"] += {"source": "/etc/SUSEConnect", "dest": "/etc/SUSEConnect", "readonly": true} |
.["container mounts"] += {"source": "/etc/zypp/credentials.d/SCCcredentials", "dest": "/etc/zypp/credentials.d/SCCcredentials", "readonly": true}' \
-i %{buildroot}%{_sysconfdir}/warewulf/warewulf.conf
#sed -i -e 's@\(^\s*\)\(.*:.*\):@\1"\2":@' %%{buildroot}%%{_sysconfdir}/warewulf/warewulf.conf
# SUSE starts user UIDs at 1000
sed -i -e 's@\(.* \$_UID \(>\|-ge\) \)500\(.*\)@\11000\3@' %{buildroot}%{_localstatedir}/lib/warewulf/overlays/host/rootfs/etc/profile.d/ssh_setup.*sh
sed -i -e 's@\(.* \$_UID \(>\|-ge\) \)500\(.*\)@\11000\3@' %{buildroot}%{_localstatedir}/lib/warewulf/overlays/host/rootfs/etc/profile.d/ssh_setup.*sh.ww
# fix dhcp for SUSE
mv %{buildroot}%{_localstatedir}/lib/warewulf/overlays/host/rootfs/etc/dhcp/dhcpd.conf.ww %{buildroot}%{_localstatedir}/lib/warewulf/overlays/host/rootfs/etc/dhcpd.conf.ww
rmdir %{buildroot}%{_localstatedir}/lib/warewulf/overlays/host/rootfs/etc/dhcp