[Git-commits] [grml/grml-debootstrap] 1a229d: enable error handler by default

Michael Prokop noreply at github.com
Fri Dec 22 17:12:44 CET 2023


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-debootstrap
  Commit: 1a229d046e1a03bbdfa7e33da8504eef6666747f
      https://github.com/grml/grml-debootstrap/commit/1a229d046e1a03bbdfa7e33da8504eef6666747f
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M chroot-script
    M grml-debootstrap

  Log Message:
  -----------
  enable error handler by default


  Commit: 0ad48de69395d33f3556f525eae9eff13a5ea524
      https://github.com/grml/grml-debootstrap/commit/0ad48de69395d33f3556f525eae9eff13a5ea524
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  use `|| eend $?` consistently in `cleanup` function


  Commit: 2cf99e2cbb127a9f63ae1efd24c0ed52bf73ed41
      https://github.com/grml/grml-debootstrap/commit/2cf99e2cbb127a9f63ae1efd24c0ed52bf73ed41
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  remove obsolete uses of `eend $?`

because these are now covered by the error_handler


  Commit: e0dc8d8a758b5a7ae2b3553391642c3dc603895f
      https://github.com/grml/grml-debootstrap/commit/e0dc8d8a758b5a7ae2b3553391642c3dc603895f
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  code simplification

No need to use both, `eend 1` and `bailout 1`.
In these cases, only `bailout 1` is sufficient.


  Commit: 601c99c7b3e1936e03aa16ce066ec4252c202507
      https://github.com/grml/grml-debootstrap/commit/601c99c7b3e1936e03aa16ce066ec4252c202507
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  fix `cleanup` function

only delete `$MNTPOINT` if such a folder actually exists


  Commit: d2be7fb21bfd1c28199ddc1959dfd3e15149acc8
      https://github.com/grml/grml-debootstrap/commit/d2be7fb21bfd1c28199ddc1959dfd3e15149acc8
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  fix `cleanup` function

only delete `$MNTPOINT` if such a folder actually exists


  Commit: 792af79ed413a5f4230fd2c9193db1d5bcec9410
      https://github.com/grml/grml-debootstrap/commit/792af79ed413a5f4230fd2c9193db1d5bcec9410
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  don't suppress stderr of rmdir "$MNTPOINT"


  Commit: bee27f04aa76d4618788a41f15271fd7a3364910
      https://github.com/grml/grml-debootstrap/commit/bee27f04aa76d4618788a41f15271fd7a3364910
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  fix use of `eend` in `cleanup` function


  Commit: 105ae6f490e3585802ab02bf0a9cfb447500ed75
      https://github.com/grml/grml-debootstrap/commit/105ae6f490e3585802ab02bf0a9cfb447500ed75
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  adjust use of `dialog` for new error handling method


  Commit: 53ed3b4e9a30baacaba084299f6dd5d05e1272d2
      https://github.com/grml/grml-debootstrap/commit/53ed3b4e9a30baacaba084299f6dd5d05e1272d2
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M chroot-script

  Log Message:
  -----------
  remove obsolete `|| return 1`

because these are now covered by the new error handling method


  Commit: fcaea6e9ae5cb12e934dbc2185810c29f2218ccd
      https://github.com/grml/grml-debootstrap/commit/fcaea6e9ae5cb12e934dbc2185810c29f2218ccd
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  adjust stages executing for new error handling method


  Commit: ed17c9501e61f1fe58168606feaffa3abd63dba8
      https://github.com/grml/grml-debootstrap/commit/ed17c9501e61f1fe58168606feaffa3abd63dba8
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M chroot-script

  Log Message:
  -----------
  code simplification of stages executing


  Commit: c59878b7597b82fc8f94ba5312c01e0a94075a4f
      https://github.com/grml/grml-debootstrap/commit/c59878b7597b82fc8f94ba5312c01e0a94075a4f
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M chroot-script
    M grml-debootstrap

  Log Message:
  -----------
  trigger error handler as soon as possible

