Commit Graph

14 Commits

Author SHA1 Message Date
Jonathon Anderson
5d6ef1882d Remove whitespace damage
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-21 00:18:38 -07:00
Jonathon Anderson
1047032bae Updated Makefile to account for vendor/ in dist
The previous PR #890 introduced a `Defaults.mk` target for defining
default variables for future calls to `make`. This functionality was
already present in a different form, but this new "real" target had an
unintended side-effect of causing the target to be called automatically
at reference, even the optional reference `-include Defaults.mk`. This
is undesirable as it causes the generation of defaults even during a
`make clean`.

This commit resolves these issues and further refactors the Makefile,
building on the work in #890, but with additional understanding:

* Convert the `Defaults.mk` target to the "phony" `defaults` target,
  preventing automatic generation
* Refactor and split `clean` targets
* Update `cleanvendor` to reflect `OFFLINE_BUILD`, similar to the
  `vendor` target
* Move "tools" targets into `Tools.mk`
* Add `ARCH` to `Variables.mk` for architecture-specific actions

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-08-31 16:35:21 -06:00
Jonathon Anderson
575d0539d8 Fix a typo in Dockerfile
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-08-31 16:32:40 -06:00
Jonathon Anderson
c1d56885ac Refactor Makefile config / Defaults.mk
Makefile has included a Defaults.mk file to store variable configuration
from one run for implicit inclusion in future runs, but the creation of
this file has been automatic and opaque, and the state of it managed by
a series of PHONY targets (e.g., config, genconfig, rm_config). This
commit refactors config to name its files explicitly (so they can be
more properly monitored by make) and makes the generation of Defaults.mk
explicit so that its behavior is more obvious.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-08-10 11:43:46 -06:00
Christian Goll
ecf24be2f9 need libgpgme 2022-11-30 16:15:59 +01:00
Christian Goll
275a89a78b disable nfs and copy ssh public keys to container 2022-11-30 15:29:50 +01:00
Christian Goll
9ec86a18b4 enable the warewulf service 2022-11-30 11:20:39 +01:00
Christian Goll
b59e1f1eff add iproute2 for ip command 2022-11-29 17:07:44 +01:00
Christian Goll
8514f5aa1b adding the ipxe stuff in the container 2022-11-29 17:01:36 +01:00
Christian Goll
de4362f9b9 added config-warewulf 2022-11-29 16:40:13 +01:00
Christian Goll
394574c734 copy all the stuff to the application container 2022-11-28 11:38:43 +01:00
mslacken
8446fd6c79 Using a builder container 2022-11-25 18:05:04 +01:00
Christian Goll
34a4846130 cleanup in Dockerfile 2022-11-25 12:04:09 +01:00
mslacken
4a5b5a8317 added source file for podman 2022-11-24 15:06:48 +01:00