[KERNEL][TEST] Only call UMKa functions on use_umka

git-svn-id: svn://kolibrios.org@9415 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Magomed Kostoev (mkostoevr) 2021-12-12 14:38:16 +00:00
parent 198f333fa3
commit 65cd85761c

View File

@ -285,6 +285,9 @@ def build_umka():
def download_umka():
if not use_umka:
return
if not os.path.exists("umka"):
if os.system("git clone https://github.com/KolibriOS/umka") != 0:
print("Couldn't clone UMKa repo")
@ -298,6 +301,9 @@ def download_umka():
def download_umka_imgs():
if not use_umka:
return
imgs = [
"fat32_test0.img",
"jfs.img",