| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
I was just reading code and found possible bug. If you find this not suitable fix, or you prefer issue created first I am happy to close it, or write an issue. |
Sorry, something went wrong.
|
Yes This |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Fix the kernel build helper scripts so Docker build failures are not masked by the following cleanup step.
Currently, if docker run fails, the scripts still run docker rm kernelbuild and can continue into package movement and repository update steps. In a forced-failure test this allowed the script to finish with exit code 0, even
though no package was built.
This change adds a small run_kernelbuild() wrapper that:
With set -euo pipefail, a failed Docker build now stops the script before package movement or repo update.
Changed scripts:
Note about set -euo pipefail
This enables stricter Bash error handling for the build helper scripts:
The important behavior for this fix is set -e: run_kernelbuild() returns the original docker run exit code, so a failed Docker build now stops the script before package movement or repo-manage-util update.