Update QEMU and restart binfmt-support

This commit is contained in:
ck
2024-02-05 11:22:39 -05:00
parent 333804c3bb
commit 502e856934

View File

@ -48,22 +48,23 @@ jobs:
sudo apt-get update && sudo apt-get install -y libdbus-1-dev curl unzip gettext qemu-utils qemu qemu-user-static binfmt-support sudo apt-get update && sudo apt-get install -y libdbus-1-dev curl unzip gettext qemu-utils qemu qemu-user-static binfmt-support
pip install -r requirements.txt pip install -r requirements.txt
- name: Update QEMU # - name: Update QEMU
run: | # run: |
sudo update-binfmts --enable qemu-arm # sudo update-binfmts --enable qemu-arm
sudo update-binfmts --enable qemu-aarch64 # sudo update-binfmts --enable qemu-aarch64
- name: Restart binfmt-support # - name: Restart binfmt-support
run: sudo service binfmt-support restart # run: sudo service binfmt-support restart
- name: Mount binfmt_misc - name: Mount binfmt_misc
run: | run: |
if ! grep -qs '/proc/sys/fs/binfmt_misc ' /proc/mounts; then if ! grep -qs '/proc/sys/fs/binfmt_misc ' /proc/mounts; then
echo "Mounting binfmt_misc"
sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
fi fi
- name: Restart binfmt-support # - name: Restart binfmt-support
run: sudo service binfmt-support restart # run: sudo service binfmt-support restart
- name: Update Languages - name: Update Languages
run: make update_langs run: make update_langs