summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiraty <mail@piraty.dev>2024-04-26 00:20:25 +0200
committerPiraty <mail@piraty.dev>2024-04-26 00:24:09 +0200
commita45d12d4c31413bbbfabd2cb6949e369e78ab806 (patch)
treee940d2e69633ee4a473f7463e82662fa54846c26
parent68d6aa65f43557de008abc7ec97856906bf5e657 (diff)
abuild-rootbld: copy SRCDEST value from host to chrootHEADmaster
Otherwise the default hardcoded in abuild-fetch (var/cache/distfiles) is used. (in the same vein as 6864df03aa9bfa1cadc996ab562f1289680ae2be) Fixes: 1582617 ("abuild-rootbld: clear environment for bwrap container")
-rw-r--r--abuild.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 0f70a4b..99000b6 100644
--- a/abuild.in
+++ b/abuild.in
@@ -2625,6 +2625,7 @@ rootbld() {
--setenv CARCH "$CARCH" \
--setenv HOME "$HOME" \
--setenv REPODEST "$REPODEST" \
+ --setenv SRCDEST "$SRCDEST" \
--setenv ABUILD_USERDIR "$ABUILD_USERDIR" \
${ABUILD_BOOTSTRAP:+--setenv ABUILD_BOOTSTRAP "$ABUILD_BOOTSTRAP"} \
${APORTS_BOOTSTRAP:+--setenv APORTS_BOOTSTRAP "$APORTS_BOOTSTRAP"} \