mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 13:35:09 +03:00
modified: .github/workflows/mikrotik_patch.yml
modified: patch.py
This commit is contained in:
parent
505887e8f3
commit
049c4b91e5
8
.github/workflows/mikrotik_patch.yml
vendored
8
.github/workflows/mikrotik_patch.yml
vendored
@ -152,6 +152,9 @@ jobs:
|
|||||||
-no-emul-boot \
|
-no-emul-boot \
|
||||||
-R -J \
|
-R -J \
|
||||||
./new_iso
|
./new_iso
|
||||||
|
cd ./new_iso
|
||||||
|
sudo zip ../all_packages-x86-$LATEST_VERSION.zip *.npk
|
||||||
|
cd ..
|
||||||
sudo rm -rf ./new_iso
|
sudo rm -rf ./new_iso
|
||||||
|
|
||||||
- name: Create chr-${{ env.LATEST_VERSION }}.img
|
- name: Create chr-${{ env.LATEST_VERSION }}.img
|
||||||
@ -275,4 +278,7 @@ jobs:
|
|||||||
mikrotik-${{ env.LATEST_VERSION }}.iso
|
mikrotik-${{ env.LATEST_VERSION }}.iso
|
||||||
chr-${{ env.LATEST_VERSION }}*.zip
|
chr-${{ env.LATEST_VERSION }}*.zip
|
||||||
netinstall-${{ env.LATEST_VERSION }}.zip
|
netinstall-${{ env.LATEST_VERSION }}.zip
|
||||||
install-image-${{ env.LATEST_VERSION }}.zip
|
install-image-${{ env.LATEST_VERSION }}.zip
|
||||||
|
routeros-$LATEST_VERSION.npk
|
||||||
|
option-$LATEST_VERSION.npk
|
||||||
|
all_packages-x86-$LATEST_VERSION.zip
|
1
patch.py
1
patch.py
@ -45,7 +45,6 @@ def run_shell_command(command):
|
|||||||
process = subprocess.run(command, shell=True, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
process = subprocess.run(command, shell=True, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
return process.stdout, process.stderr
|
return process.stdout, process.stderr
|
||||||
|
|
||||||
|
|
||||||
def patch_squashfs(path,key_dict):
|
def patch_squashfs(path,key_dict):
|
||||||
for root, dirs, files in os.walk(path):
|
for root, dirs, files in os.walk(path):
|
||||||
for file in files:
|
for file in files:
|
||||||
|
Loading…
Reference in New Issue
Block a user