modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-06-20 13:34:23 +08:00
parent 5775cfee71
commit 2d33262acd

View File

@ -183,8 +183,8 @@ jobs:
sudo qemu-nbd -c /dev/nbd0 chr-$LATEST_VERSION.qcow2 sudo qemu-nbd -c /dev/nbd0 chr-$LATEST_VERSION.qcow2
sudo qemu-nbd -c /dev/nbd1 chr-$LATEST_VERSION-efi.qcow2 sudo qemu-nbd -c /dev/nbd1 chr-$LATEST_VERSION-efi.qcow2
sudo mkfs -t fat /dev/nbd1p1 sudo mkfs -t fat /dev/nbd1p1
sudo mkdir ./boot/bios sudo mkdir -p ./boot/bios
sudo mkdir ./boot/efi sudo mkdir -p ./boot/efi
sudo mount /dev/nbd0p1 ./boot/bios sudo mount /dev/nbd0p1 ./boot/bios
sudo mount /dev/nbd1p1 ./boot/efi sudo mount /dev/nbd1p1 ./boot/efi
sudo rsync -a ./boot/bios ./boot/efi sudo rsync -a ./boot/bios ./boot/efi