From 18789b5f0b1eb648ea8e8498bc7d0350f9f946c7 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 2 Sep 2019 05:37:30 +0200 Subject: Don't fail on failure, but run forever to allow debugging --- scripts/bootstrap/builder.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/bootstrap/builder.sh b/scripts/bootstrap/builder.sh index 398ef34..89ff9d0 100644 --- a/scripts/bootstrap/builder.sh +++ b/scripts/bootstrap/builder.sh @@ -1,3 +1,11 @@ #! /bin/bash emerge --usepkg --buildpkg --keep-going --update --deep --with-bdeps=y --newuse @world +status=$? + +if [ $status -ne 0 ]; then + while [ 1 ]; do + echo "Emerge crashed with error code: $status" + sleep 21600 + done +fi -- cgit v1.2.1