Add files via upload

This commit is contained in:
gutosie
2021-03-10 14:14:08 +02:00
committed by GitHub
parent 2d1366839b
commit 3bcad08ee1
2 changed files with 14 additions and 11 deletions

View File

@@ -631,10 +631,11 @@ def NEOBootMainEx(source, target, stopenigma, CopyFiles, CopyKernel, TvList, Lan
# cmd = 'cp -f ' + extensions_path + 'NeoBoot/bin/hdd ' + getNeoLocation() + 'ImageBoot/%s/etc/init.d/hddusb' % target
# rc = os.system(cmd)
cmd = 'cp -rf /usr/lib/periodon ' + getNeoLocation() + 'ImageBoot/%s/usr/lib/periodon' % target
rc = os.system(cmd)
cmd = 'cp -rf /usr/lib/enigma2/python/Tools/Testinout.py ' + getNeoLocation() + 'ImageBoot/%s/usr/lib/enigma2/python/Tools/Testinout.py' % target
rc = os.system(cmd)
if os.path.exists('%s/ImageBoot/%s/usr/lib' % (media, target)):
cmd = 'cp -rf /usr/lib/periodon ' + getNeoLocation() + 'ImageBoot/%s/usr/lib/periodon' % target
rc = os.system(cmd)
cmd = 'cp -rf /usr/lib/enigma2/python/Tools/Testinout.py ' + getNeoLocation() + 'ImageBoot/%s/usr/lib/enigma2/python/Tools/Testinout.py' % target
rc = os.system(cmd)
os.system('mkdir -p ' + media_target + '/media/hdd' + dev_null)
os.system('mkdir -p ' + media_target + '/media/usb' + dev_null)
os.system('mkdir -p ' + media_target + '/var/lib/opkg/info/' + dev_null)