Skip to content
Snippets Groups Projects
  1. Sep 12, 2021
    • Oliver Smith's avatar
      pine64-pinephone: fix pre-upgrade script (MR 2512) · 62453b9e
      Oliver Smith authored
      Use -f, so rm
      * does not complain if the file does not exist
      * does not exit with 1 if the file does not exist
      
      Remove the stdout/stderr redirect (not needed with -f).
      
      Add exit 0 at the end of the file, even though it clearly should not
      exit with anything other than 0 anymore, as it's common practice in
      these pre-upgrade etc. scripts.
      
      With the old script, the problem was that it would exit 1 as soon as the
      files did not exist at the time the script runs. Exit 1 in this
      pre-upgrade script causes apk to show an error, and it would not go away
      with 'apk fix' since it ran into the same problem.
      
      Fixes: 7c511d ("pine64-pinephone: remove old u-boot...")
      Unverified
      62453b9e
    • Oliver Smith's avatar
      Unverified
      fddf3176
    • Oliver Smith's avatar
      CI: shellcheck: remove apk upgrade command (MR 2511) · 1610a605
      Oliver Smith authored
      CI is currently failing at the "apk upgrade" line with the following
      error. It must be related to the openssl3 transition that is going on in
      Alpine:
      
      485B6261A57F0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1882:
      ERROR: musl-1.2.2-r6: Permission denied
      485B6261A57F0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1882:
      ERROR: busybox-1.34.0-r3: Permission denied
      485B6261A57F0000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1882:
      ERROR: musl-utils-1.2.2-r6: Permission denied
      
      So let's get rid of it. It shouldn't be needed to install shellcheck
      anyway.
      Unverified
      1610a605
  2. Sep 11, 2021
  3. Sep 10, 2021
  4. Sep 08, 2021
  5. Sep 07, 2021
  6. Sep 06, 2021
  7. Sep 05, 2021
Loading