modified: .github/workflows/mikrotik_patch_6.yml

This commit is contained in:
zyb 2024-07-20 04:20:22 +08:00
parent 00e7b98620
commit e75dd964ec

View File

@ -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