Skip to content

Commit

Permalink
Fix binfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wtdcode committed Dec 26, 2023
1 parent 73e8085 commit fbc1507
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ jobs:
run: |
update-binfmts --display
find /opt/binfmt -name "qemu-*" -exec bash -c 'update-binfmts --unimport {} && update-binfmts --importdir /opt/binfmt --import {}' ';'
find /opt/binfmt -name "qemu-*" -exec bash -c 'cat {} | sed -n -r -e 's/package (qemu-.*)/\1/p | xargs update-binfmts --enable' ';'
update-binfmts --display
cp $(which qemu-${{ matrix.config.qemu-arch }}-static) mnt/usr/bin/
chroot mnt/ debootstrap/debootstrap --second-stage
Expand Down

0 comments on commit fbc1507

Please sign in to comment.