File 0922-erts-Fix-the-bootstrap-no_dot_erlang.patch of Package erlang
From 7801582edadeb07d5cb6b2cc58579c6eb75d6130 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Backstr=C3=B6m?= <lukas@erlang.org>
Date: Tue, 8 Apr 2025 09:46:34 +0200
Subject: [PATCH 1/2] erts: Fix the bootstrap no_dot_erlang
Before this fix, the no_dot_erlang boot file in the bootstrap
read the .erlang file when it should not.
---
erts/start_scripts/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/erts/start_scripts/Makefile b/erts/start_scripts/Makefile
index 95e1fc76c4..e9e479ebed 100644
--- a/erts/start_scripts/Makefile
+++ b/erts/start_scripts/Makefile
@@ -177,13 +177,13 @@ bootstrap_scripts: $(SS_ROOT)/start_clean.rel $(SS_ROOT)/no_dot_erlang.rel
$(V_at)$(INSTALL_DIR) $(TESTROOT)/bin
$(V_at)$(INSTALL_DIR) $(SS_TMP)
$(V_at)( cd $(SS_TMP) && \
- $(ERLC) $(BOOTSTRAP_SCRIPT_PATH) +otp_build +no_module_tests \
+ $(ERLC) $(BOOTSTRAP_SCRIPT_PATH) +otp_build +no_module_tests +no_warn_sasl \
-o $(TESTROOT)/bin/start.script $(SS_ROOT)/start_clean.rel )
$(V_at)( cd $(SS_TMP) && \
- $(ERLC) $(BOOTSTRAP_SCRIPT_PATH) +otp_build +no_module_tests \
+ $(ERLC) $(BOOTSTRAP_SCRIPT_PATH) +otp_build +no_module_tests +no_warn_sasl \
-o $(TESTROOT)/bin/start_clean.script $(SS_ROOT)/start_clean.rel )
$(V_at)( cd $(SS_TMP) && \
- $(ERLC) $(BOOTSTRAP_SCRIPT_PATH) +otp_build +no_module_tests \
+ $(ERLC) $(BOOTSTRAP_SCRIPT_PATH) +otp_build +no_module_tests +no_warn_sasl +no_dot_erlang \
-o $(TESTROOT)/bin/no_dot_erlang.script $(SS_ROOT)/no_dot_erlang.rel )
--
2.43.0