mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update QEMU and restart binfmt-support
This commit is contained in:
17
.github/workflows/publish.yml
vendored
17
.github/workflows/publish.yml
vendored
@ -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
|
||||
pip install -r requirements.txt
|
||||
|
||||
- name: Update QEMU
|
||||
run: |
|
||||
sudo update-binfmts --enable qemu-arm
|
||||
sudo update-binfmts --enable qemu-aarch64
|
||||
# - name: Update QEMU
|
||||
# run: |
|
||||
# sudo update-binfmts --enable qemu-arm
|
||||
# sudo update-binfmts --enable qemu-aarch64
|
||||
|
||||
- name: Restart binfmt-support
|
||||
run: sudo service binfmt-support restart
|
||||
# - name: Restart binfmt-support
|
||||
# run: sudo service binfmt-support restart
|
||||
|
||||
- name: Mount binfmt_misc
|
||||
run: |
|
||||
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
|
||||
fi
|
||||
|
||||
- name: Restart binfmt-support
|
||||
run: sudo service binfmt-support restart
|
||||
# - name: Restart binfmt-support
|
||||
# run: sudo service binfmt-support restart
|
||||
|
||||
- name: Update Languages
|
||||
run: make update_langs
|
||||
|
Reference in New Issue
Block a user