[PATCH 01/32] fixup: Bugfix for moveconfig

Simon Glass sjg at chromium.org
Tue Jan 31 16:26:31 CET 2023


Add this in here. It should be added to the previous series (splb).

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/moveconfig.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index 5eef9b25862..6b8eaea2a2c 100755
--- a/tools/moveconfig.py
+++ b/tools/moveconfig.py
@@ -2054,7 +2054,7 @@ def do_scan_source(path, do_update, show_conflicts, do_commit):
             print(f'   {item}')
 
     def write_update(spl_not_found, proper_not_found):
-        with open(os.path.join(path, 'scripts', 'conf_nospl'),
+        with open(os.path.join(path, 'scripts', 'conf_nospl'), 'w',
                   encoding='utf-8') as out:
             print('# These options should not be enabled in SPL builds\n',
                   file=out)
-- 
2.39.1.456.gfc5497dd1b-goog



More information about the U-Boot mailing list