summaryrefslogtreecommitdiffhomepage
path: root/tooling/mk_img.py
diff options
context:
space:
mode:
authorAmlal <amlal@nekernel.org>2025-05-01 11:59:48 +0200
committerAmlal <amlal@nekernel.org>2025-05-01 11:59:48 +0200
commit1e8b22f34ce423b23d1b4c4ea59ed16aa29842d8 (patch)
tree270042aea172fa5785303763cb739ea5ce3e4f69 /tooling/mk_img.py
parentc613812ef130388ac82b24bdce12389de96b7ce4 (diff)
tooling, fs: Improve tooling and clean up HeFS filesystem code.
Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'tooling/mk_img.py')
-rwxr-xr-xtooling/mk_img.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tooling/mk_img.py b/tooling/mk_img.py
index 4a663bc0..8227a217 100755
--- a/tooling/mk_img.py
+++ b/tooling/mk_img.py
@@ -33,7 +33,7 @@ def copy_to_fat(image_path, source_dir):
print(f"Error: mcopy failed with error code {e.returncode}.")
sys.exit(1)
except Exception as e:
- print(f"Error: mcopy: {e}")
+ print(f"Error: failed: {e}")
sys.exit(1)
if __name__ == "__main__":
@@ -44,4 +44,6 @@ if __name__ == "__main__":
image_path = sys.argv[1]
source_dir = sys.argv[2]
- copy_to_fat(image_path, source_dir) \ No newline at end of file
+ copy_to_fat(image_path, source_dir)
+
+ print("NeKernel image created successfully.")