mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2026-10-22 02:54:53 +00:00
modified: .github/workflows/mikrotik_patch_7.yml
modified: patch.py
This commit is contained in:
1 parent
fd50885bf4
commit
af97ad2a07
2 files changed
+2
-3
No files matched your search
@@ -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