#43 FlatpakBuilder: Disable min-free-space-percent for the ostree repository
Merged 2 years ago by otaylor. Opened 2 years ago by otaylor.

@@ -779,6 +779,7 @@ 

          # Prioritize speed by using a lower/faster zlib compression level

          with open(os.path.join(repo, "config"), "a") as f:

              f.write("[archive]\n")

+             f.write("min-free-space-percent=0\n")

              f.write("zlib-level=1\n")

  

          return repo

ostree is careful about preserving space probably because it is
used for system upgrade operations, but there's no real difference
between the space we use for the ostree repository, or the space
we use for various intermediate tarballs and output archives, so
we'll just disable the check. The check can go wrong for an environment
like a Koji builder where filesystems might be huge and grow on demand.

Fixes #40

Pull-Request has been merged by otaylor

2 years ago
Metadata