https://github.com/grml/grml-debootstrap/issues/224#issuecomment-1779673194


  Commit: 6db61f4d5eb33d8e4855e001f0cbfe8aa2896496
      https://github.com/grml/grml-debootstrap/commit/6db61f4d5eb33d8e4855e001f0cbfe8aa2896496
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M chroot-script

  Log Message:
  -----------
  chroot-script: properly quote stage execution code


  Commit: 406f1e4052e8c27cc8f3a25833db8309904390d2
      https://github.com/grml/grml-debootstrap/commit/406f1e4052e8c27cc8f3a25833db8309904390d2
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  adjust options parsing for new error handling method


  Commit: 521689adb03b9c9db39843112e3326bb5f8e6df6
      https://github.com/grml/grml-debootstrap/commit/521689adb03b9c9db39843112e3326bb5f8e6df6
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  adjust use of `dialog` for new error handling method


  Commit: 4812ce411ed1a55de53c4c611d616d9b5149b9b4
      https://github.com/grml/grml-debootstrap/commit/4812ce411ed1a55de53c4c611d616d9b5149b9b4
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M chroot-script
    M grml-debootstrap

  Log Message:
  -----------
  syntax check before parsing config files


  Commit: d39c8dfd5a06ae1ce0edb31600e8ed7da2ac02dd
      https://github.com/grml/grml-debootstrap/commit/d39c8dfd5a06ae1ce0edb31600e8ed7da2ac02dd
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  ignore exit codes of umount during cleanup function

because the cleanup function gets run by the error handler and should
not be nested


  Commit: cc96e883fa7ca0870b2428cda94aa0054dc02642
      https://github.com/grml/grml-debootstrap/commit/cc96e883fa7ca0870b2428cda94aa0054dc02642
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  the first `rmdir "$MNTPOINT"` needs `|| true`

because it will not always work

will not work in cases where /dev etc is still mounted inside the chroot


  Commit: 08f75f250d36f3dcebbb4ca65ecf5ff595333e2a
      https://github.com/grml/grml-debootstrap/commit/08f75f250d36f3dcebbb4ca65ecf5ff595333e2a
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  ignore non-zero exist codes of `modprobe loop` and `modprobe dm-mod`
to work around an issue by github actions
drop `-q` from modprobe for better debug output


  Commit: 016c46616d5dcac315ef1796c4ba0464ee1610fc
      https://github.com/grml/grml-debootstrap/commit/016c46616d5dcac315ef1796c4ba0464ee1610fc
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M tests/docker-build-vm.sh

  Log Message:
  -----------
  ci: enable `--debug`


  Commit: 65e45e57296d552cf6a7fbd2d0a72bcf50d809d1
      https://github.com/grml/grml-debootstrap/commit/65e45e57296d552cf6a7fbd2d0a72bcf50d809d1
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M chroot-script

  Log Message:
  -----------
  ignore exit code of blkid as it might fail on some file systems


  Commit: e11f7068b8323cec4e503141eb41e64be8802c55
      https://github.com/grml/grml-debootstrap/commit/e11f7068b8323cec4e503141eb41e64be8802c55
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M chroot-script

  Log Message:
  -----------
  improve error handling for EFI uuid


  Commit: 7a3f1d98d277b653f646ed48b87e7d61793b0cad
      https://github.com/grml/grml-debootstrap/commit/7a3f1d98d277b653f646ed48b87e7d61793b0cad
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M chroot-script

  Log Message:
  -----------
  not enabling stretch security repository

because no longer provided by Debian


  Commit: 14e8a829e40f2ed801a05b783507e3feb0e005fc
      https://github.com/grml/grml-debootstrap/commit/14e8a829e40f2ed801a05b783507e3feb0e005fc
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  style fix: always use "${MNTPOINT}"/boot/efi

instead of sometimes mixed with "${MNTPOINT}/boot/efi"


  Commit: cc891dfa8fa1f950c3ac006351c19a80352c8155
      https://github.com/grml/grml-debootstrap/commit/cc891dfa8fa1f950c3ac006351c19a80352c8155
  Author: Patrick Schleizer <adrelanos at whonix.org>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M grml-debootstrap

  Log Message:
  -----------
  fix error handling for unmounting on the arm64 architecture


  Commit: bfe0feda5534b6bbd7069dd2ae063e28b6af8871
      https://github.com/grml/grml-debootstrap/commit/bfe0feda5534b6bbd7069dd2ae063e28b6af8871
  Author: Michael Prokop <mika at grml.org>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M chroot-script
    M grml-debootstrap
    M tests/docker-build-vm.sh

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/pr/255'


Compare: https://github.com/grml/grml-debootstrap/compare/dd57cf2dbf89...bfe0feda5534


More information about the Git-commits mailing list