mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-07 14:35:48 +01:00
Update extract.py
This commit is contained in:
@@ -135,7 +135,8 @@ def NEOBootMainEx(source, target, CopyFiles, CopyKernel, TvList, LanWlan, Sterow
|
|||||||
|
|
||||||
if CopyKernel == 'True':
|
if CopyKernel == 'True':
|
||||||
#mips vuplus
|
#mips vuplus
|
||||||
if getBoxHostName() == 'vuultimo' or getCPUSoC() == '7405' and os.path.exists('%s/ImageBoot/%s/etc/vtiversion.info' % (media, target)):
|
if fileExists('/gutosie'):
|
||||||
|
#if getBoxHostName() == 'vuultimo' or getCPUSoC() == '7405' and os.path.exists('%s/ImageBoot/%s/etc/vtiversion.info' % (media, target)):
|
||||||
if os.path.exists('%s/ImageBoot/%s/lib/modules' % (media, target)):
|
if os.path.exists('%s/ImageBoot/%s/lib/modules' % (media, target)):
|
||||||
cmd = 'rm -r %s/ImageBoot/%s/lib/modules' % (media, target)
|
cmd = 'rm -r %s/ImageBoot/%s/lib/modules' % (media, target)
|
||||||
rc = os.system(cmd)
|
rc = os.system(cmd)
|
||||||
@@ -151,7 +152,8 @@ def NEOBootMainEx(source, target, CopyFiles, CopyKernel, TvList, LanWlan, Sterow
|
|||||||
cmd = 'cp -af /lib/firmware %s/ImageBoot/%s/lib > /dev/null 2>&1' % (media, target)
|
cmd = 'cp -af /lib/firmware %s/ImageBoot/%s/lib > /dev/null 2>&1' % (media, target)
|
||||||
rc = os.system(cmd)
|
rc = os.system(cmd)
|
||||||
os.system('echo "Copied system drivers. Not recommended copied kernel.bin for Ultimo HD."')
|
os.system('echo "Copied system drivers. Not recommended copied kernel.bin for Ultimo HD."')
|
||||||
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':
|
if fileExists('/gutosie'):
|
||||||
|
#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('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"')
|
os.system('echo "Copied kernel.bin STB-MIPS"')
|
||||||
#arm vuplus arms
|
#arm vuplus arms
|
||||||
|
|||||||
Reference in New Issue
Block a user