@@ -47,6 +47,15 @@ buildargs := base_buildargs + " --secret=id=secureboot_key,src=target/test-secur
4747# Args for build-sealed (no base arg, it sets that itself)
4848sealed_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"
4949
50+ # The default target: build the container image from current sources.
51+ # Note commonly you might want to override the base image via e.g.
52+ # `just build --build-arg=base=quay.io/fedora/fedora-bootc:42`
53+ #
54+ # This first builds RPMs via the `package` target, then injects them
55+ # into the container image.
56+ build : package _keygen
57+ @ just _build-from-package target/ packages
58+
5059# Compute SOURCE_DATE_EPOCH and VERSION from git for reproducible builds.
5160# Outputs shell variable assignments that can be eval'd.
5261_ git-build-vars :
@@ -66,15 +75,6 @@ _git-build-vars:
6675 echo " SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}"
6776 echo " VERSION=${VERSION}"
6877
69- # The default target: build the container image from current sources.
70- # Note commonly you might want to override the base image via e.g.
71- # `just build --build-arg=base=quay.io/fedora/fedora-bootc:42`
72- #
73- # This first builds RPMs via the `package` target, then injects them
74- # into the container image.
75- build : package _keygen
76- @ just _build-from-package target/ packages
77-
7878# Generate Secure Boot keys (only for our own CI/testing)
7979_ keygen :
8080 ./ hack/ generate-secureboot-keys
0 commit comments