From bfbc357cf4266b81d2fe9ca1c517ed8e5ef013b6 Mon Sep 17 00:00:00 2001 From: Yoshiaki SENDA Date: Fri, 25 Mar 2022 14:56:35 +0900 Subject: [PATCH] Create `$(DESTDIR)$(WWDATADIR)/ipxe` directory `$(DESTDIR)$(WWDATADIR)/ipxe` was file. This cause a problem when copying *.efi files to `$(DESTDIR)$(WWDATADIR)/ipxe`. This commit makes `$(DESTDIR)$(WWDATADIR)/ipxe` to be directory from file. --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 7bf11b7f..a5a9835e 100644 --- a/Makefile +++ b/Makefile @@ -168,7 +168,7 @@ files: all install -d -m 0755 $(DESTDIR)$(WWDOCDIR) install -d -m 0755 $(DESTDIR)$(FIREWALLDDIR) install -d -m 0755 $(DESTDIR)$(SYSTEMDDIR) - install -d -m 0755 $(DESTDIR)$(WWDATADIR) + install -d -m 0755 $(DESTDIR)$(WWDATADIR)/ipxe test -f $(DESTDIR)$(WWCONFIGDIR)/warewulf.conf || install -m 644 etc/warewulf.conf $(DESTDIR)$(WWCONFIGDIR) test -f $(DESTDIR)$(WWCONFIGDIR)/nodes.conf || install -m 644 etc/nodes.conf $(DESTDIR)$(WWCONFIGDIR) cp -r etc/examples $(DESTDIR)$(WWCONFIGDIR)/ @@ -185,10 +185,10 @@ files: all install -m 0644 LICENSE.md $(DESTDIR)$(WWDOCDIR) cp bash_completion.d/warewulf $(DESTDIR)$(BASHCOMPDIR) cp man_pages/* $(DESTDIR)$(MANDIR)/man1/ - install -c -m 0644 staticfiles/arm64.efi $(DESTDIR)$(WWDATADIR)/ipxe - install -c -m 0644 staticfiles/i386.efi $(DESTDIR)$(WWDATADIR)/ipxe - install -c -m 0644 staticfiles/i386.kpxe $(DESTDIR)$(WWDATADIR)/ipxe - install -c -m 0644 staticfiles/x86.efi $(DESTDIR)$(WWDATADIR)/ipxe + install -m 0644 staticfiles/arm64.efi $(DESTDIR)$(WWDATADIR)/ipxe + install -m 0644 staticfiles/i386.efi $(DESTDIR)$(WWDATADIR)/ipxe + install -m 0644 staticfiles/i386.kpxe $(DESTDIR)$(WWDATADIR)/ipxe + install -m 0644 staticfiles/x86.efi $(DESTDIR)$(WWDATADIR)/ipxe init: systemctl daemon-reload