mounts/org.osbuild.btrfs: add support for compression
Also, add it to the sample manifest.
This commit is contained in:
parent
3bbded4607
commit
b94048dfd4
4 changed files with 15 additions and 6 deletions
|
|
@ -141,6 +141,8 @@ class FileSystemMountService(MountService):
|
|||
opts.append(f"shortname={options['shortname']}")
|
||||
if "subvol" in options:
|
||||
opts.append(f"subvol={options['subvol']}")
|
||||
if "compress" in options:
|
||||
opts.append(f"compress={options['compress']}")
|
||||
if opts:
|
||||
return ["-o", ",".join(opts)]
|
||||
return []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue