fix solose - unpacking image

This commit is contained in:
gutosie
2021-04-12 21:06:52 +03:00
committed by GitHub
parent 76af32e13d
commit eca520c472

View File

@@ -1103,6 +1103,10 @@ def NEOBootExtract(source, target, ZipDelete):
os.chdir('solo')
os.system('mv -f root_cfe_auto.jffs2 rootfs.bin')
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/vuplus/solose'):
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/vuplus/solose/root_cfe_auto.bin'):
os.chdir('solose')
os.system('mv -f root_cfe_auto.bin rootfs.bin')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/vuplus/solose/root_cfe_auto.jffs2'):
os.chdir('solose')
os.system('mv -f root_cfe_auto.jffs2 rootfs.bin')
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/vuplus/ultimo'):