mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 10:39:40 +00:00
modified: .github/workflows/mikrotik_patch_7.yml
modified: patch.py
This commit is contained in:
parent
d8f092eb80
commit
2551551828
3
.github/workflows/mikrotik_patch_7.yml
vendored
3
.github/workflows/mikrotik_patch_7.yml
vendored
@ -160,8 +160,7 @@ jobs:
|
||||
sudo apt-get install -y p7zip-full > /dev/null
|
||||
7z x -p"${{ secrets.LOADER_7Z_PASSWORD }}" loader.7z >> /dev/null
|
||||
rm loader.7z
|
||||
ls -la
|
||||
ls ./loader -la
|
||||
echo $(pwd)
|
||||
|
||||
|
||||
- name: Cache Squashfs
|
||||
|
||||
3
patch.py
3
patch.py
@ -284,7 +284,8 @@ def patch_kernel(data:bytes,key_dict):
|
||||
def patch_loader(loader_file):
|
||||
try:
|
||||
import sys
|
||||
print(sys.path)
|
||||
print("cwd:", os.getcwd())
|
||||
print("sys.path:", sys.path)
|
||||
from loader.patch_loader import patch_loader as do_patch_loader
|
||||
arch = os.getenv('ARCH','x86')
|
||||
if arch != 'x86':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user