main
This commit is contained in:
parent
909181ce6c
commit
e47af4f7d6
1 changed files with 0 additions and 18 deletions
18
__main__.py
18
__main__.py
|
@ -1,28 +1,10 @@
|
||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
import subprocess
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
def bootstrap():
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
def squash(input_root):
|
|
||||||
subprocess.call([
|
|
||||||
'mksquashfs',
|
|
||||||
input_root,
|
|
||||||
?,
|
|
||||||
'-comp', 'zstd',
|
|
||||||
'-Xcompression-level', str(18),
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
_, output_root = sys.argv
|
_, output_root = sys.argv
|
||||||
bootstrap()
|
|
||||||
squash()
|
|
||||||
print('ok')
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in a new issue