Skip to content

Commit

Permalink
We accidentally set SUBPACKAGES to an empty string, which breaks the …
Browse files Browse the repository at this point in the history
…"run" target in the root Makefile

- Use PROVIDERS in place of SUBPACKAGES if set
- Use REPO in place of XPKG_REG_ORGS if set

Signed-off-by: Alper Rifat Ulucinar <[email protected]>
  • Loading branch information
ulucinar committed May 29, 2024
1 parent fd398ae commit bad3d66
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,11 @@ DEP_CONSTRAINT ?= >= 0.0.0
ifeq (-,$(findstring -,$(VERSION)))
DEP_CONSTRAINT = >= 0.0.0-0
endif
# Define SUBPACKAGES variable and set its value from PROVIDERS
SUBPACKAGES := $(PROVIDERS)
# Define XPKG_REG_ORGS variable and set its value from REPO
XPKG_REG_ORGS := $(REPO)

# use PROVIDERS in place of SUBPACKAGES if set
SUBPACKAGES := $(if $(PROVIDERS),$(PROVIDERS),$(SUBPACKAGES))
# use REPO in place of XPKG_REG_ORGS if set
XPKG_REG_ORGS := $(if $(REPO),$(REPO),$(XPKG_REG_ORGS))
load-pkg: $(UP) build.all
@$(INFO) Loading the family providers into the Docker daemon: $(SUBPACKAGES)
@for p in $(PLATFORMS); do \
Expand Down

0 comments on commit bad3d66

Please sign in to comment.