[rear-devel] [rear/rear] 8d7ae3: ISO_FILE_SIZE_LIMIT: provide final power to the user

Johannes Meixner noreply at github.com
Fri Dec 4 15:19:31 CET 2020


  Branch: refs/heads/master
  Home:   https://github.com/rear/rear
  Commit: 8d7ae3eecee36a37b417ce58e1a5fa377ad17d1c
      https://github.com/rear/rear/commit/8d7ae3eecee36a37b417ce58e1a5fa377ad17d1c
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

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

  Log Message:
  -----------
  ISO_FILE_SIZE_LIMIT: provide final power to the user

Skip the assert_ISO_FILE_SIZE_LIMIT function
when there is no usable ISO_FILE_SIZE_LIMIT set
so the user could specify ISO_FILE_SIZE_LIMIT=0
or ISO_FILE_SIZE_LIMIT="no" in his etc/rear/local.conf
if he wants to skip the ISO_FILE_SIZE_LIMIT test.


  Commit: 396cceffdcc9ab71b924c1995330db68c971e98a
      https://github.com/rear/rear/commit/396cceffdcc9ab71b924c1995330db68c971e98a
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    M usr/share/rear/conf/default.conf

  Log Message:
  -----------
  Update default.conf

Explain that the ISO_FILE_SIZE_LIMIT test can be skipped
with ISO_FILE_SIZE_LIMIT=0 in etc/rear/local.conf


  Commit: b70f8e061203b57a7de2430fc009d4807eef009f
      https://github.com/rear/rear/commit/b70f8e061203b57a7de2430fc009d4807eef009f
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    M usr/share/rear/prep/ISO/GNU/Linux/320_verify_mkisofs.sh

  Log Message:
  -----------
  Update 320_verify_mkisofs.sh

For 'ebiso' the ISO_FILE_SIZE_LIMIT test must not be skipped with ISO_FILE_SIZE_LIMIT=0


  Commit: 9a3a7cb5d1f6bd15b16c90e68d298240a834f1f9
      https://github.com/rear/rear/commit/9a3a7cb5d1f6bd15b16c90e68d298240a834f1f9
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    M usr/share/rear/conf/default.conf

  Log Message:
  -----------
  Update default.conf

More exact text about the cases where ISO 9660 level 1 or 2 is used that has a 2GiB file size limit.


  Commit: be0bdf148be195155760336f17af4312151c4e84
      https://github.com/rear/rear/commit/be0bdf148be195155760336f17af4312151c4e84
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

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

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

More clear comment that assert_ISO_FILE_SIZE_LIMIT
is skipped in particular for ISO_FILE_SIZE_LIMIT=0


  Commit: 949f69467b19eef1004ffd4ec13e1a3743473497
      https://github.com/rear/rear/commit/949f69467b19eef1004ffd4ec13e1a3743473497
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    M usr/share/rear/prep/ISO/GNU/Linux/320_verify_mkisofs.sh

  Log Message:
  -----------
  Update 320_verify_mkisofs.sh

Enforce 2GiB ISO_FILE_SIZE_LIMIT when the MODULES array contains 'loaded_modules'
because MODULES+=( udf ) has no effect in this case unless it is loaded (which normally isn't)
except the user has specified to skip the ISO_FILE_SIZE_LIMIT test with ISO_FILE_SIZE_LIMIT=0


  Commit: bf9186abd749c5481748a784b68987371f69876d
      https://github.com/rear/rear/commit/bf9186abd749c5481748a784b68987371f69876d
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    M usr/share/rear/prep/ISO/GNU/Linux/320_verify_mkisofs.sh

  Log Message:
  -----------
  Update 320_verify_mkisofs.sh

Enforce 2GiB ISO_FILE_SIZE_LIMIT when the MODULES array contains 'loaded_modules'
but keep what the user has specified if ISO_FILE_SIZE_LIMIT is specified less than 2GiB.


  Commit: c6dedb6b0ce3ce3e28bed8d5887d308ac207462e
      https://github.com/rear/rear/commit/c6dedb6b0ce3ce3e28bed8d5887d308ac207462e
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    M usr/share/rear/prep/ISO/GNU/Linux/320_verify_mkisofs.sh

  Log Message:
  -----------
  Update 320_verify_mkisofs.sh

Explain that nothing is done for ISO_FILE_SIZE_LIMIT
when the MODULES array contains 'no_modules'
because that is meant for experts who know what they do.


  Commit: b3c165afc942d19fb6ed53e66bf46db2a860b973
      https://github.com/rear/rear/commit/b3c165afc942d19fb6ed53e66bf46db2a860b973
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2020-12-04 (Fri, 04 Dec 2020)

  Changed paths:
    M usr/share/rear/conf/default.conf
    M usr/share/rear/lib/output-functions.sh
    M usr/share/rear/prep/ISO/GNU/Linux/320_verify_mkisofs.sh

  Log Message:
  -----------
  Merge pull request #2533 from rear/jsmeix-ISO_FILE_SIZE_LIMIT-skip

Provide final power to the user to skip the ISO_FILE_SIZE_LIMIT test:
Skip the assert_ISO_FILE_SIZE_LIMIT function when there is
no usable ISO_FILE_SIZE_LIMIT set so the user could specify
ISO_FILE_SIZE_LIMIT=0 in his etc/rear/local.conf
if he wants to skip the ISO_FILE_SIZE_LIMIT test.
Aditionally enforce maximum 2GiB ISO_FILE_SIZE_LIMIT when the
MODULES array contains 'loaded_modules' because MODULES+=( udf )
has no effect in this case unless it is loaded (which normally isn't).


Compare: https://github.com/rear/rear/compare/d2b40c2d9397...b3c165afc942


More information about the rear-devel mailing list