7 Commits
9.03 ... 9.05

Author SHA1 Message Date
gutosie
9a733ffe1f update 9.05 add osmio4kplus 2020-09-12 18:48:59 +00:00
gutosie
49b9cf1ca1 update 9.05 2020-09-12 18:48:20 +00:00
gutosie
74efb17f9d update 9.05 2020-09-12 18:47:15 +00:00
gutosie
91b8ff9d22 9.05 update 2020-09-12 18:45:52 +00:00
gutosie
13c5421ed4 up fix 2020-08-22 17:59:36 +00:00
gutosie
a8d26cbfee 9.02 - 9.04 add copy lan-wlan 2020-08-22 15:50:28 +03:00
gutosie
3e6d4adcfe update 9.04 2020-08-22 15:49:41 +03:00
4 changed files with 22 additions and 12 deletions

View File

@@ -245,11 +245,11 @@ def NEOBootMainEx(source, target, stopenigma, CopyFiles, CopyKernel, TvList, Lan
if LanWlan == 'True':
if os.path.exists('%s/ImageBoot/%s/etc/vtiversion.info' % (media, target)):
os.system('echo "Nie skopiowano LAN-WLAN, nie zalecane dla tego image."')
os.system('echo "Not copied LAN-WLAN, not recommended for this image."')
elif os.path.exists('/etc/vtiversion.info') and os.path.exists('%s/usr/lib/enigma2/python/Plugins/PLi' % (media, target)):
os.system('echo "Nie skopiowano LAN-WLAN, nie zalecane dla tego image."')
os.system('echo "Not copied LAN-WLAN, not recommended for this image."')
elif os.path.exists('/etc/bhversion') and os.path.exists('%s/usr/lib/enigma2/python/Plugins/PLi' % (media, target)):
os.system('echo "Nie skopiowano LAN-WLAN, nie zalecane dla tego image."')
os.system('echo "Not copied LAN-WLAN, not recommended for this image."')
else:
if os.path.exists('/etc/wpa_supplicant.wlan0.conf'):
cmd = 'cp -Rpf /etc/wpa_supplicant.wlan0.conf %s/ImageBoot/%s/etc/wpa_supplicant.wlan0.conf > /dev/null 2>&1' % (media, target)
@@ -644,7 +644,9 @@ def RemoveUnpackDirs():
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/sf4008'):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/sf4008')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/osmio4k'):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/osmio4k')
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/osmio4k')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/osmio4kplus'):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/osmio4kplus')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/dm900'):
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/dm900')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/hd51'):
@@ -1142,7 +1144,7 @@ def NEOBootExtract(source, target, ZipDelete, BlackHole):
rc = os.system(cmd)
else:
os.system('echo "NeoBoot wykrył błąd !!! Prawdopodobnie brak ubi_reader lub nandsim."')
os.system('echo "NeoBoot wykryĹ‚ bĹÄ…d !!! Prawdopodobnie brak ubi_reader lub nandsim."')
#ARM
elif getCPUtype() == 'ARMv7':
@@ -1193,6 +1195,10 @@ def NEOBootExtract(source, target, ZipDelete, BlackHole):
os.system('echo "Please wait. System installation EDISION osmio4k"')
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/osmio4k/rootfs.tar.bz2; tar -jxvf ' + getNeoLocation() + 'ImagesUpload/osmio4k/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
rc = os.system(cmd)
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/osmio4kplus'):
os.system('echo "Please wait. System installation EDISION osmio4kplus"')
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/osmio4kplus/rootfs.tar.bz2; tar -jxvf ' + getNeoLocation() + 'ImagesUpload/osmio4kplus/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
rc = os.system(cmd)
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/dm900'):
os.system('echo "Please wait. System installation Dreambox DM900."')
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/dm900/rootfs.tar.bz2; tar -jxf ' + getNeoLocation() + 'ImagesUpload/dm900/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
@@ -1368,7 +1374,7 @@ def NEOBootExtract(source, target, ZipDelete, BlackHole):
rc = os.system(cmd)
else:
os.system('echo "NeoBoot wykrył dłąd!!! Prawdopodobnie brak pliku instalacyjnego."')
os.system('echo "NeoBoot wykryĹ‚ dĹÄ…d!!! Prawdopodobnie brak pliku instalacyjnego."')
if BlackHole == 'True':

View File

@@ -4,9 +4,9 @@
# Copyright (c) , gutosie license
#
# Redystrybucja wersji programu i dokonywania modyfikacji JEST DOZWOLONE, pod warunkiem zachowania niniejszej informacji o prawach autorskich.
# Autor NIE ponosi JAKIEJKOLWIEK odpowiedzialności za skutki użtkowania tego programu oraz za wykorzystanie zawartych tu informacji.
# Autor NIE ponosi JAKIEJKOLWIEK odpowiedzialności za skutki użtkowania tego programu oraz za wykorzystanie zawartych tu informacji.
# Modyfikacje przeprowadzasz na wlasne ryzyko!!!
# O wszelkich zmianach prosze poinformować na http://all-forum.cba.pl w temacie pod nazwa -#[NEOBOOT]#-
# O wszelkich zmianach prosze poinformować na http://all-forum.cba.pl w temacie pod nazwa -#[NEOBOOT]#-
# This text/program is free document/software. Redistribution and use in
# source and binary forms, with or without modification, ARE PERMITTED provided
@@ -51,7 +51,7 @@ else:
from files.neoconsole import Console
PLUGINVERSION = '9.02'
UPDATEVERSION = '9.03'
UPDATEVERSION = '9.05'
LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot'
try:
@@ -539,9 +539,9 @@ class NeoBootInstallation(Screen):
os.system('opkg install mtd-utils')
if os.system('opkg list-installed | grep mtd-utils-ubifs') != 0:
os.system('opkg install mtd-utils-ubifs')
# 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() == 'ustym4kpro' or getCPUSoC() == 'bcm7251s' or getBoxHostName() == 'h7' or getBoxHostName() == 'zgemmah7' or getBoxHostName() == 'ax51' or getBoxHostName() == 'tmtwin4k' or getBoxHostName() == 'anadol4k' or getBoxHostName() == 'protek4k' or getBoxHostName() == 'maxytecmulti' or getBoxHostName() == 'force3uhd' or getBoxHostName() == 'viper4k' or getBoxHostName() == 'dm920' or getBoxHostName() == 'et1x000' or getCPUSoC() == 'bcm7251' or getBoxHostName() == 'sf4008' or getCPUSoC() == 'bcm7252s' or getBoxHostName() == 'gbquad4k' or getBoxHostName == 'osmio4k' or getBoxHostName() == 'zgemmah9s' or getBoxHostName() == 'h9combo' or getBoxHostName() == 'h10' or getBoxHostName() == 'ax60' or getBoxHostName() == 'sf8008' or getCPUSoC() == 'bcm7251' or getCPUSoC() == 'BCM97252SSFF' or getBoxHostName() == 'dm900' and getBoxHostName() != 'vuultimo4k' and getBoxHostName() != 'vuuno4k' and getBoxHostName() != 'vusolo4k' and getBoxHostName() != 'vuuno4kse' and getBoxHostName() != 'vuultimo4k' and getBoxHostName() != 'vuduo4k' and getBoxHostName() != 'vuzero4k':
if getBoxHostName() == 'ustym4kpro' or getCPUSoC() == 'bcm7251s' or getBoxHostName() == 'h7' or getBoxHostName() == 'zgemmah7' or getBoxHostName() == 'ax51' or getBoxHostName() == 'tmtwin4k' or getBoxHostName() == 'anadol4k' or getBoxHostName() == 'protek4k' or getBoxHostName() == 'maxytecmulti' or getBoxHostName() == 'force3uhd' or getBoxHostName() == 'viper4k' or getBoxHostName() == 'dm920' or getBoxHostName() == 'et1x000' or getCPUSoC() == 'bcm7251' or getBoxHostName() == 'sf4008' or getCPUSoC() == 'bcm7252s' or getBoxHostName() == 'gbquad4k' or getBoxHostName == 'osmio4k' or getBoxHostName == 'osmio4kplus' or getBoxHostName() == 'zgemmah9s' or getBoxHostName() == 'h9combo' or getBoxHostName() == 'h10' or getBoxHostName() == 'ax60' or getBoxHostName() == 'sf8008' or getCPUSoC() == 'bcm7251' or getCPUSoC() == 'BCM97252SSFF' or getBoxHostName() == 'dm900' and getBoxHostName() != 'vuultimo4k' and getBoxHostName() != 'vuuno4k' and getBoxHostName() != 'vusolo4k' and getBoxHostName() != 'vuuno4kse' and getBoxHostName() != 'vuultimo4k' and getBoxHostName() != 'vuduo4k' and getBoxHostName() != 'vuzero4k':
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':
@@ -1235,6 +1235,7 @@ class NeoBootImageChoose(Screen):
'h9combo',
'h10',
'osmio4k',
'osmio4kplus',
'bcm7252s',
'gbquad4k',
'ax60',
@@ -1463,3 +1464,5 @@ def Plugins(**kwargs):
return [PluginDescriptor(name='NeoBoot', description='NeoBoot', where=PluginDescriptor.WHERE_MENU, fnc=menu), PluginDescriptor(name='NeoBoot', description=_('Installing multiple images'), icon='neo.png', where=PluginDescriptor.WHERE_PLUGINMENU, fnc=main)]
####################### _(-_-)_ gutosie _(-_-)_ #######################

View File

@@ -156,6 +156,7 @@ class StartImage(Screen):
#ARM procesor: DM900; AX HD60 4K
if getCPUtype() == 'ARMv7' and getCPUSoC() or getBoxHostName() == ['osmio4k',
'osmio4kplus',
'ax60',
'sf8008',
'bcm7251',

View File

@@ -1,2 +1,2 @@
9.03
9.05