Additions to and install staticfiles README

Building off the work in #581, add additional detail to the staticfiles
README, and install an iPXE README alongside the iPXE files in their
final location.

Closes #189

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
This commit is contained in:
Jonathon Anderson
2022-12-14 12:27:56 -07:00
parent c67699ae30
commit 4b8141f7c7
3 changed files with 25 additions and 2 deletions

View File

@@ -198,6 +198,7 @@ files: all
cp bash_completion.d/warewulf $(DESTDIR)$(BASHCOMPDIR)
cp man_pages/*.1* $(DESTDIR)$(MANDIR)/man1/
cp man_pages/*.5* $(DESTDIR)$(MANDIR)/man5/
install -m 0644 staticfiles/README-ipxe.md $(DESTDIR)$(WWDATADIR)/ipxe
install -m 0644 staticfiles/arm64.efi $(DESTDIR)$(WWDATADIR)/ipxe
install -m 0644 staticfiles/x86_64.efi $(DESTDIR)$(WWDATADIR)/ipxe
install -m 0644 staticfiles/x86_64.kpxe $(DESTDIR)$(WWDATADIR)/ipxe

View File

@@ -0,0 +1,19 @@
# Warewulf-provided iPXE binaries
- `arm64.efi` - EFI support for `arm64` processors
- `x86_64.efi` - EFI support for `x86_64` processors
- `x86_64.kpxe` - legacy BIOS support for `x86_64` processors
## Rebuilding
The iPXE binaries can be rebuilt with the `ipxe-update.sh`
script. This script accepts command-line arguments that are passed to
the underlying `make` process. e.g.,
```bash
echo "#!ipxe
echo Tagging with vlan 1000
vcreate --tag 1000 net0 autoboot || shell" >vlan-1000.ipxe
sh ipxe-update.sh EMBED=$(readlink -f vlan-1000.ipxe)
```

View File

@@ -1,2 +1,5 @@
# iPXE binaries
Binaries can be rebuild with the `ixpe-update.sh` script.
# Warewulf-bundled static files
These files are bundled statically with Warewulf 4.
See also: [README-ipxe.md](README-ipxe.md)