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

Fix early-preseed (and environment variables generally) #467

Merged
merged 1 commit into from
May 10, 2024

Conversation

fosslinux
Copy link
Owner

There is currently a small environmental discrepancy between --early-preseed mode and normal mode which causes a build failure when --early-preseed is used.
Namely, bash reads any environment variables that are already in the the environment. In --early-preseed mode there are none of these, whereas there are a number when bash is called from normal mode as a result of kaem setting those environment variables.
This causes variables such as LIBDIR to be exported by default in kaem mode but not in --early-preseed mode. We can work around this by unsetting them and resetting them in update_env.sh.

@stikonas stikonas requested review from stikonas and Googulator May 10, 2024 06:44
@Googulator Googulator merged commit b988fb5 into master May 10, 2024
7 checks passed
@stikonas stikonas deleted the fix-preseed branch May 10, 2024 11:16
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.

3 participants