abuild-rootbld: copy SRCDEST value from host to chroot

Otherwise the default hardcoded in abuild-fetch (var/cache/distfiles) is
used.

(in the same vein as 6864df03aa)

Fixes: 1582617 ("abuild-rootbld: clear environment for bwrap container")
This commit is contained in:
Piraty 2024-04-26 00:20:25 +02:00
parent 68d6aa65f4
commit a45d12d4c3
No known key found for this signature in database
GPG Key ID: 82F2CC796BD07077
1 changed files with 1 additions and 0 deletions

View File

@ -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"} \