Makefile.inc1: attempt to fix pkgbase building

After b44147bb12 there is no dependence
relationshop between create-packages and real-update-packages, which
results on the package building cluster in a race condition
real-update-packages tries to open a package which is being created by
the create-packages target and make the whole build fail.

Ensure create-packages and real-update-packages is sequential
This commit is contained in:
Baptiste Daroussin
2025-06-16 13:20:47 +02:00
parent 2a05d577ab
commit 968e6d3855
+1 -1
View File
@@ -2048,7 +2048,7 @@ package-pkg: .PHONY
real-packages: stage-packages create-packages sign-packages .PHONY
real-update-packages: .PHONY
real-update-packages: .PHONY create-packages
.if defined(PKG_VERSION_FROM_DIR)
@echo "==> Checking for new packages (comparing ${PKG_VERSION} to ${PKG_VERSION_FROM})"
@for pkg in ${PKG_VERSION_FROM_DIR}/${PKG_NAME_PREFIX}-*; do \