Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISO_FILE_SIZE_LIMIT: provide final power to the user to skip the ISO_FILE_SIZE_LIMIT test #2533

Merged
merged 8 commits into from Dec 4, 2020

Conversation

jsmeix
Copy link
Member

@jsmeix jsmeix commented Dec 3, 2020

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.

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.
@jsmeix jsmeix added the enhancement Adaptions and new features label Dec 3, 2020
@jsmeix jsmeix added this to the ReaR v2.7 milestone Dec 3, 2020
@jsmeix jsmeix requested a review from a team December 3, 2020 11:08
@jsmeix jsmeix self-assigned this Dec 3, 2020
Explain that the ISO_FILE_SIZE_LIMIT test can be skipped
with ISO_FILE_SIZE_LIMIT=0 in etc/rear/local.conf
For 'ebiso' the ISO_FILE_SIZE_LIMIT test must not be skipped with ISO_FILE_SIZE_LIMIT=0
More exact text about the cases where ISO 9660 level 1 or 2 is used that has a 2GiB file size limit.
More clear comment that assert_ISO_FILE_SIZE_LIMIT
is skipped in particular for ISO_FILE_SIZE_LIMIT=0
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
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.
@jsmeix
Copy link
Member Author

jsmeix commented Dec 3, 2020

With my latest commits things work well for me.
I will sleep over it and if no further things appear for me
and if there are no objections from @rear/contributors
I would like to merge it tomorrow afternoon.

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.
@jsmeix jsmeix merged commit b3c165a into master Dec 4, 2020
@jsmeix jsmeix deleted the jsmeix-ISO_FILE_SIZE_LIMIT-skip branch December 4, 2020 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adaptions and new features fixed / solved / done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant