Move overlays to rootfs and and set ownership

Move all overlay contents to a rootfs subdirectory, which was already
supported, and set ownership to root:root.

Closes #1078

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-02-16 18:19:49 -07:00
parent cf09ba55f7
commit 6cc13455f6
53 changed files with 19 additions and 12 deletions

View File

@@ -145,7 +145,12 @@ yq e '
%dir %{_sharedstatedir}/warewulf
%{_sharedstatedir}/warewulf/chroots
%{_sharedstatedir}/warewulf/overlays
%dir %{_sharedstatedir}/warewulf/overlays
%dir %{_sharedstatedir}/warewulf/overlays/debug
%dir %{_sharedstatedir}/warewulf/overlays/generic
%dir %{_sharedstatedir}/warewulf/overlays/host
%dir %{_sharedstatedir}/warewulf/overlays/wwinit
%attr(-, root, root) %{_sharedstatedir}/warewulf/overlays/*/rootfs
%attr(-, root, root) %{_bindir}/wwctl
%attr(-, root, root) %{_bindir}/wwapi*