mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-02 12:25:46 +01:00
Update extract.py
This commit is contained in:
@@ -818,6 +818,8 @@ def RemoveUnpackDirs():
|
||||
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/rootfs.tar.bz2')
|
||||
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/et10000'):
|
||||
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/et10000')
|
||||
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/pulse4k*'):
|
||||
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/pulse4k*')
|
||||
|
||||
|
||||
def NEOBootExtract(source, target, ZipDelete):
|
||||
@@ -1518,6 +1520,10 @@ def NEOBootExtract(source, target, ZipDelete):
|
||||
os.system('echo "Please wait. System installation AB-COM PULSe 4K..."')
|
||||
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/pulse4k; tar -jxf ' + getNeoLocation() + 'ImagesUpload/pulse4k/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
|
||||
rc = os.system(cmd)
|
||||
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/pulse4kmini'):
|
||||
os.system('echo "Please wait. System installation AB-COM PULSe 4K..."')
|
||||
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/pulse4kmini; tar -jxf ' + getNeoLocation() + 'ImagesUpload/pulse4kmini/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
|
||||
rc = os.system(cmd)
|
||||
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/bre2ze4k'):
|
||||
os.system('echo "Please wait. System installation WWIO BRE2ZE 4K."')
|
||||
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/bre2ze4k; tar -jxf ' + getNeoLocation() + 'ImagesUpload/bre2ze4k/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
|
||||
|
||||
Reference in New Issue
Block a user