[PATCH 2/2] sandbox: state: reword warning about initial state errors

Ahmad Fatoum ahmad at a3f.at
Sun Apr 4 12:18:31 BST 2021


The message didn't explicitly say it is expected behavior to not find
barebox-state on startup. Reword the message to make this clearer.

Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
---
 arch/sandbox/board/env/init/state | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/arch/sandbox/board/env/init/state b/arch/sandbox/board/env/init/state
index 0b8e40409f97..b8a2b42a53ea 100644
--- a/arch/sandbox/board/env/init/state
+++ b/arch/sandbox/board/env/init/state
@@ -5,8 +5,9 @@ fi
 source /env/data/ansi-colors
 
 echo -e $CYAN
-echo "******************************************************************"
-echo "*** Inconsistent barebox state buckets detected on first boot ***"
-echo "***         barebox will repair them on next shutdown         ***"
-echo "*****************************************************************"
+echo "*******************************************************"
+echo "***   Inconsistent barebox state buckets detected   ***"
+echo "***         This is normal for a first boot         ***"
+echo "*** barebox will repair them on next poweroff/reset ***"
+echo "*******************************************************"
 echo -e -n $NC
-- 
2.30.0




More information about the barebox mailing list