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
|
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
|
||||||
|
Reference in New Issue
Block a user