main/postmarketos-mkinitfs-hook-ci: shellcheck fixes, and reliability improvements

Notice how I named the tip-most commit XXX. This is because I am not sure about the version increase, and anyways this needs to be reviewed if any changes are done.


Two broad strokes for these changes

  • Cleanup
  • Reliability for CI-tron

Cleanup

Basically ensured that shellcheck is configured so it can tell us what is wrong.

Then, fixed what's wrong.

I also added a print when re-enabling the console messages, this can be removed, I just thought it would mirror well the intention of the previous one.

Reliability

Print, over some time, the markers many times.

This is the (slightly adapted) recommendation from the lead of CI-tron.

The main differences is that:

  • I did not "hang" the machine continuously printing the ending marker.
  • I made the status prints output over time, rather than just printing a bunch in one shot.

Merge request reports

Loading
Loading