From 236b493aa21ad1ee7fede1c1d8bb2a173b4fd6d9 Mon Sep 17 00:00:00 2001 From: gutosie Date: Sun, 2 Jan 2022 15:28:55 +0200 Subject: [PATCH] Update vu_mtd2_run.py --- NeoBoot/tmpfiles/runpy/vu_mtd2_run.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NeoBoot/tmpfiles/runpy/vu_mtd2_run.py b/NeoBoot/tmpfiles/runpy/vu_mtd2_run.py index ebed472..12b62d3 100644 --- a/NeoBoot/tmpfiles/runpy/vu_mtd2_run.py +++ b/NeoBoot/tmpfiles/runpy/vu_mtd2_run.py @@ -117,8 +117,9 @@ class StartImage(Screen): #VUPLUS MIPS vu_dev_mtd2.sh if getBoxHostName() == 'vusolo2' or getBoxHostName() == 'vusolose' or getBoxHostName() == 'vuduo2' or getBoxHostName() == 'vuzero': - if not fileExists('%sImagesUpload/.kernel/%s.vmlinux.gz' % (getNeoLocation(), getBoxHostName())): - self.myclose2(_('Error - in the location %sImagesUpload/.kernel/ \nkernel file not found flash kernel vmlinux.gz ' % getNeoLocation())) + if getCPUtype() != 'MIPS' + if not fileExists('%sImagesUpload/.kernel/%s.vmlinux.gz' % (getNeoLocation(), getBoxHostName())): + self.myclose2(_('Error - in the location %sImagesUpload/.kernel/ \nkernel file not found flash kernel vmlinux.gz ' % getNeoLocation())) else: if getImageNeoBoot() == 'Flash': if fileExists('/.multinfo'):