From 68cdff4dd9add887a1af842fba9ea1c2572a2060 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Thu, 1 Dec 2022 11:29:11 +0100 Subject: [PATCH] Set home to /root when running build time services This change follows what we did for the post build checks in commit ae0536347690552b78f946e7d522b0d3251eb4e4. Fixes #901 --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index d1ceee4f1..cec45e2bb 100755 --- a/build +++ b/build @@ -1799,7 +1799,7 @@ for RECIPEPATH in "${RECIPEFILES[@]}" ; do if test -e _service; then echo "Running build time source services..." - $BUILD_DIR/runservices --buildroot "$BUILD_ROOT" || cleanup_and_exit 1 + HOME=/root $BUILD_DIR/runservices --buildroot "$BUILD_ROOT" || cleanup_and_exit 1 fi # get rid of old src dir, it is no longer needed and just wastes space