fix(docs): install poetry dependencies without root
Use the --no-root flag when running `poetry install` to avoid
installing the current project as a package, (using Poetry in for
dependency management mode).
Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
Change-Id: I6bea41f81fed1fb228ef213d409ef018798ac915
diff --git a/script/build_package.sh b/script/build_package.sh
index fc3fc22..a3561ff 100755
--- a/script/build_package.sh
+++ b/script/build_package.sh
@@ -1543,7 +1543,7 @@
fvp_tsram_size="$(get_tf_opt FVP_TRUSTED_SRAM_SIZE)"
fvp_tsram_size="${fvp_tsram_size:-256}"
- poetry -C "$tf_root" install --without docs
+ poetry -C "$tf_root" install --no-root --without docs
archive="$build_archive"
tf_build_root="$archive/build/tfa"