From 679e27ce585e7cc52f6036b8ef2f751368ded3c4 Mon Sep 17 00:00:00 2001 From: Chris Kay Date: Wed, 19 Mar 2025 15:04:47 +0000 Subject: [PATCH] build(poetry): install SP dependencies with `--no-root` Change-Id: I2981cb438be6f4569d069203b555310588db2627 Signed-off-by: Chris Kay --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e111be20a..daab00e97 100644 --- a/Makefile +++ b/Makefile @@ -1684,7 +1684,7 @@ endif #(NEED_FDT) # Add Secure Partition packages ifeq (${NEED_SP_PKG},yes) $(BUILD_PLAT)/sp_gen.mk: ${SP_MK_GEN} ${SP_LAYOUT_FILE} | $$(@D)/ - $(if $(host-poetry),$(q)poetry -q install) + $(if $(host-poetry),$(q)poetry -q install --no-root) $(q)$(if $(host-poetry),poetry run )${PYTHON} "$<" "$@" $(filter-out $<,$^) $(BUILD_PLAT) ${COT} ${SP_DTS_LIST_FRAGMENT} sp: $(DTBS) $(BUILD_PLAT)/sp_gen.mk $(SP_PKGS) $(s)echo