diff --git a/Makefile b/Makefile index b567da201..819e10d59 100644 --- a/Makefile +++ b/Makefile @@ -50,3 +50,9 @@ kernel-%: ## Updates the kernel configs: e.g. make kernel-olddefconfig; make ker $(MAKE) docker-kernel-prepare PLATFORM=$$platform TARGET_ARGS="--tag=$(REGISTRY)/$(USERNAME)/kernel:$(TAG)-$$arch --load"; \ docker run --rm -it --entrypoint=/toolchain/bin/bash -e PATH=/toolchain/bin:/bin -w /src -v $$PWD/kernel/kernel/config-$$arch:/host/.hostconfig $(REGISTRY)/$(USERNAME)/kernel:$(TAG)-$$arch -c 'cp /host/.hostconfig .config && make $* && cp .config /host/.hostconfig'; \ done + +# Utilities + +.PHONY: conformance +conformance: ## Performs policy checks against the commit and source code. + docker run --rm -it -v $(PWD):/src -w /src ghcr.io/talos-systems/conform:v0.1.0-alpha.22 enforce