From 70756582de9f79eb2961c7aa91f1b0cdfe11cfc4 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 22 Apr 2025 19:53:45 +0200 Subject: mk_img.py: ask for user what to do with files inside ESP already. Signed-off-by: Amlal El Mahrouss --- tooling/mk_img.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/mk_img.py b/tooling/mk_img.py index 253e5a6c..b4fdfa1e 100755 --- a/tooling/mk_img.py +++ b/tooling/mk_img.py @@ -18,7 +18,7 @@ def copy_to_fat(image_path, source_dir): try: files_to_copy = glob.glob(os.path.join(source_dir, "*")) # Now build the command - command = ["mcopy", "-spom", "-i", image_path] + files_to_copy + ["::"] + command = ["mcopy", "-spm", "-i", image_path] + files_to_copy + ["::"] subprocess.run(command, check=True) print(f"Successfully copied contents of '{source_dir}' into '{image_path}'") -- cgit v1.2.3