From 119216d71a67117e55b24c046e27bca6dea15ac2 Mon Sep 17 00:00:00 2001 From: "Ruan E. Formigoni" Date: Sat, 19 Oct 2024 11:53:54 -0300 Subject: [PATCH] Overwrite existing layer.tmp to avoid commit error --- src/boot/cmd/layers.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/boot/cmd/layers.hpp b/src/boot/cmd/layers.hpp index e09d62e..36a133b 100644 --- a/src/boot/cmd/layers.hpp +++ b/src/boot/cmd/layers.hpp @@ -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()