Repository navigation
env: let IB_UPDIFF_MAX_NEW through to bitbake - #90
Merged
Merged
Conversation
do_updiff refuses more than IB_UPDIFF_MAX_NEW new files and says to raise it, but the variable was not in BB_ENV_PASSTHROUGH_ADDITIONS: bitbake dropped it from the environment, `IB_UPDIFF_MAX_NEW=40 updiff.sh uboot` failed with the same limit of 20, and nothing said why. env.sh names it, and dbuild.sh forwards it into the container like IB_FORCE_ATTACH. env.sh also appends the names missing from a value already exported instead of keeping that value as is, so a shell that sourced an older env.sh picks up the new name when it sources it again.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
do_updiffadvises raisingIB_UPDIFF_MAX_NEW, but the variable was not inBB_ENV_PASSTHROUGH_ADDITIONS, soIB_UPDIFF_MAX_NEW=40 updiff.sh ubootkept the limit of 20. env.sh now names it, dbuild.sh forwards it into the container, and env.sh appends missing names to an already exported list (a shell that sourced the old env.sh kept the old list before). Checked:IB_UPDIFF_MAX_NEW=40 dbuild.sh bitbake -e ubootshowsIB_UPDIFF_MAX_NEW="40"(absent on main); a fresh shell and a shell holding the old list both end up with the new name, once;sh -n/dash -nclean, shellcheck output unchanged.