mirror of
https://huihui.cat/mirrors/MikroTikPatch.git
synced 2025-12-10 03:24:37 +01:00
modified: .github/workflows/mikrotik_patch.yml
This commit is contained in:
parent
dbd7c03276
commit
179bdea244
1 changed files with 2 additions and 2 deletions
4
.github/workflows/mikrotik_patch.yml
vendored
4
.github/workflows/mikrotik_patch.yml
vendored
|
|
@ -180,7 +180,7 @@ jobs:
|
|||
-e 's/43485300454444/00485300004444/g' | xxd -p -r >extlinux
|
||||
sudo chmod +x extlinux
|
||||
|
||||
truncate --size 128M install-image-$LATEST_VERSION.img
|
||||
truncate --size 256M install-image-$LATEST_VERSION.img
|
||||
sudo qemu-nbd -c /dev/nbd0 -f raw install-image-$LATEST_VERSION.img
|
||||
sudo mkfs.vfat -n "Install" /dev/nbd0
|
||||
sudo mkdir ./install
|
||||
|
|
@ -217,7 +217,7 @@ jobs:
|
|||
- name: Create chr-${{ env.LATEST_VERSION }}.img
|
||||
run: |
|
||||
|
||||
truncate --size 128M chr-$LATEST_VERSION.img
|
||||
truncate --size 256M chr-$LATEST_VERSION.img
|
||||
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" \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue