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

buildextend-installer: error out early if missing src config #1034

Merged
merged 1 commit into from
Jan 10, 2020

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Jan 9, 2020

In FCOS, we're looking to drop the installer ISO in favour of the live
images:

coreos/fedora-coreos-tracker#203
coreos/fedora-coreos-config#261

AFAIK, RHCOS should be able to follow suit once the new
coreos-installer binary makes it there.

Until then though, rather than entirely drop support for building it, at
least check upfront that the installer/ directory exists so we don't
do a bunch of work for nothing.

@jlebon
Copy link
Member Author

jlebon commented Jan 9, 2020

We can entirely rip it out too... I went with the conservative approach so RHCOS doesn't have to carry that delta until it adopts the new installer.

@jlebon
Copy link
Member Author

jlebon commented Jan 9, 2020

(What's interesting is that os.walk(path_that_does_not_exist) ignores errors by default, which means that buildextend-installer runs to completion just fine. Except it doesn't have lots of the important files.)

Copy link
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, thanks @jlebon

In FCOS, we're looking to drop the installer ISO in favour of the live
images:

coreos/fedora-coreos-tracker#203
coreos/fedora-coreos-config#261

AFAIK, RHCOS should be able to follow suit once the new
coreos-installer binary makes it there.

Until then though, rather than entirely drop support for building it, at
least check upfront that the `installer/` directory exists so we don't
do a bunch of work for nothing.
@cgwalters
Copy link
Member

cgwalters commented Jan 10, 2020

Except it doesn't have lots of the important files.

I actually hit that case while working on FCOSB since I did the obvious stuff and symlinked the overlay.d but forgot about live.

@cgwalters cgwalters merged commit c59da51 into coreos:master Jan 10, 2020
jcajka pushed a commit to jcajka/coreos-assembler that referenced this pull request Mar 24, 2020
plume: handle non-existent fcos releases.json
@jlebon jlebon deleted the pr/installer-not-supported branch July 6, 2020 20:32
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.

3 participants