Add firewalld service file to Makefile / RPM spec

This commit is contained in:
Brian Clemens
2021-04-22 20:35:42 +09:00
parent 57af0514cb
commit 9b5ff49718
2 changed files with 2 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ files: all
cp wwclient $(DESTDIR)/var/warewulf/overlays/system/default/warewulf/bin/
cp wwctl $(DESTDIR)/usr/bin/
mkdir -p $(DESTDIR)/usr/lib/systemd/system
install -c -m 0644 include/firewalld/warewulf.xml $(DESTDIR)/usr/lib/firewalld/services
install -c -m 0644 include/systemd/warewulfd.service $(DESTDIR)/usr/lib/systemd/system
# cp -r tftpboot/* /var/lib/tftpboot/warewulf/ipxe/
# restorecon -r /var/lib/tftpboot/warewulf

View File

@@ -40,6 +40,7 @@ rm -rf $RPM_BUILD_ROOT
%attr(0755, root, warewulf) %dir /etc/warewulf/
%config(noreplace) /etc/warewulf/*
/usr/bin/wwctl
/usr/lib/firewalld/services/warewulf.xml
/usr/lib/systemd/system/warewulfd.service
/var/warewulf