diff --git a/.github/workflows/mikrotik_patch.yml b/.github/workflows/mikrotik_patch.yml index 46eead3..2c4c19e 100644 --- a/.github/workflows/mikrotik_patch.yml +++ b/.github/workflows/mikrotik_patch.yml @@ -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