Skip to content

build: Handle case of previous build with no image.json in ostree#2886

Merged
dustymabe merged 1 commit intocoreos:mainfrom
cgwalters:buildprep-previous
Jun 1, 2022
Merged

build: Handle case of previous build with no image.json in ostree#2886
dustymabe merged 1 commit intocoreos:mainfrom
cgwalters:buildprep-previous

Conversation

@cgwalters
Copy link
Copy Markdown
Member

For now, we need to handle this. But I think we can switch
back to hard requiring it later, which will happen naturally
when we rework the build system to more cleanly separate
ostree container builds and disk image builds.

Closes: #2885

For now, we need to handle this.  But I think we can switch
back to hard requiring it later, which will happen naturally
when we rework the build system to more cleanly separate
ostree container builds and disk image builds.

Closes: coreos#2885
Copy link
Copy Markdown
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dustymabe dustymabe merged commit 4581cdf into coreos:main Jun 1, 2022
@cgwalters
Copy link
Copy Markdown
Member Author

OK exciting, CI failed on a different PR and it looks like this is racy:

[2022-06-01T19:40:11.613Z] FileNotFoundError: [Errno 2] No such file or directory: '/srv/tmp/image.json.tmp' -> '/srv/tmp/image.json'

Hmm, we may need to add locking here.

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

Successfully merging this pull request may close these issues.

error: No such file or directory: /usr/share/coreos-assembler

2 participants