Add files via upload

This commit is contained in:
gutosie
2021-12-29 00:06:42 +02:00
committed by GitHub
parent a277e2e15d
commit b0c0a6cf3f

View File

@@ -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'):