Skip to content

Commit 9f993d0

Browse files
fix Exec format error in multiarch build
without binfmt-support chroot fails - add binfmt as dependencie
1 parent 86cc966 commit 9f993d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugins/envsetup

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,11 @@ arch_translate() {
252252
do_second_stage() {
253253
chroot_dir=$1
254254
local arch=$2
255+
256+
dpkg_depends_on "binfmt-support"
257+
255258
do_qemu_user_emulation
259+
$SUDO service binfmt-support start
256260
do_chroot_ae "$chroot_dir" /bin/bash /debootstrap/debootstrap --second-stage
257261
}
258262

0 commit comments

Comments
 (0)