mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 05:25:00 +03:00
modified: .github/workflows/mikrotik_patch_6.yml
This commit is contained in:
parent
00e7b98620
commit
e75dd964ec
6
.github/workflows/mikrotik_patch_6.yml
vendored
6
.github/workflows/mikrotik_patch_6.yml
vendored
@ -178,10 +178,8 @@ jobs:
|
||||
sudo qemu-nbd -c /dev/nbd0 -f raw chr-$LATEST_VERSION.img
|
||||
sudo -E python3 patch.py block /dev/nbd0p1 boot/initrd.rgz
|
||||
sudo mount /dev/nbd0p1 ./chr
|
||||
sudo rm ./chr/var/pdb/dude/image
|
||||
sudo cp ./all_packages/dude-$LATEST_VERSION.npk ./chr/var/pdb/dude/image
|
||||
sudo rm ./chr/var/pdb/routeros-x86/image
|
||||
sudo cp ./all_packages/system-$LATEST_VERSION.npk ./chr/var/pdb/routeros-x86/image
|
||||
sudo -E python3 patch.py npk ./chr/var/pdb/dude/image
|
||||
sudo -E python3 patch.py npk ./chr/var/pdb/routeros-x86/image
|
||||
sudo umount ./chr
|
||||
sudo qemu-nbd -d /dev/nbd0
|
||||
sudo rm -rf ./chr
|
||||
|
Loading…
Reference in New Issue
Block a user