Commit 3fffd2f
committed
fix(build): make vmlinux extraction mandatory for x86_64 and fix CI pipeline
GNU gzip 1.12+ (Ubuntu 24.04) returns exit 2 on trailing garbage after a
valid gzip stream in bzImage, killing extract-vmlinux.sh under pipefail.
macOS gunzip tolerates this, so the bug only manifests in CI. The original
kernel scripts/extract-vmlinux intentionally avoids strict mode for this
reason.
- extract-vmlinux.sh: add `|| true` to decompression pipeline so
decompressor trailing-data exits don't abort the script; caller still
validates output via PVH note check
- extract-kernel.sh: remove silent fallback to vmlinuz on failure; vmlinux
extraction or missing PVH note on x86_64 now fails the build (return 1)
- release.yml: add nullglob before zstd compression loop since vmlinux is
x86_64-only and the glob won't match for aarch64 artifacts1 parent 3fb0b19 commit 3fffd2f
3 files changed
Lines changed: 16 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
332 | 332 | | |
| 333 | + | |
333 | 334 | | |
334 | 335 | | |
335 | 336 | | |
| 337 | + | |
336 | 338 | | |
337 | 339 | | |
338 | 340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 147 | + | |
| 148 | + | |
159 | 149 | | |
| 150 | + | |
160 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments