From a45d12d4c31413bbbfabd2cb6949e369e78ab806 Mon Sep 17 00:00:00 2001 From: Piraty Date: Fri, 26 Apr 2024 00:20:25 +0200 Subject: [PATCH] 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 6864df03aa9bfa1cadc996ab562f1289680ae2be) Fixes: 1582617 ("abuild-rootbld: clear environment for bwrap container") --- abuild.in | 1 + 1 file changed, 1 insertion(+) 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"} \