diff --git a/NeoBoot/extract.py b/NeoBoot/extract.py index 715a822..b27d7e8 100644 --- a/NeoBoot/extract.py +++ b/NeoBoot/extract.py @@ -154,6 +154,10 @@ def NEOBootMainEx(source, target, CopyFiles, CopyKernel, TvList, LanWlan, Sterow elif getCPUtype() == "MIPS" and getBoxHostName() == 'vuultimo' or getBoxHostName() == 'bm750' or getBoxHostName() == 'vuduo' or getBoxHostName() == 'vuuno' or getBoxHostName() == 'vusolo' or getBoxHostName() == 'vuduo' or getBoxHostName() == 'vusolo2' or getBoxHostName() == 'vusolose' or getBoxHostName() == 'vuduo2' or getBoxHostName() == 'vuzero' or getBoxHostName() == 'mbultra': os.system('mv ' + getNeoLocation() + 'ImagesUpload/vuplus/' + getBoxVuModel() + '/kernel_cfe_auto.bin ' + media_target + '/boot/' + getBoxHostName() + '.vmlinux.gz' + dev_null) os.system('echo "Copied kernel.bin STB-MIPS"') + + elif getCPUtype() == "MIPS" and getBoxHostName() == 'et5x00' : + os.system('mv ' + getNeoLocation() + 'ImagesUpload/' + getBoxHostName() + '/kernel.bin ' + media_target + '/boot/' + getBoxHostName() + '.vmlinux.gz' + dev_null) + os.system('echo "Copied kernel.bin STB-MIPS Clarke-Tech & Xtrend"') #arm vuplus arms elif getCPUtype() == "ARMv7" and getBoxHostName() == "vuultimo4k" or getBoxHostName() == "vusolo4k" or getBoxHostName() == "vuuno4k" or getBoxHostName() == "vuuno4kse" or getBoxHostName() == "vuduo4k" or getBoxHostName() == "vuduo4kse" or getBoxHostName() == "vuzero4k": os.system('mv ' + getNeoLocation() + 'ImagesUpload/vuplus/' + getBoxVuModel() + '/kernel_auto.bin ' + media_target + '/boot/zImage.' + getBoxHostName() + '' + dev_null) @@ -703,8 +707,10 @@ def RemoveUnpackDirs(): rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/osmini') elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/xp1000 '): rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/xp1000 ') - elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/et5x00 '): + + elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/et5x00'): rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/et5x00 ') + elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/dinobot '): rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/dinobot ') elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/e2/update'):