Skip to content

Commit

Permalink
Overwrite existing layer.tmp to avoid commit error
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanformigoni committed Oct 19, 2024
1 parent f3bb9ef commit 119216d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/boot/cmd/layers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ inline void create(fs::path const& path_dir_src, fs::path const& path_file_dst,
ns_log::info()("Compression level: '{}'", compression_level);
ns_log::info()("Compress filesystem to '{}'", path_file_dst);
auto ret = ns_subprocess::Subprocess(*opt_path_file_mkdwarfs)
.with_args("-f")
.with_args("-i", path_dir_src, "-o", path_file_dst)
.with_args("-l", compression_level)
.spawn()
Expand Down

0 comments on commit 119216d

Please sign in to comment.