[rear-devel] [rear/rear] bdb70d: Update _input-output-functions.sh

Johannes Meixner noreply at github.com
Thu Sep 9 13:04:47 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/rear/rear
  Commit: bdb70d6bd33b6965594be09f44404573f1305ef9
      https://github.com/rear/rear/commit/bdb70d6bd33b6965594be09f44404573f1305ef9
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    M usr/share/rear/lib/_input-output-functions.sh

  Log Message:
  -----------
  Update _input-output-functions.sh

Use double quotes to get the variable evaluated in
remove_temporary_mountpoint "$BUILD_DIR/outputfs"
to fix https://github.com/rear/rear/issues/2667


  Commit: 190cf1048618782c0365cd2b733a4b2ec79e2c5a
      https://github.com/rear/rear/commit/190cf1048618782c0365cd2b733a4b2ec79e2c5a
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    M usr/share/rear/lib/global-functions.sh

  Log Message:
  -----------
  Update global-functions.sh

Use double quotes to get the variable evaluated in
remove_temporary_mountpoint "$mountpoint"
to fix https://github.com/rear/rear/issues/2667


  Commit: f930748491dbe48be80a41fdbf371a8c705c6420
      https://github.com/rear/rear/commit/f930748491dbe48be80a41fdbf371a8c705c6420
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
    M usr/share/rear/lib/global-functions.sh

  Log Message:
  -----------
  Update global-functions.sh

Let scheme_supports_filesystem() return false if scheme is empty or blank
(e.g. when OUTPUT_URL is unset or empty or blank)
cf. https://github.com/rear/rear/issues/2676
and https://github.com/rear/rear/issues/2667#issuecomment-914447326


  Commit: dcb5ef3875e4d050c72c180ae9c1165fc1aa4b20
      https://github.com/rear/rear/commit/dcb5ef3875e4d050c72c180ae9c1165fc1aa4b20
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
    M usr/share/rear/lib/global-functions.sh

  Log Message:
  -----------
  Update global-functions.sh

Return false if scheme is empty or blank or more than one word
in scheme_supports_filesystem() and also in scheme_accepts_files()
cf. https://github.com/rear/rear/pull/2675#discussion_r704395998


  Commit: 2965acf0a3589722d5be72b2734b03baf4084fe8
      https://github.com/rear/rear/commit/2965acf0a3589722d5be72b2734b03baf4084fe8
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-09-09 (Thu, 09 Sep 2021)

  Changed paths:
    M usr/share/rear/lib/global-functions.sh

  Log Message:
  -----------
  Update global-functions.sh

Make scheme_supports_filesystem() and scheme_accepts_files()
safe against 'set -eu' exit if those functions are called without argument
cf. https://github.com/rear/rear/pull/2675#discussion_r705018956


  Commit: c8221eb7f13553c0d72d6979d6c7286247cc3abf
      https://github.com/rear/rear/commit/c8221eb7f13553c0d72d6979d6c7286247cc3abf
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-09-09 (Thu, 09 Sep 2021)

  Changed paths:
    M usr/share/rear/lib/global-functions.sh

  Log Message:
  -----------
  Update global-functions.sh

Better wording in comment


  Commit: 675eed16a5a048ace4cfdfadaa2b65c211604d88
      https://github.com/rear/rear/commit/675eed16a5a048ace4cfdfadaa2b65c211604d88
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-09-09 (Thu, 09 Sep 2021)

  Changed paths:
    M usr/share/rear/lib/_input-output-functions.sh
    M usr/share/rear/lib/global-functions.sh

  Log Message:
  -----------
  Merge pull request #2675 from rear/jsmeix-fix-issue-2667

Fixed https://github.com/rear/rear/issues/2667
"rear does not entirely remove build area any more"
by using double quotes for remove_temporary_mountpoint "$BUILD_DIR/..."
and fixed https://github.com/rear/rear/issues/2676
"False ERROR '.../outputfs not empty, cannot remove' when OUTPUT_URL is unset"
by making scheme_supports_filesystem() fail-safe if $1 is empty or blank
and also making scheme_accepts_files() fail-safe in the same way,
see https://github.com/rear/rear/pull/2675


Compare: https://github.com/rear/rear/compare/6850be60bcd1...675eed16a5a0


More information about the rear-devel mailing list