[PATCH v2 04/30] binman: Avoid using a symlink
Simon Glass
sjg at chromium.org
Sun Apr 30 03:29:37 CEST 2023
Use a small Python script instead of a symlink to avoid problems with
Windows.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
tools/binman/binman | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
mode change 120000 => 100755 tools/binman/binman
diff --git a/tools/binman/binman b/tools/binman/binman
deleted file mode 120000
index 11a5d8e18ab7..000000000000
--- a/tools/binman/binman
+++ /dev/null
@@ -1 +0,0 @@
-main.py
\ No newline at end of file
diff --git a/tools/binman/binman b/tools/binman/binman
new file mode 100755
index 000000000000..2b0633073abc
--- /dev/null
+++ b/tools/binman/binman
@@ -0,0 +1,10 @@
+#!/usr/bin/env python3
+# SPDX-License-Identifier: GPL-2.0+
+
+import os
+
+our_path = os.path.dirname(os.path.realpath(__file__))
+
+import main
+
+main.start_binman()
--
2.40.1.495.gc816e09b53d-goog
More information about the U-Boot
mailing list