1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 06:45:13 +01:00

build-sys: Move build back to being the default target

Oops.

Signed-off-by: Colin Walters <walters@verbum.org>

# Conflicts:
#	Justfile
This commit is contained in:
Colin Walters
2026-01-06 14:54:44 -05:00
parent d7a7c0c98f
commit 9745361288

View File

@@ -47,6 +47,15 @@ buildargs := base_buildargs + " --secret=id=secureboot_key,src=target/test-secur
# Args for build-sealed (no base arg, it sets that itself)
sealed_buildargs := "--build-arg=variant=" + variant + " --secret=id=secureboot_key,src=target/test-secureboot/db.key --secret=id=secureboot_cert,src=target/test-secureboot/db.crt"
# The default target: build the container image from current sources.
# Note commonly you might want to override the base image via e.g.
# `just build --build-arg=base=quay.io/fedora/fedora-bootc:42`
#
# This first builds RPMs via the `package` target, then injects them
# into the container image.
build: package _keygen
@just _build-from-package target/packages
# Compute SOURCE_DATE_EPOCH and VERSION from git for reproducible builds.
# Outputs shell variable assignments that can be eval'd.
_git-build-vars:
@@ -68,16 +77,6 @@ _git-build-vars:
# Needed by bootc install on ostree
fedora-coreos := "quay.io/fedora/fedora-coreos:testing-devel"
# The default target: build the container image from current sources.
# Note commonly you might want to override the base image via e.g.
# `just build --build-arg=base=quay.io/fedora/fedora-bootc:42`
#
# This first builds RPMs via the `package` target, then injects them
# into the container image.
build: package _keygen
@just _build-from-package target/packages
# Generate Secure Boot keys (only for our own CI/testing)
_keygen:
./hack/generate-secureboot-keys