mirror of
				https://github.com/gutosie/neoboot.git
				synced 2025-10-30 19:05:48 +01:00 
			
		
		
		
	Add files via upload
This commit is contained in:
		| @@ -557,25 +557,25 @@ class NeoBootInstallation(Screen): | ||||
|                         os.system('cp -f ' + LinkNeoBoot + '/bin/neoinitarm /sbin/neoinitarm; chmod 0755 /sbin/neoinitarm; ln -sfn /sbin/neoinitarm /sbin/init; mv ' + LinkNeoBoot + '/tmpfiles/runpy/arm_run.py ' + LinkNeoBoot + '/run.py; cd')                                                                           | ||||
|             #VUPLUS ARM | ||||
|             elif getCPUtype() == "ARMv7" and getBoxHostName() !=  "ustym4kpro": | ||||
|                 if getCPUSoC() == "7278" and getBoxHostName() == "vuduo4k": | ||||
|                 if getBoxHostName() == "vuduo4k": | ||||
|                         os.system('cd ' + LinkNeoBoot + '/' ) | ||||
|                         os.system('cp -Rf ' + LinkNeoBoot + '/bin/neoinitarm /sbin/neoinitarm; cp -Rf ' + LinkNeoBoot + '/bin/neoinitarmvuDuo4k /sbin/neoinitarmvu; mv ' + LinkNeoBoot + '/tmpfiles/runpy/duo4k_run.py ' + LinkNeoBoot + '/run.py; cd')   | ||||
|                         os.system('chmod 755 /sbin/neoinitarm; chmod 755 /sbin/neoinitarmvu')                   | ||||
|                         os.system('dd if=/dev/mmcblk0p6 of=%sImagesUpload/.kernel/flash-kernel-%s.bin' % (getNeoLocation(), getBoxHostName())) | ||||
|                         os.system('dd if=/dev/mmcblk0p6 of=%sImagesUpload/.kernel/flash-kernel-%s.bin' % (getNeoLocation(), getBoxHostName()) ) | ||||
|                         os.system('mv ' + LinkNeoBoot + '/tmpfiles/target/vuDuo4Kmmcblk0p6.sh ' + LinkNeoBoot + '/files/kernel.sh; cd')                          | ||||
|  | ||||
|                 elif getBoxHostName() == "vuduo4kse"  and getBoxHostName() !=  "vuultimo4k": | ||||
|                         os.system('cd ' + LinkNeoBoot + '/' ) | ||||
|                         os.system('cp -Rf ' + LinkNeoBoot + '/bin/neoinitarm /sbin/neoinitarm; cp -Rf ' + LinkNeoBoot + '/bin/neoinitarmvuDuo4k /sbin/neoinitarmvu; mv ' + LinkNeoBoot + '/tmpfiles/runpy/duo4kse_run.py ' + LinkNeoBoot + '/run.py; cd')   | ||||
|                         os.system('chmod 755 /sbin/neoinitarm; chmod 755 /sbin/neoinitarmvu')                   | ||||
|                         os.system('dd if=/dev/mmcblk0p6 of=%sImagesUpload/.kernel/flash-kernel-%s.bin' % (getNeoLocation(), getBoxHostName())) | ||||
|                         os.system('dd if=/dev/mmcblk0p6 of=%sImagesUpload/.kernel/flash-kernel-%s.bin' % (getNeoLocation(), getBoxHostName()) ) | ||||
|                         os.system('mv ' + LinkNeoBoot + '/tmpfiles/target/vuDuo4Ksemmcblk0p6.sh ' + LinkNeoBoot + '/files/kernel.sh; cd')  | ||||
|  | ||||
|                 elif getCPUSoC() == "72604" and getBoxHostName() == "vuzero4k":      | ||||
|                 elif getBoxHostName() == "vuzero4k":      | ||||
|                         os.system('cd ' + LinkNeoBoot + '/' ) | ||||
|                         os.system('cp -Rf ' + LinkNeoBoot + '/bin/neoinitarm /sbin/neoinitarm; cp -Rf ' + LinkNeoBoot + '/bin/neoinitarmvu /sbin/neoinitarmvu; cd')   | ||||
|                         os.system('chmod 755 /sbin/neoinitarm; chmod 755 /sbin/neoinitarmvu') | ||||
|                         os.system('dd if=/dev/mmcblk0p4 of=%sImagesUpload/.kernel/flash-kernel-%s.bin' % (getNeoLocation(), getBoxHostName()))       | ||||
|                         os.system('dd if=/dev/mmcblk0p4 of=%sImagesUpload/.kernel/flash-kernel-%s.bin' % (getNeoLocation(), getBoxHostName()) )       | ||||
|                         os.system('mv ' + LinkNeoBoot + '/tmpfiles/target/vuZero4Kmmcblk0p4.sh ' + LinkNeoBoot + '/files/kernel.sh; mv ' + LinkNeoBoot + '/tmpfiles/runpy/zero4k_run.py ' + LinkNeoBoot + '/run.py; rm -f ' + LinkNeoBoot + '/bin/neoinitarmvuDuo4k; cd')                          | ||||
|                                                                                                                                                                                                                                                                                                                                                                                           | ||||
|                 elif getBoxHostName() == "vuultimo4k" or getBoxHostName() == "vusolo4k" or getBoxHostName() == "vuuno4k" or getBoxHostName() == "vuuno4kse" : | ||||
|   | ||||
		Reference in New Issue
	
	Block a user