modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-06-24 03:37:10 +08:00
parent 50bfe747e3
commit 8345f36d9b

View File

@ -162,6 +162,7 @@ jobs:
sgdisk --clear --set-alignment=2 \
--new=1::+32M --typecode=1:8300 --change-name=1:"RouterOS Boot" --attributes=1:set:2 \
--new=2::-0 --typecode=2:8300 --change-name=2:"RouterOS" \
--gpttombr=1:2 \
chr-$LATEST_VERSION.img
dd if=chr-$LATEST_VERSION.img of=pt.bin bs=1 count=66 skip=446
echo -e "\x80" | dd of=pt.bin bs=1 count=1 conv=notrunc