-
Notifications
You must be signed in to change notification settings - Fork 169
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
create_disk: Use bootupd to install uefi if configured #1695
Conversation
One thing I went back and forth on is whether the If we e.g. implemented coreos/fedora-coreos-tracker#465 for |
Requires: coreos/fedora-coreos-config#595 |
I think I'm aligned with your thinking here with the caveaut that we have an option to let the user YOLO on it. My vote would be to have everything managed in
One of the reasons I'm excited about |
Right, but doing that kind of thing requires the equivalent of what dpkg/ostree/rpm do in understanding "this is a config file" versus "this is code", and tracking that in a database and implementing a policy like "only replace this if it wasn't modified" etc. Not seriously hard or anything, but a scope increase.
ostree is handling the bootloader configs today right? There's a PR for multiple initrds (as distinct from appended) here: ostreedev/ostree#2155 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So far so good 😃
0ca60ad
to
d64d9d2
Compare
OK just like coreos/fedora-coreos-config#595 I've redone this so we at least temporarily support both pre-bootupd and bootupd models. |
d64d9d2
to
9efeb0a
Compare
Changes look good, but we don't have
|
It looks like the coreos/fedora-coreos-config#595 (comment)
|
9efeb0a
to
2cd2b0c
Compare
This converts the EFI update directory from (rpm-)ostree specific layout to bootupd layout. Required for both initial provisioning with bootupd as well as later updates. Required by: coreos/coreos-assembler#1695
This converts the EFI update directory from (rpm-)ostree specific layout to bootupd layout. Required for both initial provisioning with bootupd as well as later updates. Required by: coreos/coreos-assembler#1695
This converts the EFI update directory from (rpm-)ostree specific layout to bootupd layout. Required for both initial provisioning with bootupd as well as later updates. Required by: coreos/coreos-assembler#1695
OK CI is failing in coreos/fedora-coreos-config#595 because it needs this...so we need to ratchet things by keeping the version of code here's that's conditional. |
2cd2b0c
to
255ccca
Compare
2a6feeb
to
7c7d60f
Compare
See https://github.com/coreos/bootupd and coreos/fedora-coreos-tracker#510 Basically in order to handle *updates*, bootupd also takes care of installation so that it knows the original version. In order to sanely "ratchet" this change, only use bootupd if we find the ostree deployment is using it.
7c7d60f
to
5633655
Compare
Makes sense to me. (CoreOS CI flake; restarted.) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ashcrow, cgwalters, jlebon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This converts the EFI update directory from (rpm-)ostree specific layout to bootupd layout. Required for both initial provisioning with bootupd as well as later updates. For now the `bootupd.socket` is disabled by default to further discourage users from trying it until we've fully productized it. This will be used by: coreos/coreos-assembler#1695
This converts the EFI update directory from (rpm-)ostree specific layout to bootupd layout. Required for both initial provisioning with bootupd as well as later updates. For now the `bootupd.socket` is disabled by default to further discourage users from trying it until we've fully productized it. This will be used by: coreos/coreos-assembler#1695
This converts the EFI update directory from (rpm-)ostree specific layout to bootupd layout. Required for both initial provisioning with bootupd as well as later updates. For now the `bootupd.socket` is disabled by default to further discourage users from trying it until we've fully productized it. This will be used by: coreos/coreos-assembler#1695
This converts the EFI update directory from (rpm-)ostree specific layout to bootupd layout. Required for both initial provisioning with bootupd as well as later updates. For now the `bootupd.socket` is disabled by default to further discourage users from trying it until we've fully productized it. This will be used by: coreos/coreos-assembler#1695
See https://github.com/coreos/bootupd
and coreos/fedora-coreos-tracker#510
Basically in order to handle updates, bootupd also
takes care of installation. For example this also generates a JSON
file with the versions.
In order to sanely "ratchet" this change, only use bootupd if
we find the ostree deployment is using it.