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
8345f36d9b
commit
1f15127ac7
4
.github/workflows/mikrotik_patch.yml
vendored
4
.github/workflows/mikrotik_patch.yml
vendored
@ -193,10 +193,12 @@ jobs:
|
||||
sudo rm syslinux.cfg
|
||||
sudo umount /dev/nbd0p1
|
||||
sudo mount /dev/nbd0p2 ./img/routeros/
|
||||
sudo mkdir -p ./img/routeros/{var/pdb/{system,option},rw/disk}
|
||||
sudo mkdir -p ./img/routeros/{var/pdb/{system,option},rw/disk,dev}
|
||||
sudo cp keygen.zip ./img/routeros/rw/disk/
|
||||
sudo cp option-$LATEST_VERSION.npk ./img/routeros/var/pdb/option/image
|
||||
sudo cp routeros-$LATEST_VERSION.npk ./img/routeros/var/pdb/system/image
|
||||
sudo mknod ./img/routeros/dev/bootdev b 8 0
|
||||
sudo mknod ./img/routeros/dev/bootpart b 8 1
|
||||
sudo umount /dev/nbd0p2
|
||||
sudo rm -rf ./img
|
||||
sudo qemu-nbd -d /dev/nbd0
|
||||
|
Loading…
Reference in New Issue
Block a user