Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gracefully handle image.yaml only changes #244

Closed
jlebon opened this issue May 26, 2020 · 1 comment
Closed

Gracefully handle image.yaml only changes #244

jlebon opened this issue May 26, 2020 · 1 comment

Comments

@jlebon
Copy link
Member

jlebon commented May 26, 2020

Right now if the RPM input didn't change but image.yaml did, we error out like this:

error: Importing 5d7ec2a8c0a38dbf8e6ebbf04435d25393c3ba1b8c15b05990d63393cda97ec3.dirtree: linkat: No such file or directory

I think what's going on here is that cosa wants to build the image, but there is no local OSTree so it fails.

Ideally, what we'd do is detect this case and fetch the OSTree tarball from the previous release before continuing. In practice... this happens pretty rarely so it might not be worth handling this. At least for now though we should detect it and exit gracefully.

@cgwalters
Copy link
Member

Dup of coreos/coreos-assembler#972

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants