abuild: also set CARCH for rootbld root

otherwise it's set to the default host one, and things that use CARCH in rootbld see the wrong one
This commit is contained in:
psykose 2023-05-26 21:19:28 +00:00
parent fc2f1d628a
commit b99565a722
1 changed files with 1 additions and 0 deletions

View File

@ -2549,6 +2549,7 @@ rootbld() {
--hostname "build-$buildhost-$CARCH" \
--chdir "$startdir" \
--clearenv \
--setenv CARCH "$CARCH" \
--setenv HOME "$HOME" \
--setenv REPODEST "$REPODEST" \
${ABUILD_BOOTSTRAP:+--setenv ABUILD_BOOTSTRAP "$ABUILD_BOOTSTRAP"} \