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

Speedup and fix umount #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

douglas-raillard-arm
Copy link
Contributor

@douglas-raillard-arm douglas-raillard-arm commented Oct 12, 2021

closes #30 and #31

Skip some steps that are only needed the first time the chroot is
created.
Only unmount mount points starting but not equal to the root.

Fix alpinelinux#30
@jirutka
Copy link
Member

jirutka commented Mar 9, 2022

I merged the second commit, “Fix umount”, as 8f12e62. Thanks!

I don’t have time to review the first one right now, I’ll come back to it later.

@douglas-raillard-arm
Copy link
Contributor Author

Thanks, that was the most important one anyway. Since that PR I switched to a simple chroot based on the official minirootfs so I don't really need the speed boost anymore.

Doing something simiar for alpine-chroot-install would also fix that #27 and AFAICT it does not need some key setup shenanigan.

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.

Destroy script unmounting too much
2 participants