From 354fc168ef6abd311fdd59067b70729e4a83e46d Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Sat, 25 Nov 2023 01:15:22 -0700 Subject: [PATCH 1/2] Remove trailing space from filename ww4-disks.target.ww was committed with a trailing space in its filename which is both incorrect and breaks rendering of the template. Signed-off-by: Christian Goll --- .../systemd/system/{ww4-disks.target.ww => ww4-disks.target.ww} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename overlays/wwinit/etc/systemd/system/{ww4-disks.target.ww => ww4-disks.target.ww} (100%) diff --git a/overlays/wwinit/etc/systemd/system/ww4-disks.target.ww b/overlays/wwinit/etc/systemd/system/ww4-disks.target.ww similarity index 100% rename from overlays/wwinit/etc/systemd/system/ww4-disks.target.ww rename to overlays/wwinit/etc/systemd/system/ww4-disks.target.ww From 48768abb6d91f0905f666ca3c685303e7f23feeb Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Sat, 25 Nov 2023 01:16:48 -0700 Subject: [PATCH 2/2] Update Makefile to install symlinks and dirs Signed-off-by: Christian Goll --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 574f0de6..aaedba30 100644 --- a/Makefile +++ b/Makefile @@ -112,6 +112,8 @@ install: build docs for f in etc/examples/*.ww; do install -m 0644 $$f $(DESTDIR)$(WWCONFIGDIR)/examples/; done for f in etc/ipxe/*.ipxe; do install -m 0644 $$f $(DESTDIR)$(WWCONFIGDIR)/ipxe/; done (cd overlays && find * -type f -exec install -D -m 0644 {} $(DESTDIR)$(WWOVERLAYDIR)/{} \;) + (cd overlays && find * -type d -exec mkdir -pv $(DESTDIR)$(WWOVERLAYDIR)/{} \;) + (cd overlays && find * -type l -exec cp -av {} $(DESTDIR)$(WWOVERLAYDIR)/{} \;) chmod 0755 $(DESTDIR)$(WWOVERLAYDIR)/wwinit/init chmod 0755 $(DESTDIR)$(WWOVERLAYDIR)/wwinit/$(WWCLIENTDIR)/wwinit chmod 0600 $(DESTDIR)$(WWOVERLAYDIR)/wwinit/etc/ssh/ssh*