Skip to content

Commit

Permalink
Merge pull request #994 from hpcng/make-variables-consistent-with-spe…
Browse files Browse the repository at this point in the history
…cfile

Make WWPROVISIONDIR a first class citizen of the local/shared state location.
  • Loading branch information
mslacken committed Nov 27, 2023
2 parents 5f9fa43 + a7ec227 commit dd4c14e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- New build for Rocky Linux 9

### Fixed
- Make Variables.mk consistent with spec file w.r.t. WWPROVISIONDIR, e.g.
instead of basing in `/srv`, handle it the same as chroots and overlays.
- Enable spec file to work with Fedora
- Fix hard CPU architecture on proto's installation in the Makefile
- More aggressive `make clean`.
Expand Down
2 changes: 1 addition & 1 deletion Variables.mk
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ TFTPDIR ?= /var/lib/tftpboot
# Warewulf directory paths
VARLIST += WWCLIENTDIR WWCONFIGDIR WWPROVISIONDIR WWOVERLAYDIR WWCHROOTDIR WWTFTPDIR WWDOCDIR WWDATADIR
WWCONFIGDIR := $(SYSCONFDIR)/$(WAREWULF)
WWPROVISIONDIR := $(SRVDIR)/$(WAREWULF)
WWPROVISIONDIR := $(LOCALSTATEDIR)/$(WAREWULF)/provision
WWOVERLAYDIR := $(LOCALSTATEDIR)/$(WAREWULF)/overlays
WWCHROOTDIR := $(LOCALSTATEDIR)/$(WAREWULF)/chroots
WWTFTPDIR := $(TFTPDIR)/$(WAREWULF)
Expand Down

0 comments on commit dd4c14e

Please sign in to comment.