From e75dd964ecc93674ca52645d737c99d10b0e485b Mon Sep 17 00:00:00 2001 From: zyb Date: Sat, 20 Jul 2024 04:20:22 +0800 Subject: [PATCH] modified: .github/workflows/mikrotik_patch_6.yml --- .github/workflows/mikrotik_patch_6.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mikrotik_patch_6.yml b/.github/workflows/mikrotik_patch_6.yml index 7e65916..ae8e582 100644 --- a/.github/workflows/mikrotik_patch_6.yml +++ b/.github/workflows/mikrotik_patch_6.yml @@ -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