mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 13:35:09 +03:00
modified: .github/workflows/mikrotik_patch.yml
This commit is contained in:
parent
dbd7c03276
commit
179bdea244
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…
Reference in New Issue
Block a user