Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podvm-mkosi: Add support for Debian and Fedora variants #1950

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/cloud-api-adaptor/podvm-mkosi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ATTESTER ?= none
ARCH ?= $(subst x86_64,amd64,$(shell uname -m))
BUILDER = fedora-binaries-builder-$(ARCH)
SEDEBUG ?= false
IS_DEBIAN := $(shell if grep -q 'ID_LIKE=debian' /etc/os-release; then echo "true"; else echo "false"; fi)
bpradipt marked this conversation as resolved.
Show resolved Hide resolved

REGISTRY ?= quay.io/confidential-containers
PODVM_DISTRO ?= fedora
Expand Down Expand Up @@ -46,6 +47,9 @@ binaries:
@echo "Building binaries..."
rm -rf ./resources/binaries-tree
cp -rf ../../../.git ../../.git
ifeq ($(IS_DEBIAN),true)
docker buildx use default
endif
docker buildx build \
--build-arg BUILDER_IMG=$(BUILDER) \
--build-arg ATTESTER=$(ATTESTER) \
Expand Down
Loading