lint squashfs
This commit is contained in:
parent
470d7aa1e9
commit
67b8d4c981
1 changed files with 4 additions and 4 deletions
|
@ -1,14 +1,14 @@
|
||||||
import ps
|
import ps
|
||||||
import rwx.cmd
|
import rwx.cmd
|
||||||
|
|
||||||
rwx.cmd.need('mksquashfs')
|
rwx.cmd.need("mksquashfs")
|
||||||
|
|
||||||
|
|
||||||
def mksquashfs(input_root: str, output_file: str):
|
def mksquashfs(input_root: str, output_file: str):
|
||||||
ps.run([
|
ps.run([
|
||||||
'mksquashfs',
|
"mksquashfs",
|
||||||
input_root,
|
input_root,
|
||||||
output_file,
|
output_file,
|
||||||
'-comp', 'zstd',
|
"-comp", "zstd",
|
||||||
'-Xcompression-level', str(18),
|
"-Xcompression-level", str(18),
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue