Commit c168e11
committed
ci: fix RPM path handling and add QEMU boot test
Fix missing --package rpm specification in CI workflow and add QEMU
boot testing to validate converted images.
Changes:
- build-rpm.yml: Export RPM path via GITHUB_OUTPUT for test step
- Makefile: Pass CRYPTPILOT_FDE_RPM to test-convert.sh via --rpm flag
- test-convert.sh: Add test_qemu_boot() function to verify images
boot correctly using QEMU container (ghcr.io/qemus/qemu)
- Tests for login prompt (success) or emergency shell (failure)
- 2-minute timeout for boot completion
- Full boot log output for debugging
Signed-off-by: Kun Lai <laikun@linux.alibaba.com>1 parent 76917cb commit c168e11
3 files changed
Lines changed: 206 additions & 69 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| 246 | + | |
246 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
247 | 252 | | |
248 | | - | |
| 253 | + | |
249 | 254 | | |
250 | 255 | | |
251 | 256 | | |
| |||
258 | 263 | | |
259 | 264 | | |
260 | 265 | | |
261 | | - | |
| 266 | + | |
262 | 267 | | |
263 | 268 | | |
264 | 269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
164 | | - | |
| 165 | + | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
168 | | - | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
0 commit comments