Update unpack.py

This commit is contained in:
gutosie
2021-12-31 18:38:00 +02:00
committed by GitHub
parent 20e08035a4
commit 6f3ba98303

View File

@@ -133,13 +133,13 @@ class InstallImage(Screen, ConfigListScreen):
self.source = ConfigSelection(choices=sourcelist) self.source = ConfigSelection(choices=sourcelist)
self.target = ConfigText(fixed_size=False) self.target = ConfigText(fixed_size=False)
self.CopyFiles = ConfigYesNo(default=True) self.CopyFiles = ConfigYesNo(default=True)
if fileExists('/proc/stb/info/vumodel') and not fileExists('/proc/stb/info/boxtype'): if getCPUtype() == "ARMv7" and getBoxHostName() == 'vuduo4k' or getBoxHostName() == 'vuduo4kse' or getBoxHostName() == "vuultimo4k" or getBoxHostName() == "vusolo4k" or getBoxHostName() == "vuuno4k" or getBoxHostName() == "vuuno4kse" or getBoxHostName() == "vuzer4k" :
self.CopyKernel = ConfigYesNo(default=True) self.CopyKernel = ConfigYesNo(default=True)
else: else:
self.CopyKernel = ConfigYesNo(default=False) self.CopyKernel = ConfigYesNo(default=False)
self.TvList = ConfigYesNo(default=False) self.TvList = ConfigYesNo(default=False)
self.LanWlan = ConfigYesNo(default=False) self.LanWlan = ConfigYesNo(default=False)
if fileExists('/proc/stb/info/vumodel') and not fileExists('/proc/stb/info/boxtype'): if getCPUtype() == "ARMv7" and getBoxHostName() == 'vuduo4k' or getBoxHostName() == 'vuduo4kse' or getBoxHostName() == "vuultimo4k" or getBoxHostName() == "vusolo4k" or getBoxHostName() == "vuuno4k" or getBoxHostName() == "vuuno4kse" or getBoxHostName() == "vuzer4k" :
self.Sterowniki = ConfigYesNo(default=False) self.Sterowniki = ConfigYesNo(default=False)
else: else:
self.Sterowniki = ConfigYesNo(default=True) self.Sterowniki = ConfigYesNo(default=True)