summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-04-22 19:53:45 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-04-22 19:53:45 +0200
commit70756582de9f79eb2961c7aa91f1b0cdfe11cfc4 (patch)
tree1f8a4d73a36a7a25402044c2759e4b980d8d585e
parent33052eee898c84f5becfdc34f5a79faf0bd13106 (diff)
mk_img.py: ask for user what to do with files inside ESP already.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
-rwxr-xr-xtooling/mk_img.py2
1 files changed, 1 insertions, 1 deletions
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}'")