Skip to content

env: let IB_UPDIFF_MAX_NEW through to bitbake - #90

Merged
daniel-rossier merged 1 commit into
mainfrom
fix/updiff-max-new-passthrough
Dec 2, 2026
Merged

daniel-rossier merged 1 commit into
mainfrom
fix/updiff-max-new-passthrough

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor

do_updiff advises raising IB_UPDIFF_MAX_NEW, but the variable was not in BB_ENV_PASSTHROUGH_ADDITIONS, so IB_UPDIFF_MAX_NEW=40 updiff.sh uboot kept 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 uboot shows IB_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 -n clean, shellcheck output unchanged.

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.
@daniel-rossier
daniel-rossier merged commit e84b303 into main Dec 2, 2026
2 checks passed
@daniel-rossier
daniel-rossier deleted the fix/updiff-max-new-passthrough branch December 2, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant