mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 05:25:00 +03:00
Update mikrotik_patch_7.yml
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
38b73158f4
commit
cb0310bbcd
4
.github/workflows/mikrotik_patch_7.yml
vendored
4
.github/workflows/mikrotik_patch_7.yml
vendored
@ -331,10 +331,10 @@ jobs:
|
||||
sudo mount /dev/nbd0p1 ./img/boot/
|
||||
if [ "${{ matrix.arch }}" == "x86" ]; then
|
||||
sudo cp chr.img chr-$LATEST_VERSION$ARCH-legacy-bios.img
|
||||
sudo qemu-nbd -c /dev/nbd1 -f raw chr-$LATEST_VERSION$ARCH.img
|
||||
sudo qemu-nbd -c /dev/nbd1 -f raw chr-$LATEST_VERSION$ARCH-legacy-bios.img
|
||||
sudo -E python3 patch.py block /dev/nbd1p1 EFI/BOOT/BOOTX64.EFI
|
||||
sudo mkdir -p ./chr/{boot,routeros}
|
||||
sudo mount /dev/nbd1p1 ./chr/boot/
|
||||
sudo -E python3 patch.py block /dev/nbd1p1 EFI/BOOT/BOOTX64.EFI
|
||||
sudo mkdir -p ./img/boot/EFI/BOOT
|
||||
sudo cp ./chr/boot/EFI/BOOT/BOOTX64.EFI ./img/boot/EFI/BOOT/BOOTX64.EFI
|
||||
sudo umount /dev/nbd1p1
|
||||
|
Loading…
Reference in New Issue
Block a user