-
Notifications
You must be signed in to change notification settings - Fork 27
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
improve error handling #231
Conversation
because these are now covered by the error_handler
No need to use both, `eend 1` and `bailout 1`. In these cases, only `bailout 1` is sufficient.
only delete `$MNTPOINT` if such a folder actually exists
only delete `$MNTPOINT` if such a folder actually exists
because these are now covered by the new error handling method
INITRD=No is also supported by other scripts
because it will not always work will not work in cases where /dev etc is still mounted inside the chroot
This is now tested with |
This was used to build Kicksecure and Whonix VM images. Seems stable. No issues. |
This seems to break in some situations, example: https://github.com/zeha/grml-debootstrap/actions/runs/6906107865/job/18790415343 If you rebase this branch on top of current master, it should also get an actions pipeline. |
I created a branch |
Seems a lot easier to rebase using github "Resolve conflicts" button than what I did locally:
(Which is a 3 way diff using meld.) A lot things I resolved manually I was wondering why git failed to merge this automatically. Any hints for a better process? |
WIP
Not yet tested. Will test soon.
My commit messages are more explanatory for the reviewer than useful in the git history of the master branch.
Due the difficulty and extensive scope of these changes, I won't be able to split this into different logical sets of changes. It was so extensive, I had to randomly start somewhere and adjust it step by step for the new error handler.
I would suggest to squash all of these commits into a single commit since functionality wise hopefully nothing changed, just the error handling was improved and the code simplified.
Fixes #224