mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2026-09-05 06:51:06 +00:00
modified: .github/workflows/mikrotik_patch_7.yml
modified: patch.py
This commit is contained in:
3
patch.py
3
patch.py
@@ -283,7 +283,8 @@ def patch_kernel(data:bytes,key_dict):
|
||||
|
||||
def patch_loader(loader_file):
|
||||
try:
|
||||
print("loader patch exists:", os.path.exists('loader/patch_loader.py'))
|
||||
from package import check_install_package
|
||||
check_install_package(['elftools'])
|
||||
from loader.patch_loader import patch_loader as do_patch_loader
|
||||
arch = os.getenv('ARCH','x86')
|
||||
if arch != 'x86':
|
||||
|
||||
Reference in New Issue
Block a user