Commit b0da320
committed
Clear stale resource-metadata hubs before generating catalog
image-packer embeds the resource-metadata hubs, but the reloader used by
kmodules.xyz/resource-metadata shadows the embedded copies with
/tmp/hub/<hub> when those directories exist. A stale or empty leftover
there makes image-packer load nothing and emit a broken catalog, so
remove /tmp/hub before running.
The underlying reloader flaw is fixed upstream in gomodules.xyz/x
(gomodules/x#71); this guards catalog generation until that lands and
re-vendors.
Signed-off-by: Tamal Saha <tamal@appscode.com>1 parent 9840d9d commit b0da320
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
19 | 27 | | |
20 | 28 | | |
21 | 29 | | |
| |||
0 commit comments