Commit 55bd808
committed
ostree/encapsulate: Support overriding platform (arch)
Currently the encapsulate code assumes it's generating
images that match the platform (os+arch) that's running.
However, for rpm-ostree we have a use case of performing
"rechunking" in a cross-architecture fashion. In the end
we don't run any code in that process, it's just manipulating
bits, so it's perfectly fine to operate cross-arch.
Allow passing in an override for the generated image platform
to facilitate this.
Signed-off-by: Colin Walters <[email protected]>1 parent 13f3cb5 commit 55bd808
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
194 | 199 | | |
195 | 200 | | |
196 | 201 | | |
| |||
269 | 274 | | |
270 | 275 | | |
271 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
272 | 284 | | |
273 | 285 | | |
274 | 286 | | |
| |||
277 | 289 | | |
278 | 290 | | |
279 | 291 | | |
280 | | - | |
| 292 | + | |
281 | 293 | | |
282 | 294 | | |
283 | 295 | | |
| |||
383 | 395 | | |
384 | 396 | | |
385 | 397 | | |
| 398 | + | |
| 399 | + | |
386 | 400 | | |
387 | 401 | | |
388 | 402 | | |
| |||
0 commit comments