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

mount refactoring #38

Closed
stormc opened this issue Nov 14, 2017 · 1 comment
Closed

mount refactoring #38

stormc opened this issue Nov 14, 2017 · 1 comment

Comments

@stormc
Copy link
Contributor

stormc commented Nov 14, 2017

As bitbake/lib/bb/build.py's shell_trap_code() injects set -e into scripts, the premature end of scripts leaves dangling mounts around. This may be fixed by hooking into the EXIT trap handler also setup by shell_trap_code(). See the patch and discussion on the Mailing List for details.

Currently, by the patches sent to the Mailing List, dangling mount handling is local to the scripts. Eventually, a more thorough approach may be taken, e.g., based on this proposal using an "unmount stack".

@alexbluesman
Copy link
Contributor

Implemented via bitbake events.

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

No branches or pull requests

2 participants