11# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22#
3- # Generated on 2025-08-26T11:08:45Z by kres 6262116 .
3+ # Generated on 2025-11-18T08:42:08Z by kres e1d6dac .
44
55# common variables
66
@@ -25,7 +25,7 @@ SOURCE_DATE_EPOCH := $(shell git log $(INITIAL_COMMIT_SHA) --pretty=%ct)
2525
2626# sync bldr image with pkgfile
2727
28- BLDR_RELEASE := v0.5.1
28+ BLDR_RELEASE := v0.5.5
2929BLDR_IMAGE := ghcr.io/siderolabs/bldr:$(BLDR_RELEASE )
3030BLDR := docker run --rm --user $(shell id -u) :$(shell id -g) --volume $(PWD ) :/src --entrypoint=/bldr $(BLDR_IMAGE ) --root=/src
3131
@@ -36,23 +36,24 @@ PLATFORM ?= linux/amd64,linux/arm64
3636PROGRESS ?= auto
3737PUSH ?= false
3838CI_ARGS ?=
39+ BUILD_ARGS = --build-arg=SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH )
40+ BUILD_ARGS += --build-arg=TAG="$(TAG ) "
41+ BUILD_ARGS += --build-arg=PKGS="$(PKGS ) "
42+ BUILD_ARGS += --build-arg=PKGS_PREFIX="$(PKGS_PREFIX ) "
43+ BUILD_ARGS += --build-arg=TOOLS="$(TOOLS ) "
44+ BUILD_ARGS += --build-arg=TOOLS_PREFIX="$(TOOLS_PREFIX ) "
3945COMMON_ARGS = --file=Pkgfile
4046COMMON_ARGS += --provenance=false
4147COMMON_ARGS += --progress=$(PROGRESS )
4248COMMON_ARGS += --platform=$(PLATFORM )
43- COMMON_ARGS += --build-arg=SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH )
44- COMMON_ARGS += --build-arg=TAG="$(TAG ) "
45- COMMON_ARGS += --build-arg=PKGS="$(PKGS ) "
46- COMMON_ARGS += --build-arg=PKGS_PREFIX="$(PKGS_PREFIX ) "
47- COMMON_ARGS += --build-arg=TOOLS="$(TOOLS ) "
48- COMMON_ARGS += --build-arg=TOOLS_PREFIX="$(TOOLS_PREFIX ) "
49+ COMMON_ARGS += $(BUILD_ARGS )
4950
5051# extra variables
5152
5253EXTENSIONS_IMAGE_REF ?= $(REGISTRY_AND_USERNAME ) /extensions:$(TAG )
53- PKGS ?= v1.10.0-34-g88700c7
54+ PKGS ?= v1.10.0-37-g71b336d
5455PKGS_PREFIX ?= ghcr.io/siderolabs
55- TOOLS ?= v1.10.0-6-g306d9d9
56+ TOOLS ?= v1.10.0-7-g39357c8
5657TOOLS_PREFIX ?= ghcr.io/siderolabs
5758
5859# targets defines all the available targets
@@ -199,19 +200,24 @@ reproducibility-test-local-%: ## Builds the specified target defined in the Pkg
199200 @diffoscope $(ARTIFACTS ) /build-a $(ARTIFACTS ) /build-b
200201 @rm -rf $(ARTIFACTS ) /build-a $(ARTIFACTS ) /build-b
201202
203+ $(ARTIFACTS ) /bldr : $(ARTIFACTS ) # # Downloads bldr binary.
204+ @curl -sSL https://github.com/siderolabs/bldr/releases/download/$(BLDR_RELEASE ) /bldr-$(OPERATING_SYSTEM ) -$(GOARCH ) -o $(ARTIFACTS ) /bldr
205+ @chmod +x $(ARTIFACTS ) /bldr
206+
207+ .PHONY : update-checksums
208+ update-checksums : $(ARTIFACTS ) /bldr # # Updates the checksums in the Pkgfile/vars.yaml based on the changed version variables.
209+ @git diff -U0 | $(ARTIFACTS ) /bldr update
210+
202211nonfree : $(NONFREE_TARGETS ) # # Builds all nonfree targets defined.
203212
204213.PHONY : $(TARGETS ) $(NONFREE_TARGETS )
205214$(TARGETS ) $(NONFREE_TARGETS ) : $(ARTIFACTS ) /bldr
206215 @$(MAKE ) docker-$@ TARGET_ARGS=" --tag=$( REGISTRY) /$( USERNAME) /$@ :$( shell $( ARTIFACTS) /bldr eval --target $@ --build-arg TAG=$( TAG) ' {{.VERSION}}' 2> /dev/null) --push=$( PUSH) "
207216
208- $(ARTIFACTS ) /bldr : $(ARTIFACTS ) # # Downloads bldr binary.
209- @curl -sSL https://github.com/siderolabs/bldr/releases/download/$(BLDR_RELEASE ) /bldr-$(OPERATING_SYSTEM ) -$(GOARCH ) -o $(ARTIFACTS ) /bldr
210- @chmod +x $(ARTIFACTS ) /bldr
211-
212- .PHONY : deps.png
213- deps.png : # # Generates a dependency graph of the Pkgfile.
214- @$(BLDR ) graph | dot -Tpng -o deps.png
217+ .PHONY : deps.svg
218+ deps.svg : # # Generates a dependency graph of the Pkgfile.
219+ @rm -f deps.png
220+ @$(BLDR ) graph $(BUILD_ARGS ) | dot -Tsvg -o deps.svg
215221
216222.PHONY : extensions
217223extensions : internal/extensions/descriptions.yaml
0 commit comments