mirror of
https://mojerepo.cf/NeoBoot/NeoBoot-9.git
synced 2025-10-27 00:16:12 +01:00
Udate 8.20 add h9combo
This commit is contained in:
@@ -665,6 +665,11 @@ def RemoveUnpackDirs():
|
||||
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h9'):
|
||||
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/bootargs.bin ' + getNeoLocation() + 'ImagesUpload/h9; mv ' + getNeoLocation() + 'ImagesUpload/fastboot.bin ' + getNeoLocation() + 'ImagesUpload/h9')
|
||||
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h9')
|
||||
|
||||
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h9combo'):
|
||||
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/force_h9combo_READ.ME ' + getNeoLocation() + 'ImagesUpload/h9combo; mv ' + getNeoLocation() + 'ImagesUpload/unforce_h9combo.txt ' + getNeoLocation() + 'ImagesUpload/h9combo')
|
||||
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h9combo')
|
||||
|
||||
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/uclan'):
|
||||
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/usb_update.bin ' + getNeoLocation() + 'ImagesUpload/uclan')
|
||||
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/uclan')
|
||||
@@ -1192,6 +1197,12 @@ def NEOBootExtract(source, target, ZipDelete, BlackHole):
|
||||
os.system('echo "Please wait. System installation Zgemma H9S ."')
|
||||
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/zgemma/h9/rootfs.tar.bz2; tar -jxf ' + getNeoLocation() + 'ImagesUpload/zgemma/h9/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
|
||||
rc = os.system(cmd)
|
||||
|
||||
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h9combo/rootfs.tar.bz2'):
|
||||
os.system('echo "Please wait. System installation Zgemma h9combo ."')
|
||||
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/h9combo/rootfs.tar.bz2; tar -jxf ' + getNeoLocation() + 'ImagesUpload/h9combo/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
|
||||
rc = os.system(cmd)
|
||||
|
||||
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/miraclebox/mini4k'):
|
||||
os.system('echo "Please wait. System installation Miraclebox mini4k."')
|
||||
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/miraclebox/mini4k/rootfs.tar.bz2; tar -jxvf ' + getNeoLocation() + 'ImagesUpload/miraclebox/mini4k/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
|
||||
|
||||
@@ -529,7 +529,7 @@ class NeoBootInstallation(Screen):
|
||||
os.system('opkg install util-linux-sfdisk')
|
||||
|
||||
# ARM - OctagonSF4008 - DM900 - Zgemma h7S - Octagon sf 8008 - AX HD60 4K #gbquad4k arm , #osmio4k arm, #Zgemma h9 arm, #Zgemma h7S arm , #Octagon SF4008
|
||||
if getBoxHostName() == 'ax51' or getBoxHostName() == 'dm920' or getBoxHostName() == 'et1x000' or getBoxHostName() == 'ustym4kpro' or getTunerModel() == 'ustym4kpro' or getCPUSoC() == 'bcm7251' or getBoxHostName() == 'sf4008' or getCPUSoC() == 'bcm7251s' or getBoxHostName() == 'h7' or getCPUSoC() == 'bcm7252s' or getBoxHostName() == 'gbquad4k' or getBoxHostName == 'osmio4k' or getBoxHostName() == 'zgemmah9s' or getBoxHostName() == 'ax60' or getBoxHostName() == 'sf8008' or getCPUSoC() == 'bcm7251' or getCPUSoC() == 'BCM97252SSFF' or getBoxHostName() == 'dm900':
|
||||
if getBoxHostName() == 'ax51' or getBoxHostName() == 'dm920' or getBoxHostName() == 'et1x000' or getBoxHostName() == 'ustym4kpro' or getTunerModel() == 'ustym4kpro' or getCPUSoC() == 'bcm7251' or getBoxHostName() == 'sf4008' or getCPUSoC() == 'bcm7251s' or getBoxHostName() == 'h7' or getCPUSoC() == 'bcm7252s' or getBoxHostName() == 'gbquad4k' or getBoxHostName == 'osmio4k' or getBoxHostName() == 'zgemmah9s' or getBoxHostName() == 'h9combo' or getBoxHostName() == 'ax60' or getBoxHostName() == 'sf8008' or getCPUSoC() == 'bcm7251' or getCPUSoC() == 'BCM97252SSFF' or getBoxHostName() == 'dm900':
|
||||
os.system('cp -f ' + LinkNeoBoot + '/bin/neoinitarm /sbin/neoinitarm; chmod 0755 /sbin/neoinitarm; ln -sfn /sbin/neoinitarm /sbin/init; mv ' + LinkNeoBoot + '/target/arm_run.py ' + LinkNeoBoot + '/run.py; cd')
|
||||
|
||||
#VUPLUS ARM
|
||||
@@ -796,6 +796,10 @@ class NeoBootImageChoose(Screen):
|
||||
if os.path.exists('/proc/stb/info/boxtype'):
|
||||
if getBoxHostName() == 'zgemmah9s':
|
||||
os.system('mkdir -p /media/mmc; mount /dev/mmcblk0p7 /media/mmc')
|
||||
|
||||
if os.path.exists('/proc/stb/info/boxtype'):
|
||||
if getBoxHostName() == 'zgemmah9combo':
|
||||
os.system('mkdir -p /media/mmc; mount /dev/mmcblk0p7 /media/mmc')
|
||||
|
||||
if getBoxHostName == 'sf8008':
|
||||
os.system('mkdir -p /media/mmc; mount /dev/mmcblk0p13 /media/mmc')
|
||||
@@ -1263,6 +1267,7 @@ class NeoBootImageChoose(Screen):
|
||||
def installation_image(self, yesno):
|
||||
if yesno:
|
||||
if getCPUSoC() or getBoxHostName() or getTunerModel() == ['zgemmah9s',
|
||||
'h9combo',
|
||||
'osmio4k',
|
||||
'bcm7252s',
|
||||
'gbquad4k',
|
||||
|
||||
Reference in New Issue
Block a user