Commit 0ae92fe
Fix wine:i386 package install ordering on mingw build hosts
CFEngine evaluates packages before commands within a bundle. This
caused wine:i386 to fail because i386 architecture was not yet added
(dpkg --add-architecture runs in the commands section). The failure
cascaded to all other packages in the batch.
Guard wine:i386 with have_i386_architecture class so it is skipped
on the first cf-agent run. Add apt-get update (via depends_on) after
adding the architecture so the i386 package lists are available for
the second run.
Ticket: ENT-13766
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9e93cbc commit 0ae92fe
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | 70 | | |
| 71 | + | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
320 | 321 | | |
321 | 322 | | |
322 | 323 | | |
323 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
324 | 329 | | |
325 | 330 | | |
326 | 331 | | |
| |||
0 commit comments