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

Make sure to run with exported PATH setting #80

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

schaefi
Copy link
Contributor

@schaefi schaefi commented Jan 21, 2025

The kiwi run inside of the box runs from an environment that has no PATH setup. This can lead to issues when Path.which() is used to find program files in the box and also as base for the search inside of the new root tree. If no PATH is set kiwi uses os.defpath which does not take enough paths (e.g /usr/sbin) into account. This commit makes sure we run kiwi with a proper PATH setup.

The kiwi run inside of the box runs from an environment
that has no PATH setup. This can lead to issues when
Path.which() is used to find program files in the box
and also as base for the search inside of the new root
tree. If no PATH is set kiwi uses os.defpath which does
not take enough paths (e.g /usr/sbin) into account.
This commit makes sure we run kiwi with a proper PATH
setup.
@schaefi schaefi self-assigned this Jan 21, 2025
@schaefi schaefi merged commit 7795dd7 into main Jan 21, 2025
4 checks passed
@schaefi schaefi deleted the make_sure_to_run_with_path branch January 21, 2025 14:14
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