Skip to content

Commit f58b335

Browse files
fix: add check for debootstrap secondstage
1 parent 52773d9 commit f58b335

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugins/envsetup

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,9 @@ do_build() {
349349
lshout "Skipping second stage for termux"
350350
arch_translate "$arch"
351351
else
352-
do_second_stage "$target_dir" "$arch"
352+
if $foreign_worker; then
353+
do_second_stage "$target_dir" "$arch"
354+
fi
353355
fi
354356

355357
if [ "$ENABLE_USER_SETUP" == "true" ]; then

0 commit comments

Comments
 (0)