modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-06-18 23:48:18 +08:00
parent 80eeeb289d
commit 7b8a33268b

View file

@ -159,7 +159,8 @@ jobs:
- name: Patch chr-${{ env.LATEST_VERSION }}.img
run: |
sudo apt -y install qemu-utils 2> /dev/null
sudo modprobe nbd
sudo apt -y install qemu-utils debugfs 2> /dev/null
sudo qemu-img convert -f raw -O qcow2 chr-$LATEST_VERSION.img chr-$LATEST_VERSION.qcow2
sudo rm chr-$LATEST_VERSION.img.zip
sudo rm chr-$LATEST_VERSION.img